Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to_domain doesn't do anything #87

Open
davidcsi opened this issue Nov 21, 2015 · 0 comments
Open

to_domain doesn't do anything #87

davidcsi opened this issue Nov 21, 2015 · 0 comments

Comments

@davidcsi
Copy link

Hello,

I'm testing with 0.7.2 and this version is supposed to take an argument:

@option options [String] :to_domain The SIP domain to address requests to. Defaults to the same as :destination.

And i created a yml with:


source: 10.0.160.3
to_domain: test.domain.com
destination: 1.2.3.4
max_concurrent: 1
calls_per_second: 1
transport_mode: tn
full_sipp_output: false
options: {
-trace_msg -message_file test_trace.log,
-trace_logs -log_file test_log.log,
-trace_shortmsg -shortmessage_file test_shortmsg.log,
-trace_err -error_file test_error.log
}
steps:
- register myuser password
- sleep 15

But REGISTERs are still going with the IP as the registrar:

REGISTER sip:1.2.3.4 SIP/2.0.
Via: SIP/2.0/TCP 10.0.160.3:8836;branch=z9hG4bK-26702-5-0.
From: sip:[email protected];tag=5.
To: sip:[email protected].

...

Whereas it should be:

REGISTER sip:test.domain.com SIP/2.0.
Via: SIP/2.0/TCP 10.0.160.3:8836;branch=z9hG4bK-26702-5-0.
From: sip:[email protected];tag=5.
To: sip:[email protected].

...

Is my config wrong?

Thanks for your help!

David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant