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

Open
jaimechieng opened this issue May 6, 2017 · 0 comments
Open

to_user or to not working #95

jaimechieng opened this issue May 6, 2017 · 0 comments

Comments

@jaimechieng
Copy link

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:

  • invite
  • wait_for_answer
  • ack_answer
  • sleep 240
  • hangup

[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

;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:

  • invite
  • wait_for_answer
  • ack_answer
  • sleep 240
  • hangup
    [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]# cat transcoded_call_test.xml
;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] ]]>
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