Skip to content

Commit

Permalink
Fix CSeq. Add test.pcap with actual voice that can be heard.
Browse files Browse the repository at this point in the history
  • Loading branch information
smititelu committed Jan 23, 2024
1 parent 30aab98 commit 2c034fb
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions sipp/defines
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ UAS_XML=uas.xml


################################## SIP/RTP ###################################
SRV_SIP_IP=192.168.100.57
SRV_SIP_PORT=50060
SRV_SIP_IP=X.X.X.X
SRV_SIP_PORT=5060

UAC_SIP_IP=192.168.100.3
UAC_SIP_IP=Y.Y.Y.Y
UAC_SIP_PORT=1110

UAS_SIP_IP=192.168.100.3
UAS_SIP_IP=Y.Y.Y.Y
UAS_SIP_PORT=2220

UAC_RTP_IP=192.168.100.3
UAC_RTP_IP=Y.Y.Y.Y
UAC_RTP_PORT_MIN=10000
UAC_RTP_PORT_MAX=11999

UAS_RTP_IP=192.168.100.3
UAS_RTP_IP=Y.Y.Y.Y
UAS_RTP_PORT_MIN=30000
UAS_RTP_PORT_MAX=31999
Binary file added sipp/xml/p2p_rtp/test.pcap
Binary file not shown.
2 changes: 1 addition & 1 deletion sipp/xml/p2p_rtp/uac.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
CSeq: [cseq] INVITE
Contact: <sip:[$uac_number]@[local_ip]:[local_port]>
Max-Forwards: 70
[authentication username="2999999999:[$uac_number]" password="[$uac_passwd]"]
[authentication username="[$uac_number]" password="[$uac_passwd]"]
Content-Type: application/sdp
AccountCode: stefan
Content-Length:[len]
Expand Down
4 changes: 2 additions & 2 deletions sipp/xml/reg/uac.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
From: [$uac_number] <sip:[$uac_number]@[$uac_domain]>;tag=[pid]
To: [$uac_number] <sip:[$uac_number]@[$uac_domain]>
Call-ID: [call_id]
CSeq: 1 REGISTER
CSeq: [cseq] REGISTER
Contact: <sip:[$uac_number]@[local_ip]:[local_port]>
Max-Forwards: 70
Subject: Performance Test
Expand Down Expand Up @@ -57,7 +57,7 @@
From: [$uac_number] <sip:[$uac_number]@[$uac_domain]>;tag=[pid]
To: [$uac_number] <sip:[$uac_number]@[$uac_domain]>
Call-ID: [call_id]
CSeq: 1 REGISTER
CSeq: [cseq] REGISTER
Contact: <sip:[$uac_number]@[local_ip]:[local_port]>
Max-Forwards: 70
[authentication username="[$uac_number]" password="[$uac_passwd]"]
Expand Down
4 changes: 2 additions & 2 deletions sipp/xml/reg/uas.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
From: [$uas_number] <sip:[$uas_number]@[$uas_domain]>;tag=[pid]
To: [$uas_number] <sip:[$uas_number]@[$uas_domain]>
Call-ID: [call_id]
CSeq: 1 REGISTER
CSeq: [cseq] REGISTER
Contact: [$uas_number] <sip:[$uas_number]@[local_ip]:[local_port]>
Max-Forwards: 70
Subject: Performance Test
Expand Down Expand Up @@ -57,7 +57,7 @@
From: [$uas_number] <sip:[$uas_number]@[$uas_domain]>;tag=[pid]
To: [$uas_number] <sip:[$uas_number]@[$uas_domain]>
Call-ID: [call_id]
CSeq: 1 REGISTER
CSeq: [cseq] REGISTER
Contact: [$uas_number] <sip:[$uas_number]@[local_ip]:[local_port]>
Max-Forwards: 70
[authentication username="[$uas_number]" password="[$uas_passwd]"]
Expand Down
4 changes: 2 additions & 2 deletions sipp/xml/reg_eph/uac.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
From: <sip:[$uac_number]@[$uac_domain]>;tag=[pid]
To: <sip:[$uac_number]@[$uac_domain]>
Call-ID: [call_id]
CSeq: 1 REGISTER
CSeq: [cseq] REGISTER
Contact: <sip:[$uac_number]@[local_ip]:[local_port]>
Max-Forwards: 70
Subject: Performance Test
Expand Down Expand Up @@ -57,7 +57,7 @@
From: <sip:[$uac_number]@[$uac_domain]>;tag=[pid]
To: <sip:[$uac_number]@[$uac_domain]>
Call-ID: [call_id]
CSeq: 1 REGISTER
CSeq: [cseq] REGISTER
Contact: <sip:[$uac_number]@[local_ip]:[local_port]>
Max-Forwards: 70
[authentication username="2999999999:[$uac_number]" password="[$uac_passwd]"]
Expand Down
4 changes: 2 additions & 2 deletions sipp/xml/reg_eph/uas.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
From: <sip:[$uas_number]@[$uas_domain]>;tag=[pid]
To: <sip:[$uas_number]@[$uas_domain]>
Call-ID: [call_id]
CSeq: 1 REGISTER
CSeq: [cseq] REGISTER
Contact: <sip:[$uas_number]@[local_ip]:[local_port]>
Max-Forwards: 70
Subject: Performance Test
Expand Down Expand Up @@ -57,7 +57,7 @@
From: <sip:[$uas_number]@[$uas_domain]>;tag=[pid]
To: <sip:[$uas_number]@[$uas_domain]>
Call-ID: [call_id]
CSeq: 1 REGISTER
CSeq: [cseq] REGISTER
Contact: <sip:[$uas_number]@[local_ip]:[local_port]>
Max-Forwards: 70
[authentication username="2999999999:[$uas_number]" password="[$uas_passwd]"]
Expand Down
4 changes: 2 additions & 2 deletions sipp/xml/sub/uac.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
From: [$uac_number] <sip:[$uac_number]@[$uac_domain]>;tag=[pid]
To: [$uac_number] <sip:[$uac_number]@[$uac_domain]>
Call-ID: [call_id]
CSeq: 1 SUBSCRIBE
CSeq: [cseq] SUBSCRIBE
Contact: <sip:[$uac_number]@[local_ip]:[local_port]>
Expires: 2000
Event: [custom_event]
Expand All @@ -49,7 +49,7 @@
From: [$uac_number] <sip:[$uac_number]@[$uac_domain]>;tag=[pid]
To: [$uac_number] <sip:[$uac_number]@[$uac_domain]>
Call-ID: [call_id]
CSeq: 2 SUBSCRIBE
CSeq: [cseq] SUBSCRIBE
Contact: <sip:[$uac_number]@[local_ip]:[local_port]>
Expires: 2000
Event: [custom_event]
Expand Down

0 comments on commit 2c034fb

Please sign in to comment.