diff options
Diffstat (limited to 'test/decoders/sip/result')
15 files changed, 986 insertions, 0 deletions
diff --git a/test/decoders/sip/result/01-complete-dialog.json b/test/decoders/sip/result/01-complete-dialog.json new file mode 100644 index 0000000..a804264 --- /dev/null +++ b/test/decoders/sip/result/01-complete-dialog.json @@ -0,0 +1,82 @@ +[ + { + "bye": "originator", + "callid": "0seuMoGmE.gmmU16GkVbxuFRPNvkZK1m", + "cseq": "58 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "invite", + "ack", + "bye", + "bye" + ], + "method_rescode_array": [ + "invite", + "100", + "180", + "200", + "ack", + "bye", + "200" + ], + "originator_description": "\"13520407511\" <sip:[email protected]>;tag=aNoEhdOkv50IiTC2XG-ckdvPFl8Eglzv", + "originator_sdp": "v=0\r\no=- 3703802843 3703802843 IN IP4 202.43.148.166\r\ns=pjmedia\r\nb=AS:84\r\nt=0 0\r\na=X-nat:1\r\nm=audio 4000 RTP/AVP 0 8 104 96\r\nc=IN IP4 202.43.148.166\r\nb=TIAS:64000\r\na=rtcp:4001 IN IP4 202.43.148.166\r\na=sendrecv\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:104 iLBC/8000\r\na=fmtp:104 mode=30\r\na=rtpmap:96 telephone-event/8000\r\na=fmtp:96 0-16\r\n", + "originator_sdp_media_audio_port": 4000, + "originator_sdp_media_ip": "202.43.148.166", + "responder_description": "sip:[email protected]", + "responder_sdp": "v=0\r\no=- 3419 3419 IN IP4 139.129.211.227\r\ns=VOS3000\r\nc=IN IP4 139.129.211.227\r\nt=0 0\r\nm=audio 30790 RTP/AVP 0 101\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-15\r\na=sendrecv\r\n", + "responder_sdp_media_audio_port": 30790, + "responder_sdp_media_ip": "139.129.211.227", + "server": "VOS3000 V2.1.6.00", + "test_result": 1, + "tuple6": "202.43.148.166:5121-139.129.211.227:5060-17-0", + "user_agent": "MythCall iOS v2.5.5/armv7-apple-darwin_ios", + "via": "SIP/2.0/UDP 202.43.148.166:5121;rport;branch=z9hG4bKPjh06y0MA4Ef17KHi6coyNt.oYo6-A4MyU" + }, + { + "callid": "K2OSZB7cd5OTowdHoHTzzWyYX3fVqht8", + "cseq": "25461 SUBSCRIBE", + "method_cseq_array": [ + "subscribe", + "subscribe" + ], + "method_rescode_array": [ + "subscribe", + "405" + ], + "originator_description": "\"13520407511\" <sip:[email protected]>;tag=7-fTlqp68THG740NBxM8OLkda47k16qu", + "responder_description": "\"13520407511\" <sip:[email protected]>", + "test_result": 2, + "tuple6": "202.43.148.166:5121-139.129.211.227:5060-17-0", + "user_agent": "MythCall iOS v2.5.5/armv7-apple-darwin_ios", + "via": "SIP/2.0/UDP 202.43.148.166:5121;rport;branch=z9hG4bKPjXIeWmm7lDGeT3UHsc.p3fCuxl4G27jl8" + }, + { + "callid": "ylZwkyZFxejabfyj4X7G1b-KCCgKtdY.", + "cseq": "35307 REGISTER", + "method_cseq_array": [ + "register", + "register", + "register", + "register", + "register", + "register" + ], + "method_rescode_array": [ + "register", + "401", + "register", + "200", + "register", + "200" + ], + "originator_description": "\"13520407511\" <sip:[email protected]>;tag=.rmiME17Bwt1ATrRYlIcijQD4LN6g5xl", + "responder_description": "\"13520407511\" <sip:[email protected]>", + "test_result": 3, + "tuple6": "202.43.148.166:5121-139.129.211.227:5060-17-0", + "user_agent": "MythCall iOS v2.5.5/armv7-apple-darwin_ios", + "via": "SIP/2.0/UDP 202.43.148.166:5121;rport;branch=z9hG4bKPjgHErPqZEEe93p.FELmghVDsVzJwTLy3p" + } +] diff --git a/test/decoders/sip/result/02-complete-call.json b/test/decoders/sip/result/02-complete-call.json new file mode 100644 index 0000000..a377d56 --- /dev/null +++ b/test/decoders/sip/result/02-complete-call.json @@ -0,0 +1,40 @@ +[ + { + "bye": "responder", + "callid": "OGIzMzVkMDY0YTVmNzJmOWRmMGFjZWU4YjFlN2VlZGI.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "ack", + "invite", + "ack", + "bye", + "bye" + ], + "method_rescode_array": [ + "invite", + "100", + "200", + "ack", + "200", + "ack", + "bye", + "200" + ], + "originator_description": "\"test1\"<sip:[email protected]>;tag=fd34fa7d", + "originator_sdp": "v=0\r\no=- 6 2 IN IP4 192.168.36.97\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.36.97\r\nt=0 0\r\nm=audio 47782 RTP/AVP 0 8 18 101\r\na=alt:1 3 : 8rYKJy7Q suxCbgXp 192.168.48.1 47782\r\na=alt:2 2 : emfnqGoq LfzkM/Ar 192.168.237.1 47782\r\na=alt:3 1 : mE7OGFW5 0sJEvxvE 192.168.36.97 47782\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:BF8A71898AD64337A82CB51A63150F00\r\n", + "originator_sdp_media_audio_port": 47782, + "originator_sdp_media_ip": "192.168.36.97", + "responder_description": "\"[email protected]\"<sip:[email protected]>", + "responder_sdp": "v=0\r\no=CARRIER 1614051872 1614051872 IN IP4 80.239.235.113\r\ns=SIP Call\r\nc=IN IP4 80.239.235.113\r\nt=0 0\r\nm=audio 11446 RTP/AVP 0 101\r\na=rtpmap:0 pcmu/8000\r\na=rtpmap:101 telephone-event/8000\r\na=ptime:20\r\na=sendrecv\r\n", + "responder_sdp_media_audio_port": 11446, + "responder_sdp_media_ip": "80.239.235.113", + "server": "(Very nice Sip Registrar/Proxy Server)", + "test_result": 1, + "tuple6": "192.168.36.97:57326-77.72.169.134:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.36.97:57326;branch=z9hG4bK-d87543-1407230f4943213a-1--d87543-;rport" + } +] diff --git a/test/decoders/sip/result/03-complete-call-with-empty-line.json b/test/decoders/sip/result/03-complete-call-with-empty-line.json new file mode 100644 index 0000000..a377d56 --- /dev/null +++ b/test/decoders/sip/result/03-complete-call-with-empty-line.json @@ -0,0 +1,40 @@ +[ + { + "bye": "responder", + "callid": "OGIzMzVkMDY0YTVmNzJmOWRmMGFjZWU4YjFlN2VlZGI.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "ack", + "invite", + "ack", + "bye", + "bye" + ], + "method_rescode_array": [ + "invite", + "100", + "200", + "ack", + "200", + "ack", + "bye", + "200" + ], + "originator_description": "\"test1\"<sip:[email protected]>;tag=fd34fa7d", + "originator_sdp": "v=0\r\no=- 6 2 IN IP4 192.168.36.97\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.36.97\r\nt=0 0\r\nm=audio 47782 RTP/AVP 0 8 18 101\r\na=alt:1 3 : 8rYKJy7Q suxCbgXp 192.168.48.1 47782\r\na=alt:2 2 : emfnqGoq LfzkM/Ar 192.168.237.1 47782\r\na=alt:3 1 : mE7OGFW5 0sJEvxvE 192.168.36.97 47782\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:BF8A71898AD64337A82CB51A63150F00\r\n", + "originator_sdp_media_audio_port": 47782, + "originator_sdp_media_ip": "192.168.36.97", + "responder_description": "\"[email protected]\"<sip:[email protected]>", + "responder_sdp": "v=0\r\no=CARRIER 1614051872 1614051872 IN IP4 80.239.235.113\r\ns=SIP Call\r\nc=IN IP4 80.239.235.113\r\nt=0 0\r\nm=audio 11446 RTP/AVP 0 101\r\na=rtpmap:0 pcmu/8000\r\na=rtpmap:101 telephone-event/8000\r\na=ptime:20\r\na=sendrecv\r\n", + "responder_sdp_media_audio_port": 11446, + "responder_sdp_media_ip": "80.239.235.113", + "server": "(Very nice Sip Registrar/Proxy Server)", + "test_result": 1, + "tuple6": "192.168.36.97:57326-77.72.169.134:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.36.97:57326;branch=z9hG4bK-d87543-1407230f4943213a-1--d87543-;rport" + } +] diff --git a/test/decoders/sip/result/04-complete-call-with-proxy.json b/test/decoders/sip/result/04-complete-call-with-proxy.json new file mode 100644 index 0000000..06aafdb --- /dev/null +++ b/test/decoders/sip/result/04-complete-call-with-proxy.json @@ -0,0 +1,169 @@ +[ + { + "bye": "originator", + "callid": "ZDRjYWNhMzA5NDdmYzYzMGRmYTYwNmZmZGRmNzc3NTE.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "ack", + "invite", + "invite", + "invite", + "invite", + "ack", + "bye", + "bye" + ], + "method_rescode_array": [ + "invite", + "407", + "ack", + "invite", + "100", + "180", + "200", + "ack", + "bye", + "200" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=c42cde23", + "originator_sdp": "v=0\r\no=- 9 2 IN IP4 192.168.50.68\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.50.68\r\nt=0 0\r\nm=audio 49738 RTP/AVP 0 8 18 101\r\na=alt:1 3 : Ysbkrqav oetTILx7 169.254.7.194 49738\r\na=alt:2 2 : q9OOjmX8 Xlhn1oYR 169.254.48.65 49738\r\na=alt:3 1 : syl0IXfv afOOYd57 192.168.50.68 49738\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:354215C61E6B42BD809C4D740324B1F3\r\nm=video 57826 RTP/AVP 115 34\r\na=alt:1 3 : Yf1yx/VS PdYNr16U 169.254.7.194 57826\r\na=alt:2 2 : qsSkMBe/ IdJSK1LS 169.254.48.65 57826\r\na=alt:3 1 : liL1EzaT DfjzhxEr 192.168.50.68 57826\r\na=fmtp:115 QCIF=2 I=1 J=1 K=1 MaxBR=1960\r\na=fmtp:34 QCIF=2 MaxBR=1960\r\na=rtpmap:115 H263-1998/90000\r\na=rtpmap:34 H263/90000\r\na=sendrecv\r\na=x-rtp-session-id:D5988637AE9C4053A8E6E887BC3D270D\r\n", + "originator_sdp_media_audio_port": 49738, + "originator_sdp_media_ip": "192.168.50.68", + "originator_sdp_media_video_port": 57826, + "responder_description": "\"1038\"<sip:[email protected]:5060>", + "responder_sdp": "v=0\r\no=- 7 2 IN IP4 192.168.36.64\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.36.64\r\nt=0 0\r\nm=audio 52188 RTP/AVP 0 8 18 101\r\na=alt:1 1 : 4JPpFDvE mn5GwW8z 192.168.36.64 52188\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:70F70193B63E45C6A473B0D8B8B46665\r\nm=video 30090 RTP/AVP 115 34\r\na=alt:1 1 : x54MkCBj gaoyAbUY 192.168.36.64 30090\r\na=fmtp:115 QCIF=1 I=1 J=1 K=1 MaxBR=1960\r\na=fmtp:34 QCIF=1 MaxBR=1960\r\na=rtpmap:115 H263-1998/90000\r\na=rtpmap:34 H263/90000\r\na=sendrecv\r\na=x-rtp-session-id:F36E8B538BDB4748895486E45A9B9789\r\n", + "responder_sdp_media_audio_port": 52188, + "responder_sdp_media_ip": "192.168.36.64", + "responder_sdp_media_video_port": 30090, + "server": "OpenSIPS (2.4.9 (x86_64/linux))", + "test_result": 1, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:46442;branch=z9hG4bK-d87543-8e418f41137fcc2c-1--d87543-;rport" + }, + { + "bye": "originator", + "callid": "NzE3YzI0Y2U1NDFiZDRjYzk3NzgzOTEwODk4NWMyZTM.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "ack", + "invite", + "invite", + "ack", + "invite", + "invite", + "invite", + "ack", + "invite", + "ack", + "bye", + "bye" + ], + "method_rescode_array": [ + "invite", + "invite", + "407", + "ack", + "invite", + "407", + "ack", + "100", + "180", + "200", + "ack", + "200", + "ack", + "bye", + "200" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=ae361d01", + "originator_sdp": "v=0\r\no=- 2 2 IN IP4 192.168.50.68\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.50.68\r\nt=0 0\r\nm=audio 58256 RTP/AVP 0 8 18 101\r\na=alt:1 3 : Ukq6IWE+ sPXc/kpP 169.254.7.194 58256\r\na=alt:2 2 : 9Zzg2VLF Zk9CWytB 169.254.48.65 58256\r\na=alt:3 1 : 1PAMvtIf 4tJHWela 192.168.50.68 58256\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:96915E7B514C46E2AE550ED690392D51\r\nm=video 9582 RTP/AVP 115 34\r\na=alt:1 3 : jZqjg8B7 NAw32Thx 169.254.7.194 9582\r\na=alt:2 2 : rDZLEnot JbntDk1h 169.254.48.65 9582\r\na=alt:3 1 : k/ZVxfWw /zS8chaA 192.168.50.68 9582\r\na=fmtp:115 QCIF=2 I=1 J=1 K=1 MaxBR=1960\r\na=fmtp:34 QCIF=2 MaxBR=1960\r\na=rtpmap:115 H263-1998/90000\r\na=rtpmap:34 H263/90000\r\na=sendrecv\r\na=x-rtp-session-id:E673AB2155EF4EB98F107C828ECB14A1\r\n", + "originator_sdp_media_audio_port": 58256, + "originator_sdp_media_ip": "192.168.50.68", + "originator_sdp_media_video_port": 9582, + "responder_description": "\"1038\"<sip:[email protected]:5060>", + "responder_sdp": "v=0\r\no=- 9 2 IN IP4 192.168.36.64\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.36.64\r\nt=0 0\r\nm=audio 5998 RTP/AVP 0 8 18 101\r\na=alt:1 1 : YO/bnCGP kAri1zsb 192.168.36.64 5998\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:37C21754CB9D472EAA684A680B74553D\r\nm=video 53206 RTP/AVP 115 34\r\na=alt:1 1 : tPK4TpGl Mg6nG3cl 192.168.36.64 53206\r\na=fmtp:115 QCIF=1 I=1 J=1 K=1 MaxBR=1960\r\na=fmtp:34 QCIF=1 MaxBR=1960\r\na=rtpmap:115 H263-1998/90000\r\na=rtpmap:34 H263/90000\r\na=sendrecv\r\na=x-rtp-session-id:48CBA905D47E495096455E3778CE42AE\r\n", + "responder_sdp_media_audio_port": 5998, + "responder_sdp_media_ip": "192.168.36.64", + "responder_sdp_media_video_port": 53206, + "server": "OpenSIPS (2.4.9 (x86_64/linux))", + "test_result": 2, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:46442;branch=z9hG4bK-d87543-a07f874b220a3b05-1--d87543-;rport" + }, + { + "callid": "M2NhN2I0NzBkZjFhMTkwMDIxODk1YjllN2ZiZTk5ZDI.", + "cseq": "1 SUBSCRIBE", + "method_cseq_array": [ + "subscribe", + "subscribe", + "subscribe", + "subscribe" + ], + "method_rescode_array": [ + "subscribe", + "407", + "subscribe", + "503" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=8542a020", + "responder_description": "\"1032\"<sip:[email protected]:5060>", + "server": "OpenSIPS (2.4.9 (x86_64/linux))", + "test_result": 3, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:46442;branch=z9hG4bK-d87543-823a494ec8173d67-1--d87543-;rport" + }, + { + "callid": "ZDU0NGVmN2UyZWU2ZjFkN2E2NzZkMzczZDE4NTQ1OGQ.", + "cseq": "1 SUBSCRIBE", + "method_cseq_array": [ + "subscribe", + "subscribe", + "subscribe", + "subscribe" + ], + "method_rescode_array": [ + "subscribe", + "407", + "subscribe", + "503" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=d13ff607", + "responder_description": "\"1032\"<sip:[email protected]:5060>", + "server": "OpenSIPS (2.4.9 (x86_64/linux))", + "test_result": 4, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:46442;branch=z9hG4bK-d87543-a93d19660e74c136-1--d87543-;rport" + }, + { + "callid": "NTIwM2RmMjQyNmU1NTNiODZhYWU0MjRhN2JhMTc0NTU.", + "cseq": "1 SUBSCRIBE", + "method_cseq_array": [ + "subscribe", + "subscribe", + "subscribe", + "subscribe" + ], + "method_rescode_array": [ + "subscribe", + "407", + "subscribe", + "503" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=2721a84d", + "responder_description": "\"1032\"<sip:[email protected]:5060>", + "server": "OpenSIPS (2.4.9 (x86_64/linux))", + "test_result": 5, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:46442;branch=z9hG4bK-d87543-e6750a38d852cc14-1--d87543-;rport" + } +] diff --git a/test/decoders/sip/result/05-complete-call-with-two-dir-invite.json b/test/decoders/sip/result/05-complete-call-with-two-dir-invite.json new file mode 100644 index 0000000..aa6adb4 --- /dev/null +++ b/test/decoders/sip/result/05-complete-call-with-two-dir-invite.json @@ -0,0 +1,77 @@ +[ + { + "bye": "responder", + "callid": "YTcwNjg2OTQ3MWFhZTI2MDg1MDRkMzQ5NmMyMjJmOWE.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "ack", + "invite", + "invite", + "invite", + "invite", + "ack", + "bye", + "bye" + ], + "method_rescode_array": [ + "invite", + "407", + "ack", + "invite", + "100", + "180", + "200", + "ack", + "bye", + "200" + ], + "originator_description": "\"1030\"<sip:[email protected]:5060>;tag=98737c0c", + "originator_sdp": "v=0\r\no=- 4 2 IN IP4 192.168.36.97\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.36.97\r\nt=0 0\r\nm=audio 52056 RTP/AVP 0 8 18 101\r\na=alt:1 3 : opd9/sgt Vr8Ttk83 192.168.48.1 52056\r\na=alt:2 2 : iugt0GCV dN9UXXXx 192.168.237.1 52056\r\na=alt:3 1 : JautfEUw 92B0OZ+j 192.168.36.97 52056\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:FDCC9EBB233B4AC4B793D4D25490D806\r\n", + "originator_sdp_media_audio_port": 52056, + "originator_sdp_media_ip": "192.168.36.97", + "responder_description": "\"1032\"<sip:[email protected]:5060>", + "responder_sdp": "v=0\r\no=- 4 2 IN IP4 192.168.50.68\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.50.68\r\nt=0 0\r\nm=audio 4944 RTP/AVP 0 8 18 101\r\na=alt:1 3 : lb0y6UiS dvaqGd2D 169.254.7.194 4944\r\na=alt:2 2 : IQWKr5N7 P24M3b1e 169.254.48.65 4944\r\na=alt:3 1 : qby+cteH PvMOdORy 192.168.50.68 4944\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:38935D9859634191BBD2008170E8F73C\r\n", + "responder_sdp_media_audio_port": 4944, + "responder_sdp_media_ip": "192.168.50.68", + "server": "OpenSIPS (2.4.9 (x86_64/linux))", + "test_result": 1, + "tuple6": "192.168.36.97:47381-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.36.97:47381;branch=z9hG4bK-d87543-f56d9c03de4b2227-1--d87543-;rport" + }, + { + "bye": "responder", + "callid": "NGNkNjE0MjQ1MjI4NjdjNmE3Y2QwZDY4NjI2MDEzZjQ.", + "cseq": "2 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "ack", + "bye", + "bye" + ], + "method_rescode_array": [ + "invite", + "180", + "200", + "ack", + "bye", + "200" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=324c8154", + "originator_sdp": "v=0\r\no=- 4 2 IN IP4 192.168.50.68\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.50.68\r\nt=0 0\r\nm=audio 16160 RTP/AVP 0 8 18 101\r\na=alt:1 3 : VCBMZzkP KIWmfyDw 169.254.7.194 16160\r\na=alt:2 2 : z92C5YbS M5WgnYQj 169.254.48.65 16160\r\na=alt:3 1 : gfcoHYdt OJI5tsZv 192.168.50.68 16160\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:699FA8B13B374E1993D24CCD808EF1AA\r\n", + "originator_sdp_media_audio_port": 16160, + "originator_sdp_media_ip": "192.168.50.68", + "responder_description": "\"1030\"<sip:[email protected]:5060>", + "responder_sdp": "v=0\r\no=- 4 2 IN IP4 192.168.36.97\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.36.97\r\nt=0 0\r\nm=audio 11208 RTP/AVP 0 8 18 101\r\na=alt:1 3 : p4Bf9q5H usALR/9g 192.168.48.1 11208\r\na=alt:2 2 : YUymdXru IDtVTg0Q 192.168.237.1 11208\r\na=alt:3 1 : C4MpNfxr ommU+2Le 192.168.36.97 11208\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:91B98646E59C4F679B4A971700660509\r\n", + "responder_sdp_media_audio_port": 11208, + "responder_sdp_media_ip": "192.168.36.97", + "test_result": 2, + "tuple6": "192.168.36.97:47381-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:7537;received=192.168.50.68;branch=z9hG4bK-d87543-0f67d1484d39436e-1--d87543-;rport=7537" + } +] diff --git a/test/decoders/sip/result/06-complete-call-on-tcp.json b/test/decoders/sip/result/06-complete-call-on-tcp.json new file mode 100644 index 0000000..dcfcfb9 --- /dev/null +++ b/test/decoders/sip/result/06-complete-call-on-tcp.json @@ -0,0 +1,38 @@ +[ + { + "bye": "responder", + "callid": "[email protected]", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "invite", + "ack", + "bye", + "bye" + ], + "method_rescode_array": [ + "invite", + "100", + "180", + "200", + "ack", + "bye", + "200" + ], + "originator_description": "<sip:[email protected]>;tag=1c1589367133", + "originator_sdp": "v=0\r\no=IPP 1589356486 1589356361 IN IP4 10.33.6.100\r\ns=Phone-Call\r\nc=IN IP4 10.33.6.100\r\nt=0 0\r\nm=audio 6000 RTP/AVP 8 13 101\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-15,16\r\na=ptime:20\r\na=sendrecv\r\n", + "originator_sdp_media_audio_port": 6000, + "originator_sdp_media_ip": "10.33.6.100", + "responder_description": "<sip:[email protected];user=phone>", + "responder_sdp": "v=0\r\no=GW 343007640 343007510 IN IP4 10.33.6.101\r\ns=Phone-Call\r\nc=IN IP4 10.33.6.101\r\nt=0 0\r\nm=audio 6050 RTP/AVP 8 13 101\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-15,16\r\na=ptime:20\r\na=sendrecv\r\n", + "responder_sdp_media_audio_port": 6050, + "responder_sdp_media_ip": "10.33.6.101", + "server": "GW/v.6.20A.027.012", + "test_result": 1, + "tuple6": "10.33.6.100:64802-10.33.6.101:5060-6-0", + "user_agent": "IPP/v.6.20A.027.012", + "via": "SIP/2.0/TCP 10.33.6.100;branch=z9hG4bKac1589375893;alias" + } +] diff --git a/test/decoders/sip/result/07-c2s-complete-dialog.json b/test/decoders/sip/result/07-c2s-complete-dialog.json new file mode 100644 index 0000000..62aa1e5 --- /dev/null +++ b/test/decoders/sip/result/07-c2s-complete-dialog.json @@ -0,0 +1,62 @@ +[ + { + "bye": "originator", + "callid": "0seuMoGmE.gmmU16GkVbxuFRPNvkZK1m", + "cseq": "58 INVITE", + "method_cseq_array": [ + "invite", + "ack", + "bye" + ], + "method_rescode_array": [ + "invite", + "ack", + "bye" + ], + "originator_description": "\"13520407511\" <sip:[email protected]>;tag=aNoEhdOkv50IiTC2XG-ckdvPFl8Eglzv", + "originator_sdp": "v=0\r\no=- 3703802843 3703802843 IN IP4 202.43.148.166\r\ns=pjmedia\r\nb=AS:84\r\nt=0 0\r\na=X-nat:1\r\nm=audio 4000 RTP/AVP 0 8 104 96\r\nc=IN IP4 202.43.148.166\r\nb=TIAS:64000\r\na=rtcp:4001 IN IP4 202.43.148.166\r\na=sendrecv\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:104 iLBC/8000\r\na=fmtp:104 mode=30\r\na=rtpmap:96 telephone-event/8000\r\na=fmtp:96 0-16\r\n", + "originator_sdp_media_audio_port": 4000, + "originator_sdp_media_ip": "202.43.148.166", + "responder_description": "sip:[email protected]", + "test_result": 1, + "tuple6": "202.43.148.166:5121-139.129.211.227:5060-17-0", + "user_agent": "MythCall iOS v2.5.5/armv7-apple-darwin_ios", + "via": "SIP/2.0/UDP 202.43.148.166:5121;rport;branch=z9hG4bKPjh06y0MA4Ef17KHi6coyNt.oYo6-A4MyU" + }, + { + "callid": "K2OSZB7cd5OTowdHoHTzzWyYX3fVqht8", + "cseq": "25461 SUBSCRIBE", + "method_cseq_array": [ + "subscribe" + ], + "method_rescode_array": [ + "subscribe" + ], + "originator_description": "\"13520407511\" <sip:[email protected]>;tag=7-fTlqp68THG740NBxM8OLkda47k16qu", + "responder_description": "\"13520407511\" <sip:[email protected]>", + "test_result": 2, + "tuple6": "202.43.148.166:5121-139.129.211.227:5060-17-0", + "user_agent": "MythCall iOS v2.5.5/armv7-apple-darwin_ios", + "via": "SIP/2.0/UDP 202.43.148.166:5121;rport;branch=z9hG4bKPjXIeWmm7lDGeT3UHsc.p3fCuxl4G27jl8" + }, + { + "callid": "ylZwkyZFxejabfyj4X7G1b-KCCgKtdY.", + "cseq": "35307 REGISTER", + "method_cseq_array": [ + "register", + "register", + "register" + ], + "method_rescode_array": [ + "register", + "register", + "register" + ], + "originator_description": "\"13520407511\" <sip:[email protected]>;tag=.rmiME17Bwt1ATrRYlIcijQD4LN6g5xl", + "responder_description": "\"13520407511\" <sip:[email protected]>", + "test_result": 3, + "tuple6": "202.43.148.166:5121-139.129.211.227:5060-17-0", + "user_agent": "MythCall iOS v2.5.5/armv7-apple-darwin_ios", + "via": "SIP/2.0/UDP 202.43.148.166:5121;rport;branch=z9hG4bKPjgHErPqZEEe93p.FELmghVDsVzJwTLy3p" + } +] diff --git a/test/decoders/sip/result/08-c2s-complete-call.json b/test/decoders/sip/result/08-c2s-complete-call.json new file mode 100644 index 0000000..f95dbc5 --- /dev/null +++ b/test/decoders/sip/result/08-c2s-complete-call.json @@ -0,0 +1,28 @@ +[ + { + "bye": "responder", + "callid": "OGIzMzVkMDY0YTVmNzJmOWRmMGFjZWU4YjFlN2VlZGI.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "ack", + "ack", + "bye" + ], + "method_rescode_array": [ + "invite", + "ack", + "ack", + "200" + ], + "originator_description": "\"test1\"<sip:[email protected]>;tag=fd34fa7d", + "originator_sdp": "v=0\r\no=- 6 2 IN IP4 192.168.36.97\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.36.97\r\nt=0 0\r\nm=audio 47782 RTP/AVP 0 8 18 101\r\na=alt:1 3 : 8rYKJy7Q suxCbgXp 192.168.48.1 47782\r\na=alt:2 2 : emfnqGoq LfzkM/Ar 192.168.237.1 47782\r\na=alt:3 1 : mE7OGFW5 0sJEvxvE 192.168.36.97 47782\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:BF8A71898AD64337A82CB51A63150F00\r\n", + "originator_sdp_media_audio_port": 47782, + "originator_sdp_media_ip": "192.168.36.97", + "responder_description": "\"[email protected]\"<sip:[email protected]>", + "test_result": 1, + "tuple6": "192.168.36.97:57326-77.72.169.134:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.36.97:57326;branch=z9hG4bK-d87543-1407230f4943213a-1--d87543-;rport" + } +] diff --git a/test/decoders/sip/result/09-c2s-complete-call-with-proxy.json b/test/decoders/sip/result/09-c2s-complete-call-with-proxy.json new file mode 100644 index 0000000..a3bc498 --- /dev/null +++ b/test/decoders/sip/result/09-c2s-complete-call-with-proxy.json @@ -0,0 +1,120 @@ +[ + { + "bye": "originator", + "callid": "ZDRjYWNhMzA5NDdmYzYzMGRmYTYwNmZmZGRmNzc3NTE.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "ack", + "invite", + "ack", + "bye" + ], + "method_rescode_array": [ + "invite", + "ack", + "invite", + "ack", + "bye" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=c42cde23", + "originator_sdp": "v=0\r\no=- 9 2 IN IP4 192.168.50.68\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.50.68\r\nt=0 0\r\nm=audio 49738 RTP/AVP 0 8 18 101\r\na=alt:1 3 : Ysbkrqav oetTILx7 169.254.7.194 49738\r\na=alt:2 2 : q9OOjmX8 Xlhn1oYR 169.254.48.65 49738\r\na=alt:3 1 : syl0IXfv afOOYd57 192.168.50.68 49738\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:354215C61E6B42BD809C4D740324B1F3\r\nm=video 57826 RTP/AVP 115 34\r\na=alt:1 3 : Yf1yx/VS PdYNr16U 169.254.7.194 57826\r\na=alt:2 2 : qsSkMBe/ IdJSK1LS 169.254.48.65 57826\r\na=alt:3 1 : liL1EzaT DfjzhxEr 192.168.50.68 57826\r\na=fmtp:115 QCIF=2 I=1 J=1 K=1 MaxBR=1960\r\na=fmtp:34 QCIF=2 MaxBR=1960\r\na=rtpmap:115 H263-1998/90000\r\na=rtpmap:34 H263/90000\r\na=sendrecv\r\na=x-rtp-session-id:D5988637AE9C4053A8E6E887BC3D270D\r\n", + "originator_sdp_media_audio_port": 49738, + "originator_sdp_media_ip": "192.168.50.68", + "originator_sdp_media_video_port": 57826, + "responder_description": "\"1038\"<sip:[email protected]:5060>", + "test_result": 1, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:46442;branch=z9hG4bK-d87543-8e418f41137fcc2c-1--d87543-;rport" + }, + { + "bye": "originator", + "callid": "NzE3YzI0Y2U1NDFiZDRjYzk3NzgzOTEwODk4NWMyZTM.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "ack", + "invite", + "ack", + "ack", + "ack", + "bye" + ], + "method_rescode_array": [ + "invite", + "invite", + "ack", + "invite", + "ack", + "ack", + "ack", + "bye" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=ae361d01", + "originator_sdp": "v=0\r\no=- 2 2 IN IP4 192.168.50.68\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.50.68\r\nt=0 0\r\nm=audio 58256 RTP/AVP 0 8 18 101\r\na=alt:1 3 : Ukq6IWE+ sPXc/kpP 169.254.7.194 58256\r\na=alt:2 2 : 9Zzg2VLF Zk9CWytB 169.254.48.65 58256\r\na=alt:3 1 : 1PAMvtIf 4tJHWela 192.168.50.68 58256\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:96915E7B514C46E2AE550ED690392D51\r\nm=video 9582 RTP/AVP 115 34\r\na=alt:1 3 : jZqjg8B7 NAw32Thx 169.254.7.194 9582\r\na=alt:2 2 : rDZLEnot JbntDk1h 169.254.48.65 9582\r\na=alt:3 1 : k/ZVxfWw /zS8chaA 192.168.50.68 9582\r\na=fmtp:115 QCIF=2 I=1 J=1 K=1 MaxBR=1960\r\na=fmtp:34 QCIF=2 MaxBR=1960\r\na=rtpmap:115 H263-1998/90000\r\na=rtpmap:34 H263/90000\r\na=sendrecv\r\na=x-rtp-session-id:E673AB2155EF4EB98F107C828ECB14A1\r\n", + "originator_sdp_media_audio_port": 58256, + "originator_sdp_media_ip": "192.168.50.68", + "originator_sdp_media_video_port": 9582, + "responder_description": "\"1038\"<sip:[email protected]:5060>", + "test_result": 2, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:46442;branch=z9hG4bK-d87543-a07f874b220a3b05-1--d87543-;rport" + }, + { + "callid": "M2NhN2I0NzBkZjFhMTkwMDIxODk1YjllN2ZiZTk5ZDI.", + "cseq": "1 SUBSCRIBE", + "method_cseq_array": [ + "subscribe", + "subscribe" + ], + "method_rescode_array": [ + "subscribe", + "subscribe" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=8542a020", + "responder_description": "\"1032\"<sip:[email protected]:5060>", + "test_result": 3, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:46442;branch=z9hG4bK-d87543-823a494ec8173d67-1--d87543-;rport" + }, + { + "callid": "ZDU0NGVmN2UyZWU2ZjFkN2E2NzZkMzczZDE4NTQ1OGQ.", + "cseq": "1 SUBSCRIBE", + "method_cseq_array": [ + "subscribe", + "subscribe" + ], + "method_rescode_array": [ + "subscribe", + "subscribe" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=d13ff607", + "responder_description": "\"1032\"<sip:[email protected]:5060>", + "test_result": 4, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:46442;branch=z9hG4bK-d87543-a93d19660e74c136-1--d87543-;rport" + }, + { + "callid": "NTIwM2RmMjQyNmU1NTNiODZhYWU0MjRhN2JhMTc0NTU.", + "cseq": "1 SUBSCRIBE", + "method_cseq_array": [ + "subscribe", + "subscribe" + ], + "method_rescode_array": [ + "subscribe", + "subscribe" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=2721a84d", + "responder_description": "\"1032\"<sip:[email protected]:5060>", + "test_result": 5, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:46442;branch=z9hG4bK-d87543-e6750a38d852cc14-1--d87543-;rport" + } +] diff --git a/test/decoders/sip/result/10-s2c-complete-dialog.json b/test/decoders/sip/result/10-s2c-complete-dialog.json new file mode 100644 index 0000000..d3ca04e --- /dev/null +++ b/test/decoders/sip/result/10-s2c-complete-dialog.json @@ -0,0 +1,62 @@ +[ + { + "bye": "originator", + "callid": "0seuMoGmE.gmmU16GkVbxuFRPNvkZK1m", + "cseq": "58 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "bye" + ], + "method_rescode_array": [ + "100", + "180", + "200", + "200" + ], + "originator_description": "\"13520407511\" <sip:[email protected]>;tag=aNoEhdOkv50IiTC2XG-ckdvPFl8Eglzv", + "responder_description": "sip:[email protected];tag=4d6ca6e64d83babb", + "responder_sdp": "v=0\r\no=- 3419 3419 IN IP4 139.129.211.227\r\ns=VOS3000\r\nc=IN IP4 139.129.211.227\r\nt=0 0\r\nm=audio 30790 RTP/AVP 0 101\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-15\r\na=sendrecv\r\n", + "responder_sdp_media_audio_port": 30790, + "responder_sdp_media_ip": "139.129.211.227", + "server": "VOS3000 V2.1.6.00", + "test_result": 1, + "tuple6": "202.43.148.166:5121-139.129.211.227:5060-17-0", + "via": "SIP/2.0/UDP 202.43.148.166:5121;received=202.43.148.166;rport=5121;branch=z9hG4bKPjh06y0MA4Ef17KHi6coyNt.oYo6-A4MyU" + }, + { + "callid": "K2OSZB7cd5OTowdHoHTzzWyYX3fVqht8", + "cseq": "25461 SUBSCRIBE", + "method_cseq_array": [ + "subscribe" + ], + "method_rescode_array": [ + "405" + ], + "originator_description": "\"13520407511\" <sip:[email protected]>;tag=7-fTlqp68THG740NBxM8OLkda47k16qu", + "responder_description": "\"13520407511\" <sip:[email protected]>", + "test_result": 2, + "tuple6": "202.43.148.166:5121-139.129.211.227:5060-17-0", + "via": "SIP/2.0/UDP 202.43.148.166:5121;received=202.43.148.166;rport=5121;branch=z9hG4bKPjXIeWmm7lDGeT3UHsc.p3fCuxl4G27jl8" + }, + { + "callid": "ylZwkyZFxejabfyj4X7G1b-KCCgKtdY.", + "cseq": "35307 REGISTER", + "method_cseq_array": [ + "register", + "register", + "register" + ], + "method_rescode_array": [ + "401", + "200", + "200" + ], + "originator_description": "\"13520407511\" <sip:[email protected]>;tag=.rmiME17Bwt1ATrRYlIcijQD4LN6g5xl", + "responder_description": "\"13520407511\" <sip:[email protected]>", + "test_result": 3, + "tuple6": "202.43.148.166:5121-139.129.211.227:5060-17-0", + "via": "SIP/2.0/UDP 202.43.148.166:5121;received=202.43.148.166;rport=5121;branch=z9hG4bKPjgHErPqZEEe93p.FELmghVDsVzJwTLy3p" + } +] diff --git a/test/decoders/sip/result/11-s2c-complete-call.json b/test/decoders/sip/result/11-s2c-complete-call.json new file mode 100644 index 0000000..c885337 --- /dev/null +++ b/test/decoders/sip/result/11-s2c-complete-call.json @@ -0,0 +1,28 @@ +[ + { + "bye": "responder", + "callid": "OGIzMzVkMDY0YTVmNzJmOWRmMGFjZWU4YjFlN2VlZGI.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "bye" + ], + "method_rescode_array": [ + "100", + "200", + "200", + "bye" + ], + "originator_description": "\"test1\" <sip:[email protected]>;tag=fd34fa7d", + "responder_description": "\"[email protected]\" <sip:[email protected]>", + "responder_sdp": "v=0\r\no=CARRIER 1614051872 1614051872 IN IP4 80.239.235.113\r\ns=SIP Call\r\nc=IN IP4 80.239.235.113\r\nt=0 0\r\nm=audio 11446 RTP/AVP 0 101\r\na=rtpmap:0 pcmu/8000\r\na=rtpmap:101 telephone-event/8000\r\na=ptime:20\r\na=sendrecv\r\n", + "responder_sdp_media_audio_port": 11446, + "responder_sdp_media_ip": "80.239.235.113", + "server": "(Very nice Sip Registrar/Proxy Server)", + "test_result": 1, + "tuple6": "192.168.36.97:57326-77.72.169.134:5060-17-0", + "via": "SIP/2.0/UDP 192.168.36.97:57326;branch=z9hG4bK-d87543-1407230f4943213a-1--d87543-;rport" + } +] diff --git a/test/decoders/sip/result/12-s2c-complete-call-with-proxy.json b/test/decoders/sip/result/12-s2c-complete-call-with-proxy.json new file mode 100644 index 0000000..aef3ca9 --- /dev/null +++ b/test/decoders/sip/result/12-s2c-complete-call-with-proxy.json @@ -0,0 +1,120 @@ +[ + { + "bye": "originator", + "callid": "ZDRjYWNhMzA5NDdmYzYzMGRmYTYwNmZmZGRmNzc3NTE.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "invite", + "bye" + ], + "method_rescode_array": [ + "407", + "100", + "180", + "200", + "200" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=c42cde23", + "responder_description": "\"1038\"<sip:[email protected]:5060>;tag=846d.8319acc87f795d6fad5326ce040af11e", + "responder_sdp": "v=0\r\no=- 7 2 IN IP4 192.168.36.64\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.36.64\r\nt=0 0\r\nm=audio 52188 RTP/AVP 0 8 18 101\r\na=alt:1 1 : 4JPpFDvE mn5GwW8z 192.168.36.64 52188\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:70F70193B63E45C6A473B0D8B8B46665\r\nm=video 30090 RTP/AVP 115 34\r\na=alt:1 1 : x54MkCBj gaoyAbUY 192.168.36.64 30090\r\na=fmtp:115 QCIF=1 I=1 J=1 K=1 MaxBR=1960\r\na=fmtp:34 QCIF=1 MaxBR=1960\r\na=rtpmap:115 H263-1998/90000\r\na=rtpmap:34 H263/90000\r\na=sendrecv\r\na=x-rtp-session-id:F36E8B538BDB4748895486E45A9B9789\r\n", + "responder_sdp_media_audio_port": 52188, + "responder_sdp_media_ip": "192.168.36.64", + "responder_sdp_media_video_port": 30090, + "server": "OpenSIPS (2.4.9 (x86_64/linux))", + "test_result": 1, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:46442;received=192.168.50.68;branch=z9hG4bK-d87543-8e418f41137fcc2c-1--d87543-;rport=46442" + }, + { + "bye": "originator", + "callid": "NzE3YzI0Y2U1NDFiZDRjYzk3NzgzOTEwODk4NWMyZTM.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "invite", + "invite", + "invite", + "bye" + ], + "method_rescode_array": [ + "407", + "407", + "100", + "180", + "200", + "200", + "200" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=ae361d01", + "responder_description": "\"1038\"<sip:[email protected]:5060>;tag=846d.c35a95d5b0841928748f572e5080cd90", + "responder_sdp": "v=0\r\no=- 9 2 IN IP4 192.168.36.64\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.36.64\r\nt=0 0\r\nm=audio 5998 RTP/AVP 0 8 18 101\r\na=alt:1 1 : YO/bnCGP kAri1zsb 192.168.36.64 5998\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:37C21754CB9D472EAA684A680B74553D\r\nm=video 53206 RTP/AVP 115 34\r\na=alt:1 1 : tPK4TpGl Mg6nG3cl 192.168.36.64 53206\r\na=fmtp:115 QCIF=1 I=1 J=1 K=1 MaxBR=1960\r\na=fmtp:34 QCIF=1 MaxBR=1960\r\na=rtpmap:115 H263-1998/90000\r\na=rtpmap:34 H263/90000\r\na=sendrecv\r\na=x-rtp-session-id:48CBA905D47E495096455E3778CE42AE\r\n", + "responder_sdp_media_audio_port": 5998, + "responder_sdp_media_ip": "192.168.36.64", + "responder_sdp_media_video_port": 53206, + "server": "OpenSIPS (2.4.9 (x86_64/linux))", + "test_result": 2, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.50.68:46442;received=192.168.50.68;branch=z9hG4bK-d87543-a07f874b220a3b05-1--d87543-;rport=46442" + }, + { + "callid": "M2NhN2I0NzBkZjFhMTkwMDIxODk1YjllN2ZiZTk5ZDI.", + "cseq": "1 SUBSCRIBE", + "method_cseq_array": [ + "subscribe", + "subscribe" + ], + "method_rescode_array": [ + "407", + "503" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=8542a020", + "responder_description": "\"1032\"<sip:[email protected]:5060>;tag=846d.d4c07ec1dcdf1c8bd9f604e4c7a80ae7", + "server": "OpenSIPS (2.4.9 (x86_64/linux))", + "test_result": 3, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "via": "SIP/2.0/UDP 192.168.50.68:46442;received=192.168.50.68;branch=z9hG4bK-d87543-823a494ec8173d67-1--d87543-;rport=46442" + }, + { + "callid": "ZDU0NGVmN2UyZWU2ZjFkN2E2NzZkMzczZDE4NTQ1OGQ.", + "cseq": "1 SUBSCRIBE", + "method_cseq_array": [ + "subscribe", + "subscribe" + ], + "method_rescode_array": [ + "407", + "503" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=d13ff607", + "responder_description": "\"1032\"<sip:[email protected]:5060>;tag=846d.392735082489933dfe0d5b688a48d6f3", + "server": "OpenSIPS (2.4.9 (x86_64/linux))", + "test_result": 4, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "via": "SIP/2.0/UDP 192.168.50.68:46442;received=192.168.50.68;branch=z9hG4bK-d87543-a93d19660e74c136-1--d87543-;rport=46442" + }, + { + "callid": "NTIwM2RmMjQyNmU1NTNiODZhYWU0MjRhN2JhMTc0NTU.", + "cseq": "1 SUBSCRIBE", + "method_cseq_array": [ + "subscribe", + "subscribe" + ], + "method_rescode_array": [ + "407", + "503" + ], + "originator_description": "\"1032\"<sip:[email protected]:5060>;tag=2721a84d", + "responder_description": "\"1032\"<sip:[email protected]:5060>;tag=846d.ecc91ea49edd16acd81aeb2a61bc3233", + "server": "OpenSIPS (2.4.9 (x86_64/linux))", + "test_result": 5, + "tuple6": "192.168.50.68:46442-192.168.40.158:5060-17-0", + "via": "SIP/2.0/UDP 192.168.50.68:46442;received=192.168.50.68;branch=z9hG4bK-d87543-e6750a38d852cc14-1--d87543-;rport=46442" + } +] diff --git a/test/decoders/sip/result/13-complete-call-with-limit-1.json b/test/decoders/sip/result/13-complete-call-with-limit-1.json new file mode 100644 index 0000000..a377d56 --- /dev/null +++ b/test/decoders/sip/result/13-complete-call-with-limit-1.json @@ -0,0 +1,40 @@ +[ + { + "bye": "responder", + "callid": "OGIzMzVkMDY0YTVmNzJmOWRmMGFjZWU4YjFlN2VlZGI.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "ack", + "invite", + "ack", + "bye", + "bye" + ], + "method_rescode_array": [ + "invite", + "100", + "200", + "ack", + "200", + "ack", + "bye", + "200" + ], + "originator_description": "\"test1\"<sip:[email protected]>;tag=fd34fa7d", + "originator_sdp": "v=0\r\no=- 6 2 IN IP4 192.168.36.97\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.36.97\r\nt=0 0\r\nm=audio 47782 RTP/AVP 0 8 18 101\r\na=alt:1 3 : 8rYKJy7Q suxCbgXp 192.168.48.1 47782\r\na=alt:2 2 : emfnqGoq LfzkM/Ar 192.168.237.1 47782\r\na=alt:3 1 : mE7OGFW5 0sJEvxvE 192.168.36.97 47782\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:BF8A71898AD64337A82CB51A63150F00\r\n", + "originator_sdp_media_audio_port": 47782, + "originator_sdp_media_ip": "192.168.36.97", + "responder_description": "\"[email protected]\"<sip:[email protected]>", + "responder_sdp": "v=0\r\no=CARRIER 1614051872 1614051872 IN IP4 80.239.235.113\r\ns=SIP Call\r\nc=IN IP4 80.239.235.113\r\nt=0 0\r\nm=audio 11446 RTP/AVP 0 101\r\na=rtpmap:0 pcmu/8000\r\na=rtpmap:101 telephone-event/8000\r\na=ptime:20\r\na=sendrecv\r\n", + "responder_sdp_media_audio_port": 11446, + "responder_sdp_media_ip": "80.239.235.113", + "server": "(Very nice Sip Registrar/Proxy Server)", + "test_result": 1, + "tuple6": "192.168.36.97:57326-77.72.169.134:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.36.97:57326;branch=z9hG4bK-d87543-1407230f4943213a-1--d87543-;rport" + } +] diff --git a/test/decoders/sip/result/14-complete-call-with-timeout-10s.json b/test/decoders/sip/result/14-complete-call-with-timeout-10s.json new file mode 100644 index 0000000..a377d56 --- /dev/null +++ b/test/decoders/sip/result/14-complete-call-with-timeout-10s.json @@ -0,0 +1,40 @@ +[ + { + "bye": "responder", + "callid": "OGIzMzVkMDY0YTVmNzJmOWRmMGFjZWU4YjFlN2VlZGI.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "ack", + "invite", + "ack", + "bye", + "bye" + ], + "method_rescode_array": [ + "invite", + "100", + "200", + "ack", + "200", + "ack", + "bye", + "200" + ], + "originator_description": "\"test1\"<sip:[email protected]>;tag=fd34fa7d", + "originator_sdp": "v=0\r\no=- 6 2 IN IP4 192.168.36.97\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.36.97\r\nt=0 0\r\nm=audio 47782 RTP/AVP 0 8 18 101\r\na=alt:1 3 : 8rYKJy7Q suxCbgXp 192.168.48.1 47782\r\na=alt:2 2 : emfnqGoq LfzkM/Ar 192.168.237.1 47782\r\na=alt:3 1 : mE7OGFW5 0sJEvxvE 192.168.36.97 47782\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:BF8A71898AD64337A82CB51A63150F00\r\n", + "originator_sdp_media_audio_port": 47782, + "originator_sdp_media_ip": "192.168.36.97", + "responder_description": "\"[email protected]\"<sip:[email protected]>", + "responder_sdp": "v=0\r\no=CARRIER 1614051872 1614051872 IN IP4 80.239.235.113\r\ns=SIP Call\r\nc=IN IP4 80.239.235.113\r\nt=0 0\r\nm=audio 11446 RTP/AVP 0 101\r\na=rtpmap:0 pcmu/8000\r\na=rtpmap:101 telephone-event/8000\r\na=ptime:20\r\na=sendrecv\r\n", + "responder_sdp_media_audio_port": 11446, + "responder_sdp_media_ip": "80.239.235.113", + "server": "(Very nice Sip Registrar/Proxy Server)", + "test_result": 1, + "tuple6": "192.168.36.97:57326-77.72.169.134:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.36.97:57326;branch=z9hG4bK-d87543-1407230f4943213a-1--d87543-;rport" + } +] diff --git a/test/decoders/sip/result/15-complete-call-with-timeout-30s.json b/test/decoders/sip/result/15-complete-call-with-timeout-30s.json new file mode 100644 index 0000000..a377d56 --- /dev/null +++ b/test/decoders/sip/result/15-complete-call-with-timeout-30s.json @@ -0,0 +1,40 @@ +[ + { + "bye": "responder", + "callid": "OGIzMzVkMDY0YTVmNzJmOWRmMGFjZWU4YjFlN2VlZGI.", + "cseq": "1 INVITE", + "method_cseq_array": [ + "invite", + "invite", + "invite", + "ack", + "invite", + "ack", + "bye", + "bye" + ], + "method_rescode_array": [ + "invite", + "100", + "200", + "ack", + "200", + "ack", + "bye", + "200" + ], + "originator_description": "\"test1\"<sip:[email protected]>;tag=fd34fa7d", + "originator_sdp": "v=0\r\no=- 6 2 IN IP4 192.168.36.97\r\ns=CounterPath eyeBeam 1.5\r\nc=IN IP4 192.168.36.97\r\nt=0 0\r\nm=audio 47782 RTP/AVP 0 8 18 101\r\na=alt:1 3 : 8rYKJy7Q suxCbgXp 192.168.48.1 47782\r\na=alt:2 2 : emfnqGoq LfzkM/Ar 192.168.237.1 47782\r\na=alt:3 1 : mE7OGFW5 0sJEvxvE 192.168.36.97 47782\r\na=fmtp:18 annexb=no\r\na=fmtp:101 0-15\r\na=rtpmap:18 G729/8000\r\na=rtpmap:101 telephone-event/8000\r\na=sendrecv\r\na=x-rtp-session-id:BF8A71898AD64337A82CB51A63150F00\r\n", + "originator_sdp_media_audio_port": 47782, + "originator_sdp_media_ip": "192.168.36.97", + "responder_description": "\"[email protected]\"<sip:[email protected]>", + "responder_sdp": "v=0\r\no=CARRIER 1614051872 1614051872 IN IP4 80.239.235.113\r\ns=SIP Call\r\nc=IN IP4 80.239.235.113\r\nt=0 0\r\nm=audio 11446 RTP/AVP 0 101\r\na=rtpmap:0 pcmu/8000\r\na=rtpmap:101 telephone-event/8000\r\na=ptime:20\r\na=sendrecv\r\n", + "responder_sdp_media_audio_port": 11446, + "responder_sdp_media_ip": "80.239.235.113", + "server": "(Very nice Sip Registrar/Proxy Server)", + "test_result": 1, + "tuple6": "192.168.36.97:57326-77.72.169.134:5060-17-0", + "user_agent": "eyeBeam release 1011d stamp 40820", + "via": "SIP/2.0/UDP 192.168.36.97:57326;branch=z9hG4bK-d87543-1407230f4943213a-1--d87543-;rport" + } +] |
