Skip to content

to_domain doesn't do anything #87

@davidcsi

Description

@davidcsi

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:myuser@1.2.3.4;tag=5.
To: sip:myuser@1.2.3.4.

...

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:myuser@test.domain.com;tag=5.
To: sip:myuser@test.domain.com.

...

Is my config wrong?

Thanks for your help!

David

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions