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_user or to not working #95

Open jaimechieng opened 7 years ago

jaimechieng commented 7 years ago

https://github.com/mojolingo/sippy_cup Has it as: to

http://mojolingo.github.io/sippy_cup/ Has it as: to_user

Neither seem to work. See below.....

[root@utility1 examples]# cat transcoded_call_test.yml source: 172.21.0.20 destination: 172.21.3.8 max_concurrent: 1 calls_per_second: 1 number_of_calls: 1 from_user: 9545551234 to_user: 6787205023 steps:

[root@utility1 examples]# sippy_cup -c transcoded_call_test.yml Compiling media to /root/source/sipp/mojolingo-sippy_cup-540f657/examples/transcoded_call_test.pcap...done. Compiling scenario to /root/source/sipp/mojolingo-sippy_cup-540f657/examples/transcoded_call_test.xml...done. [root@utility1 examples]#

[root@utility1 examples]# cat transcoded_call_test.xml <?xml version="1.0"?>

;tag=[call_number] To: Call-ID: [call_id] CSeq: [cseq] INVITE Contact: Max-Forwards: 100 User-Agent: SIPp/sippy_cup Content-Type: application/sdp Content-Length: [len] v=0 o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] s=- c=IN IP[media_ip_type] [media_ip] t=0 0 m=audio [media_port] RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 ]]> ;tag=[call_number] To: [peer_tag_param] Call-ID: [call_id] CSeq: [cseq] ACK Contact: Max-Forwards: 100 User-Agent: SIPp/sippy_cup Content-Length: 0 [routes] ]]> ;tag=[call_number] To: [peer_tag_param] Call-ID: [call_id] CSeq: [cseq] ACK Contact: Max-Forwards: 100 User-Agent: SIPp/sippy_cup Content-Length: 0 [routes] ]]> ;tag=[call_number] To: ;tag=[$remote_tag] Contact: Call-ID: [call_id] CSeq: [cseq] BYE Max-Forwards: 100 User-Agent: SIPp/sippy_cup Content-Length: 0 [routes] ]]>

[root@utility1 examples]# cat transcoded_call_test.yml source: 172.21.0.20 destination: 172.21.3.8 max_concurrent: 1 calls_per_second: 1 number_of_calls: 1 from_user: 9545551234 to: 6787205023 steps:

v=0 o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] s=- c=IN IP[media_ip_type] [media_ip] t=0 0 m=audio [media_port] RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 ]]>

;tag=[call_number] To: [peer_tag_param] Call-ID: [call_id] CSeq: [cseq] ACK Contact: Max-Forwards: 100 User-Agent: SIPp/sippy_cup Content-Length: 0 [routes] ]]> ;tag=[call_number] To: [peer_tag_param] Call-ID: [call_id] CSeq: [cseq] ACK Contact: Max-Forwards: 100 User-Agent: SIPp/sippy_cup Content-Length: 0 [routes] ]]> ;tag=[call_number] To: ;tag=[$remote_tag] Contact: Call-ID: [call_id] CSeq: [cseq] BYE Max-Forwards: 100 User-Agent: SIPp/sippy_cup Content-Length: 0 [routes] ]]>