mojolingo / sippy_cup

Create SIP load test scenarios the easy way
http://mojolingo.github.io/sippy_cup
MIT License
218 stars 78 forks source link

to_domain doesn't do anything #87

Open davidcsi opened 8 years ago

davidcsi commented 8 years ago

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:

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