t/01_load.t ............................. 1..1 ok 1 - loading Net::SIP* ok # call created # got ringing # call established # call cleaned up # call created # got ringing # call established # call cleaned up # call created # got ringing # call established # call cleaned up # call created # got ringing # call established # call cleaned up # call created # got ringing # call established # call cleaned up # call created # got ringing # call established # call cleaned up t/02_listen_and_invite.t ................ 1..60 # ------- test with family ip4 transport udp ok 1 - create UAS socket ok 2 - fork successful ok 3 - UAS created # ok 4 - UAC created ok 5 - UAS ready # ok 6 - got ringing ok 7 - no error on UAC ok 8 - Call established ok 9 - UAS down ok 10 - UAS finished # ------- test with family ipv6 transport udp ok 11 - create UAS socket ok 12 - fork successful ok 13 - UAS created # ok 14 - UAC created ok 15 - UAS ready # ok 16 - got ringing ok 17 - no error on UAC ok 18 - Call established ok 19 - UAS down ok 20 - UAS finished # ------- test with family ip4 transport tcp ok 21 - create UAS socket ok 22 - fork successful ok 23 - UAS created # ok 24 - UAC created ok 25 - UAS ready # ok 26 - got ringing ok 27 - no error on UAC ok 28 - Call established ok 29 - UAS down ok 30 - UAS finished # ------- test with family ipv6 transport tcp ok 31 - create UAS socket ok 32 - fork successful ok 33 - UAS created # ok 34 - UAC created ok 35 - UAS ready # ok 36 - got ringing ok 37 - no error on UAC ok 38 - Call established ok 39 - UAS down ok 40 - UAS finished # ------- test with family ip4 transport tls ok 41 - create UAS socket ok 42 - fork successful ok 43 - UAS created # ok 44 - UAC created ok 45 - UAS ready # ok 46 - got ringing ok 47 - no error on UAC ok 48 - Call established ok 49 - UAS down ok 50 - UAS finished # ------- test with family ipv6 transport tls ok 51 - create UAS socket ok 52 - fork successful ok 53 - UAS created # ok 54 - UAC created ok 55 - UAS ready # ok 56 - got ringing ok 57 - no error on UAC ok 58 - Call established ok 59 - UAS down ok 60 - UAS finished ok t/03_forward_stateless.t ................ 1..6 ok 1 - expected leg ok 2 - expected leg ok 3 - expected leg ok 4 - expected leg ok 5 - expected leg ok 6 - expected leg ok t/04_call_with_rtp.t .................... 1..48 # ------- test with family ip4 transport udp # UAS on 127.0.0.1:44682 # UAC on 127.0.0.1:38105 ok 1 - UAC created ok 2 - UAS ready # # call created ok 3 - no error on UAC ok 4 - Call established # call established ok 5 - Done sending RTP # call cleaned up # received 100/100 packets ok 6 - UAS down ok 7 - UAS RTP ok # ok 8 - UAS finished # ------- test with family ip6 transport udp # UAS on [::1]:50454 # UAC on [::1]:45405 ok 9 - UAC created ok 10 - UAS ready # # call created ok 11 - no error on UAC ok 12 - Call established # call established ok 13 - Done sending RTP # call cleaned up # received 100/100 packets ok 14 - UAS down ok 15 - UAS RTP ok # ok 16 - UAS finished # ------- test with family ip4 transport tcp # UAS on 127.0.0.1:44155 # UAC on 127.0.0.1:50695 ok 17 - UAC created ok 18 - UAS ready # # call created ok 19 - no error on UAC ok 20 - Call established # call established ok 21 - Done sending RTP # call cleaned up # received 100/100 packets ok 22 - UAS down ok 23 - UAS RTP ok # ok 24 - UAS finished # ------- test with family ip6 transport tcp # UAS on [::1]:48995 # UAC on [::1]:44763 ok 25 - UAC created ok 26 - UAS ready # # call created ok 27 - no error on UAC ok 28 - Call established # call established ok 29 - Done sending RTP # call cleaned up # received 100/100 packets ok 30 - UAS down ok 31 - UAS RTP ok # ok 32 - UAS finished # ------- test with family ip4 transport tls # UAS on 127.0.0.1:54313 # UAC on 127.0.0.1:47393 ok 33 - UAC created ok 34 - UAS ready # # call created ok 35 - no error on UAC ok 36 - Call established # call established ok 37 - Done sending RTP # call cleaned up ok 38 - UAS down # received 100/100 packets ok 39 - UAS RTP ok # ok 40 - UAS finished # ------- test with family ip6 transport tls # UAS on [::1]:50413 # UAC on [::1]:60861 ok 41 - UAC created ok 42 - UAS ready # # call created ok 43 - no error on UAC ok 44 - Call established # call established ok 45 - Done sending RTP # call cleaned up ok 46 - UAS down # received 100/100 packets ok 47 - UAS RTP ok # ok 48 - UAS finished ok t/05_call_with_stateless_proxy.t ........ 1..378 # ------- test with family ip4 transport udp # UAS on 127.0.0.1:46529 # UAC on 127.0.0.1:34412 # PROXY on 127.0.0.1:50072 127.0.0.1:36375 # proxy >> OK # << ok 1 - [proxy] OK # uas >> OK # << ok 2 - [uas] OK # proxy >> ready # << ok 3 - [proxy] ready # uas >> ready # << ok 4 - [uas] ready # uac >> OK # << ok 5 - [uac] OK # uac >> ready # << ok 6 - [uac] ready # uac >> O> 127.0.0.1:50072 REQ(INVITE) SDP: audio=127.0.0.1:5926/2 # << ok 7 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52a3c598) REQ(INVITE) SDP: audio=127.0.0.1:5926/2 # << ok 8 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:46529 REQ(INVITE) SDP: audio=127.0.0.1:5926/2 # << ok 9 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52a41348) REQ(INVITE) SDP: audio=127.0.0.1:5926/2 # << ok 10 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 11 - outgoing on UAC must be the same as incoming on proxy ok 12 - outgoing on proxy must be the same as incoming on UAS ok 13 - SDP must pass unchanged to UAS # uas >> O> 127.0.0.1:36375 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 14 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/UDP 127.0.0.1:36375;branch=z9hG4bKb0f285ef2120946d0386a57f56b18f5bdd9999603a2501a012ad4a3ffa8fa9 # Record-route: # Via: SIP/2.0/UDP 127.0.0.1:50072;branch=z9hG4bKb2fd7ccd112b855786ca485250b62a73dd9999603a2501a25388df8f3f6ea5 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/UDP 127.0.0.1:34412;branch=z9hG4bK76c98a454fabe7d1b1e554c0f810af44dd9999603a2501a37faa6ec6d53b7a # Call-id: 6310d5865620787938e01051143ceb8d # Cseq: 1 INVITE # From: me.uac@example.com;tag=4c4431528acc9db444ccabe7fb42de81 # Content-type: application/sdp # Content-length: 175 # Max-forwards: 69 # Contact: sip:bLY4IQ77N2YBRWMNWXVSFYQF4ZNKYOUPUBLZE7AJHCVJASTZJ3OLNXEY@127.0.0.1:36375 # To: you.uas@example.com;tag=cf6a4ccfdb6c87188fe8996830e4c991 # # v=0 # o=anonymous 1531775978 1531775978 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 5926 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 15 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ 127\.0\.0\.1\:36375\;) ok 16 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ 127\.0\.0\.1\:34412\;) # uac >> I< HASH(0x55ad52a3c040) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52a3ca78) RSP(INVITE,200) SDP: audio=127.0.0.1:2748/2 # << # uac >> O> 127.0.0.1:50072 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 17 - [uac] RTP done # uas >> O> 127.0.0.1:36375 RSP(INVITE,200) SDP: audio=127.0.0.1:2748/2 # I< HASH(0x55ad52a52db0) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52a531b8) REQ(BYE) NO SDP # << # uas >> O> 127.0.0.1:36375 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 18 - [uas] RTP ok # uac >> O> 127.0.0.1:50072 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52a3cbe0) RSP(BYE,200) NO SDP # << # uac >> END # << ok 19 - [uac] END ok 20 - [uas] END # proxy >> OK # << ok 21 - [proxy] OK # uas >> OK # << ok 22 - [uas] OK # proxy >> ready # << ok 23 - [proxy] ready # uas >> ready # << ok 24 - [uas] ready # uac >> OK # << ok 25 - [uac] OK # uac >> ready # << ok 26 - [uac] ready # uac >> O> 127.0.0.1:50072 REQ(INVITE) SDP: audio=127.0.0.1:2616/2 # << ok 27 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52a41ba0) REQ(INVITE) SDP: audio=127.0.0.1:2616/2 # << ok 28 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:46529 REQ(INVITE) SDP: audio=127.0.0.1:7016/2 # << ok 29 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52a46d78) REQ(INVITE) SDP: audio=127.0.0.1:7016/2 # << ok 30 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 31 - outgoing on UAC must be the same as incoming on proxy ok 32 - outgoing on proxy must be the same as incoming on UAS ok 33 - allocated addr:port must be different (127.0.0.1:2616|127.0.0.1:7016) ok 34 - ranges must stay the same # uas >> O> 127.0.0.1:36375 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 35 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/UDP 127.0.0.1:36375;branch=z9hG4bKb0f285ef2120946d0386a57f56b18f5b17f21b70457770f1e7a5d84047e5ea # Record-route: # Via: SIP/2.0/UDP 127.0.0.1:50072;branch=z9hG4bKb2fd7ccd112b855786ca485250b62a7317f21b70457770f16e5e86952d6d2c # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/UDP 127.0.0.1:34412;branch=z9hG4bK76c98a454fabe7d1b1e554c0f810af4417f21b70457770fbc70fbd4599bd34 # Call-id: 770fae0ea91222a3e80584a61e40ec9d # Cseq: 1 INVITE # From: me.uac@example.com;tag=0172b043202c2f1c5d82347abf674888 # Content-type: application/sdp # Content-length: 175 # Max-forwards: 69 # Contact: sip:bWWKVVYKPSNLLBHRD37ODC2YEGZDMXJ74WKUUDETVB4JCFXBHCFMBLOA@127.0.0.1:36375 # To: you.uas@example.com;tag=ebbafaaf5e4b5169e9ed826a08d52ae0 # # v=0 # o=anonymous 1531775980 1531775980 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 7016 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 36 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ 127\.0\.0\.1\:36375\;) ok 37 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ 127\.0\.0\.1\:34412\;) # uac >> I< HASH(0x55ad52a3e148) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52a451a8) RSP(INVITE,200) SDP: audio=127.0.0.1:3064/2 # << # uac >> O> 127.0.0.1:50072 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 38 - [uac] RTP done # uas >> O> 127.0.0.1:36375 RSP(INVITE,200) SDP: audio=127.0.0.1:10066/2 # I< HASH(0x55ad52a57690) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52a49be8) REQ(BYE) NO SDP # << # uas >> O> 127.0.0.1:36375 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # << # uas >> RTP ok # << ok 39 - [uas] RTP ok # uac >> O> 127.0.0.1:50072 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52a45310) RSP(BYE,200) NO SDP # << # uac >> END # << ok 40 - [uac] END # uas >> END # << ok 41 - [uas] END # nathelper >> OK # << ok 42 - [nathelper] OK # proxy >> OK # << ok 43 - [proxy] OK # uas >> OK # << ok 44 - [uas] OK # proxy >> ready # << ok 45 - [proxy] ready # uas >> ready # << ok 46 - [uas] ready # uac >> OK # << ok 47 - [uac] OK # uac >> ready # << ok 48 - [uac] ready # uac >> O> 127.0.0.1:50072 REQ(INVITE) SDP: audio=127.0.0.1:4276/2 # << ok 49 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52a484b8) REQ(INVITE) SDP: audio=127.0.0.1:4276/2 # << ok 50 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:46529 REQ(INVITE) SDP: audio=127.0.0.1:6906/2 # << ok 51 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52a4b8e8) REQ(INVITE) SDP: audio=127.0.0.1:6906/2 # << ok 52 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 53 - outgoing on UAC must be the same as incoming on proxy ok 54 - outgoing on proxy must be the same as incoming on UAS ok 55 - allocated addr:port must be different (127.0.0.1:4276|127.0.0.1:6906) ok 56 - ranges must stay the same # uas >> O> 127.0.0.1:36375 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 57 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/UDP 127.0.0.1:36375;branch=z9hG4bKb0f285ef2120946d0386a57f56b18f5b6d9d3ad805f82e1124bd61e103d8d0 # Record-route: # Via: SIP/2.0/UDP 127.0.0.1:50072;branch=z9hG4bKb2fd7ccd112b855786ca485250b62a736d9d3ad805f82e167da83b09566243 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/UDP 127.0.0.1:34412;branch=z9hG4bK76c98a454fabe7d1b1e554c0f810af446d9d3ad805f82e11afcba705d07752 # Call-id: f734d1f44f7f5020e5f058b6ac2b9382 # Cseq: 1 INVITE # From: me.uac@example.com;tag=5ebb4fbb621bae3437bba7238b37f710 # Content-type: application/sdp # Content-length: 175 # Max-forwards: 69 # Contact: sip:b3MFBU37KJNOTXDHNM7ABPMPR7XJ5B6T64USXLADMDE5JGY6TNIOVXZY@127.0.0.1:36375 # To: you.uas@example.com;tag=40e48030b95ff3796db2a7924fa696b1 # # v=0 # o=anonymous 1531775983 1531775983 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 6906 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 58 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ 127\.0\.0\.1\:36375\;) ok 59 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ 127\.0\.0\.1\:34412\;) # uac >> I< HASH(0x55ad52a40998) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52a58a48) RSP(INVITE,200) SDP: audio=127.0.0.1:7678/2 # << # uac >> O> 127.0.0.1:50072 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 60 - [uac] RTP done # uas >> O> 127.0.0.1:36375 RSP(INVITE,200) SDP: audio=127.0.0.1:10624/2 # I< HASH(0x55ad52a5d470) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52a5d878) REQ(BYE) NO SDP # << # uas >> O> 127.0.0.1:36375 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 61 - [uas] RTP ok # uac >> O> 127.0.0.1:50072 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52a58bb0) RSP(BYE,200) NO SDP # << # uac >> END # << ok 62 - [uac] END ok 63 - [uas] END # ------- test with family ip6 transport udp # UAS on [::1]:44428 # UAC on [::1]:57696 # PROXY on [::1]:37306 [::1]:34786 # proxy >> OK # << ok 64 - [proxy] OK # uas >> OK # << ok 65 - [uas] OK # proxy >> ready # << ok 66 - [proxy] ready # uas >> ready # << ok 67 - [uas] ready # uac >> OK # << ok 68 - [uac] OK # uac >> ready # << ok 69 - [uac] ready # uac >> O> [::1]:37306 REQ(INVITE) SDP: audio=[::1]:8690/2 # << ok 70 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52a4a3d8) REQ(INVITE) SDP: audio=[::1]:8690/2 # << ok 71 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:44428 REQ(INVITE) SDP: audio=[::1]:8690/2 # << ok 72 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52a4e978) REQ(INVITE) SDP: audio=[::1]:8690/2 # << ok 73 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 74 - outgoing on UAC must be the same as incoming on proxy ok 75 - outgoing on proxy must be the same as incoming on UAS ok 76 - SDP must pass unchanged to UAS # uas >> O> [::1]:34786 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 77 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/UDP [::1]:34786;branch=z9hG4bKaefc4dd6f317265dbfe0c6ecabc2e3f63466a97cb0347102fe008d083e9f5d # Record-route: # Via: SIP/2.0/UDP [::1]:37306;branch=z9hG4bK223f1ac217b4e185cde8682e6bf6b79d3466a97cb034710253c04a07f1445c # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/UDP [::1]:57696;branch=z9hG4bKca6ba7ded870a39ae957aabb101d6da63466a97cb03471076b1237960e8b3f # Call-id: 37c0d1ae3662ce2a20e1d524354e93cc # Cseq: 1 INVITE # From: me.uac@example.com;tag=32fd68862d18699e2a503765e4797119 # Content-type: application/sdp # Content-length: 163 # Max-forwards: 69 # Contact: sip:bHPA4FR3BRERZK5YVYGMIUUBS5PHQOOAYF6MEGZWGCJOEEWPQ@[::1]:34786 # To: you.uas@example.com;tag=e48b3ce17d547494a5a92d7d7897844e # # v=0 # o=anonymous 1531775985 1531775985 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 8690 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 78 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ \[\:\:1\]\:34786\;) ok 79 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ \[\:\:1\]\:57696\;) # uac >> I< HASH(0x55ad52a44290) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52a5c110) RSP(INVITE,200) SDP: audio=[::1]:2188/2 # << # uac >> O> [::1]:37306 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 80 - [uac] RTP done # uas >> O> [::1]:34786 RSP(INVITE,200) SDP: audio=[::1]:2188/2 # I< HASH(0x55ad52a61668) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52a61a70) REQ(BYE) NO SDP # << # uas >> O> [::1]:34786 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 81 - [uas] RTP ok # uac >> O> [::1]:37306 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52a5c278) RSP(BYE,200) NO SDP # << # uac >> END # << ok 82 - [uac] END ok 83 - [uas] END # proxy >> OK # << ok 84 - [proxy] OK # uas >> OK # << ok 85 - [uas] OK # proxy >> ready # << ok 86 - [proxy] ready # uas >> ready # << ok 87 - [uas] ready # uac >> OK # << ok 88 - [uac] OK # uac >> ready # << ok 89 - [uac] ready # uac >> O> [::1]:37306 REQ(INVITE) SDP: audio=[::1]:7222/2 # << ok 90 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52a4e5d8) REQ(INVITE) SDP: audio=[::1]:7222/2 # << ok 91 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:44428 REQ(INVITE) SDP: audio=[::1]:3216/2 # << ok 92 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52a4fb18) REQ(INVITE) SDP: audio=[::1]:3216/2 # << ok 93 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 94 - outgoing on UAC must be the same as incoming on proxy ok 95 - outgoing on proxy must be the same as incoming on UAS ok 96 - allocated addr:port must be different ([::1]:7222|[::1]:3216) ok 97 - ranges must stay the same # uas >> O> [::1]:34786 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 98 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/UDP [::1]:34786;branch=z9hG4bKaefc4dd6f317265dbfe0c6ecabc2e3f6bf5eef181d6cec2d0ffeb52ef6b38d # Record-route: # Via: SIP/2.0/UDP [::1]:37306;branch=z9hG4bK223f1ac217b4e185cde8682e6bf6b79dbf5eef181d6cec2b623f990a726b9d # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/UDP [::1]:57696;branch=z9hG4bKca6ba7ded870a39ae957aabb101d6da6bf5eef181d6cec24d490863a26bbb2 # Call-id: 4c4487bc26c050dc360651943b8fc83d # Cseq: 1 INVITE # From: me.uac@example.com;tag=d47f329cdb91bc90d5b644d760c300ae # Content-type: application/sdp # Content-length: 163 # Max-forwards: 69 # Contact: sip:bK34UPE3KPO5VJEOFWZW5ZSLLQUM4ZBFMACJJ6ECS25PKCTMS@[::1]:34786 # To: you.uas@example.com;tag=ea84ad55b7096e8e408d6c7114f5d535 # # v=0 # o=anonymous 1531775987 1531775987 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 3216 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 99 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ \[\:\:1\]\:34786\;) ok 100 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ \[\:\:1\]\:57696\;) # uac >> I< HASH(0x55ad52a48b98) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52a60468) RSP(INVITE,200) SDP: audio=[::1]:4362/2 # << # uac >> O> [::1]:37306 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 101 - [uac] RTP done # uas >> O> [::1]:34786 RSP(INVITE,200) SDP: audio=[::1]:5608/2 # I< HASH(0x55ad52a60cb8) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad5220a648) REQ(BYE) NO SDP # << # uas >> O> [::1]:34786 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 102 - [uas] RTP ok # uac >> O> [::1]:37306 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52a605d0) RSP(BYE,200) NO SDP # << # uac >> END # << ok 103 - [uac] END ok 104 - [uas] END # nathelper >> OK # << ok 105 - [nathelper] OK # proxy >> OK # << ok 106 - [proxy] OK # uas >> OK # << ok 107 - [uas] OK # proxy >> ready # << ok 108 - [proxy] ready # uas >> ready # << ok 109 - [uas] ready # uac >> OK # << ok 110 - [uac] OK # uac >> ready # << ok 111 - [uac] ready # uac >> O> [::1]:37306 REQ(INVITE) SDP: audio=[::1]:10804/2 # << ok 112 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52a54520) REQ(INVITE) SDP: audio=[::1]:10804/2 # << ok 113 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:44428 REQ(INVITE) SDP: audio=[::1]:3586/2 # << ok 114 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52a54f58) REQ(INVITE) SDP: audio=[::1]:3586/2 # << ok 115 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 116 - outgoing on UAC must be the same as incoming on proxy ok 117 - outgoing on proxy must be the same as incoming on UAS ok 118 - allocated addr:port must be different ([::1]:10804|[::1]:3586) ok 119 - ranges must stay the same # uas >> O> [::1]:34786 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 120 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/UDP [::1]:34786;branch=z9hG4bKaefc4dd6f317265dbfe0c6ecabc2e3f6afeed4a6c96b37a335bf9a8c23427e # Record-route: # Via: SIP/2.0/UDP [::1]:37306;branch=z9hG4bK223f1ac217b4e185cde8682e6bf6b79dafeed4a6c96b37a5036414f01303ad # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/UDP [::1]:57696;branch=z9hG4bKca6ba7ded870a39ae957aabb101d6da6afeed4a6c96b37a5754bb7672c9ee4 # Call-id: 0e517d1d30a66a94483223edc3efdd02 # Cseq: 1 INVITE # From: me.uac@example.com;tag=d1dd86b0d3d2fd4f24ec1bf39e951090 # Content-type: application/sdp # Max-forwards: 69 # Contact: sip:bTXO2VTQSSUND6JC5WFWNBE7ON7ZBP2DBQEFFAJXGLAQLLGVO@[::1]:34786 # Content-length: 163 # To: you.uas@example.com;tag=41b235def18fb4da32deb061c1fd38ee # # v=0 # o=anonymous 1531775989 1531775989 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 3586 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 121 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ \[\:\:1\]\:34786\;) ok 122 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ \[\:\:1\]\:57696\;) # uac >> I< HASH(0x55ad52a4d208) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52a64ad8) RSP(INVITE,200) SDP: audio=[::1]:11514/2 # << # uac >> O> [::1]:37306 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 123 - [uac] RTP done # uas >> O> [::1]:34786 RSP(INVITE,200) SDP: audio=[::1]:2160/2 # I< HASH(0x55ad52a65df8) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52a5c728) REQ(BYE) NO SDP # << # uas >> O> [::1]:34786 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 124 - [uas] RTP ok # uac >> O> [::1]:37306 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52a4ce30) RSP(BYE,200) NO SDP # << # uac >> END # << ok 125 - [uac] END ok 126 - [uas] END # ------- test with family ip4 transport tcp # UAS on 127.0.0.1:46465 # UAC on 127.0.0.1:54125 # PROXY on 127.0.0.1:35863 127.0.0.1:47527 # proxy >> OK # << ok 127 - [proxy] OK # uas >> OK # << ok 128 - [uas] OK # proxy >> ready # << ok 129 - [proxy] ready # uas >> ready # << ok 130 - [uas] ready # uac >> OK # << ok 131 - [uac] OK # uac >> ready # << ok 132 - [uac] ready # uac >> O> 127.0.0.1:35863 REQ(INVITE) SDP: audio=127.0.0.1:3710/2 # << ok 133 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52a56b68) REQ(INVITE) SDP: audio=127.0.0.1:3710/2 # << ok 134 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:46465 REQ(INVITE) SDP: audio=127.0.0.1:3710/2 # << ok 135 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52a5bba8) REQ(INVITE) SDP: audio=127.0.0.1:3710/2 # << ok 136 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 137 - outgoing on UAC must be the same as incoming on proxy ok 138 - outgoing on proxy must be the same as incoming on UAS ok 139 - SDP must pass unchanged to UAS # uas >> O> 127.0.0.1:43035 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 140 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TCP 127.0.0.1:47527;branch=z9hG4bK2a8b4a7d53fb19b1c7960277b76a16997c3b8c5d2209dd3512a07fa283c363 # Record-route: # Via: SIP/2.0/TCP 127.0.0.1:35863;branch=z9hG4bK972806fbb90348738e75952eece25dfe7c3b8c5d2209dd391421b40bea68d3 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TCP 127.0.0.1:54125;branch=z9hG4bK3e01b0fddcd42154863e77ea0898360e7c3b8c5d2209dd37ca373f8f324070 # Call-id: d547b35cf6a951b81093c6d6ed9549d7 # Cseq: 1 INVITE # From: me.uac@example.com;tag=a056559098540e1b5f859fa3bdda6834 # Content-type: application/sdp # Content-length: 175 # Max-forwards: 69 # Contact: sip:bKXZHX76JCLZIXNZWBNOSH477EGDNGQWXAOQP5OOVA5LUQGK5NGB5WKA@127.0.0.1:47527 # To: you.uas@example.com;tag=b7e2171c56225446883d4d0235211f3c # # v=0 # o=anonymous 1531775991 1531775991 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 3710 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 141 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ 127\.0\.0\.1\:47527\;) ok 142 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ 127\.0\.0\.1\:54125\;) # uac >> I< HASH(0x55ad52a512e8) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52a6a298) RSP(INVITE,200) SDP: audio=127.0.0.1:11592/2 # << # uac >> O> 127.0.0.1:35863 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 143 - [uac] RTP done # uas >> O> 127.0.0.1:43035 RSP(INVITE,200) SDP: audio=127.0.0.1:11592/2 # I< HASH(0x55ad52a69be8) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52a716c0) REQ(BYE) NO SDP # << # uas >> O> 127.0.0.1:43035 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 144 - [uas] RTP ok # uac >> O> 127.0.0.1:35863 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52a69f50) RSP(BYE,200) NO SDP # << # uac >> END # << ok 145 - [uac] END ok 146 - [uas] END # proxy >> OK # << ok 147 - [proxy] OK # uas >> OK # << ok 148 - [uas] OK # proxy >> ready # << ok 149 - [proxy] ready # uas >> ready # << ok 150 - [uas] ready # uac >> OK # << ok 151 - [uac] OK # uac >> ready # << ok 152 - [uac] ready # uac >> O> 127.0.0.1:35863 REQ(INVITE) SDP: audio=127.0.0.1:8108/2 # << ok 153 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52a5bf48) REQ(INVITE) SDP: audio=127.0.0.1:8108/2 # << ok 154 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:46465 REQ(INVITE) SDP: audio=127.0.0.1:2062/2 # << ok 155 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52a5d4e8) REQ(INVITE) SDP: audio=127.0.0.1:2062/2 # << ok 156 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 157 - outgoing on UAC must be the same as incoming on proxy ok 158 - outgoing on proxy must be the same as incoming on UAS ok 159 - allocated addr:port must be different (127.0.0.1:8108|127.0.0.1:2062) ok 160 - ranges must stay the same # uas >> O> 127.0.0.1:33893 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 161 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TCP 127.0.0.1:47527;branch=z9hG4bK2a8b4a7d53fb19b1c7960277b76a1699eccff98fdd7725b49507a3bfdfe800 # Record-route: # Via: SIP/2.0/TCP 127.0.0.1:35863;branch=z9hG4bK972806fbb90348738e75952eece25dfeeccff98fdd7725b9c4025209c6993a # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TCP 127.0.0.1:54125;branch=z9hG4bK3e01b0fddcd42154863e77ea0898360eeccff98fdd7725bf38c90463f42c14 # Call-id: f362404aa247b383cefd79469f0cdc18 # Cseq: 1 INVITE # From: me.uac@example.com;tag=cb70dd9d8c7600fa9373a09c88450c48 # Content-type: application/sdp # Content-length: 175 # Max-forwards: 69 # Contact: sip:bSZ4BDXZUGNNS5WOXOHS65PXFO7VFM3XRNQYOMXMSJRBEQUUBVBHEX3I@127.0.0.1:47527 # To: you.uas@example.com;tag=53292fab56e7db7d92dac4132e0f2c15 # # v=0 # o=anonymous 1531775993 1531775993 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 2062 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 162 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ 127\.0\.0\.1\:47527\;) ok 163 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ 127\.0\.0\.1\:54125\;) # uac >> I< HASH(0x55ad52a555b0) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52a5d390) RSP(INVITE,200) SDP: audio=127.0.0.1:8804/2 # << # uac >> O> 127.0.0.1:35863 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 164 - [uac] RTP done # uas >> O> 127.0.0.1:33893 RSP(INVITE,200) SDP: audio=127.0.0.1:3398/2 # I< HASH(0x55ad52a6ce40) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52a74c98) REQ(BYE) NO SDP # << # uas >> O> 127.0.0.1:33893 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 165 - [uas] RTP ok # uac >> O> 127.0.0.1:35863 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52a5cdf0) RSP(BYE,200) NO SDP # << # uac >> END # << ok 166 - [uac] END ok 167 - [uas] END # nathelper >> OK # << ok 168 - [nathelper] OK # proxy >> OK # << ok 169 - [proxy] OK # uas >> OK # << ok 170 - [uas] OK # proxy >> ready # << ok 171 - [proxy] ready # uas >> ready # << ok 172 - [uas] ready # uac >> OK # << ok 173 - [uac] OK # uac >> ready # << ok 174 - [uac] ready # uac >> O> 127.0.0.1:35863 REQ(INVITE) SDP: audio=127.0.0.1:2346/2 # << ok 175 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52a5fb38) REQ(INVITE) SDP: audio=127.0.0.1:2346/2 # << ok 176 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:46465 REQ(INVITE) SDP: audio=127.0.0.1:9156/2 # << ok 177 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52a603b8) REQ(INVITE) SDP: audio=127.0.0.1:9156/2 # << ok 178 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 179 - outgoing on UAC must be the same as incoming on proxy ok 180 - outgoing on proxy must be the same as incoming on UAS ok 181 - allocated addr:port must be different (127.0.0.1:2346|127.0.0.1:9156) ok 182 - ranges must stay the same # uas >> O> 127.0.0.1:39877 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 183 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TCP 127.0.0.1:47527;branch=z9hG4bK2a8b4a7d53fb19b1c7960277b76a1699451f5cb9a94f854603b6675ed1118a # Record-route: # Via: SIP/2.0/TCP 127.0.0.1:35863;branch=z9hG4bK972806fbb90348738e75952eece25dfe451f5cb9a94f85424b74c62af25632 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TCP 127.0.0.1:54125;branch=z9hG4bK3e01b0fddcd42154863e77ea0898360e451f5cb9a94f854bd368800b56c1db # Call-id: be360f6ae0122b93e4180802faf2cb84 # Cseq: 1 INVITE # From: me.uac@example.com;tag=1467690667d3e47200a3d09ab7cd2445 # Content-type: application/sdp # Content-length: 175 # Max-forwards: 69 # Contact: sip:bPM7HPUPTM5OWURLFSGZWXBFCKEO3TAAJMMXUAGEIKMOFXV2UL6ZACBA@127.0.0.1:47527 # To: you.uas@example.com;tag=66f8a51349b625b77794b180fa3b9e9d # # v=0 # o=anonymous 1531775995 1531775995 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 9156 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 184 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ 127\.0\.0\.1\:47527\;) ok 185 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ 127\.0\.0\.1\:54125\;) # uac >> I< HASH(0x55ad52a5bd80) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52a71bf0) RSP(INVITE,200) SDP: audio=127.0.0.1:5338/2 # << # uac >> O> 127.0.0.1:35863 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 186 - [uac] RTP done # uas >> O> 127.0.0.1:39877 RSP(INVITE,200) SDP: audio=127.0.0.1:8778/2 # I< HASH(0x55ad52a71b90) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52a797f8) REQ(BYE) NO SDP # << # uas >> O> 127.0.0.1:39877 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 187 - [uas] RTP ok # uac >> O> 127.0.0.1:35863 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52a715f0) RSP(BYE,200) NO SDP # << # uac >> END # << ok 188 - [uac] END ok 189 - [uas] END # ------- test with family ip6 transport tcp # UAS on [::1]:41423 # UAC on [::1]:33105 # PROXY on [::1]:58207 [::1]:41549 # proxy >> OK # << ok 190 - [proxy] OK # uas >> OK # << ok 191 - [uas] OK # proxy >> ready # << ok 192 - [proxy] ready # uas >> ready # << ok 193 - [uas] ready # uac >> OK # << ok 194 - [uac] OK # uac >> ready # << ok 195 - [uac] ready # uac >> O> [::1]:58207 REQ(INVITE) SDP: audio=[::1]:11492/2 # << ok 196 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52a61c48) REQ(INVITE) SDP: audio=[::1]:11492/2 # << ok 197 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:41423 REQ(INVITE) SDP: audio=[::1]:11492/2 # << ok 198 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52a64170) REQ(INVITE) SDP: audio=[::1]:11492/2 # << ok 199 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 200 - outgoing on UAC must be the same as incoming on proxy ok 201 - outgoing on proxy must be the same as incoming on UAS ok 202 - SDP must pass unchanged to UAS # uas >> O> [::1]:45013 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 203 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TCP [::1]:41549;branch=z9hG4bK62e5f53d988aa39b4d5d7a5276b3c3375b9752491be149d54371d8d27887e8 # Record-route: # Via: SIP/2.0/TCP [::1]:58207;branch=z9hG4bKab2680c8d27289eda090917535c1aa7d5b9752491be149db2a973b0daff95c # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TCP [::1]:33105;branch=z9hG4bK33ec69f231e3eec16e17265aefcd1a3a5b9752491be149d1795f7155505acc # Call-id: 31386383f1c4306ff262cdb0d6bcbdf1 # Cseq: 1 INVITE # From: me.uac@example.com;tag=d880a7ccf328ffd7417de52fedfa14d1 # Content-type: application/sdp # Content-length: 164 # Max-forwards: 69 # Contact: sip:bPLPAW54YAWTN2O7F3XDF7A5TQGOBTCHWXWBQHG3AQZTCN2JH@[::1]:41549 # To: you.uas@example.com;tag=58fdb26d17d07020d8b3cff80ffa6a0b # # v=0 # o=anonymous 1531775997 1531775997 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 11492 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 204 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ \[\:\:1\]\:41549\;) ok 205 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ \[\:\:1\]\:33105\;) # uac >> I< HASH(0x55ad52a5faf0) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52a74810) RSP(INVITE,200) SDP: audio=[::1]:9136/2 # << # uac >> O> [::1]:58207 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 206 - [uac] RTP done # uas >> O> [::1]:45013 RSP(INVITE,200) SDP: audio=[::1]:9136/2 # I< HASH(0x55ad52a75900) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52a7c3a8) REQ(BYE) NO SDP # << # uas >> O> [::1]:45013 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 207 - [uas] RTP ok # uac >> O> [::1]:58207 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52a5fc70) RSP(BYE,200) NO SDP # << # uac >> END # << ok 208 - [uac] END ok 209 - [uas] END # proxy >> OK # << ok 210 - [proxy] OK # uas >> OK # << ok 211 - [uas] OK # proxy >> ready # << ok 212 - [proxy] ready # uas >> ready # << ok 213 - [uas] ready # uac >> OK # << ok 214 - [uac] OK # uac >> ready # << ok 215 - [uac] ready # uac >> O> [::1]:58207 REQ(INVITE) SDP: audio=[::1]:11762/2 # << ok 216 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52a66e08) REQ(INVITE) SDP: audio=[::1]:11762/2 # << ok 217 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:41423 REQ(INVITE) SDP: audio=[::1]:10274/2 # << ok 218 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52a690d8) REQ(INVITE) SDP: audio=[::1]:10274/2 # << ok 219 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 220 - outgoing on UAC must be the same as incoming on proxy ok 221 - outgoing on proxy must be the same as incoming on UAS ok 222 - allocated addr:port must be different ([::1]:11762|[::1]:10274) ok 223 - ranges must stay the same # uas >> O> [::1]:35203 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 224 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TCP [::1]:41549;branch=z9hG4bK62e5f53d988aa39b4d5d7a5276b3c337303c1f56efcbfd7b75560c6206b913 # Record-route: # Via: SIP/2.0/TCP [::1]:58207;branch=z9hG4bKab2680c8d27289eda090917535c1aa7d303c1f56efcbfd718f1961d84cde2e # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TCP [::1]:33105;branch=z9hG4bK33ec69f231e3eec16e17265aefcd1a3a303c1f56efcbfd73a6fed986700af9 # Call-id: 71012f81542d89c2180f2c74b4a3b506 # Cseq: 1 INVITE # From: me.uac@example.com;tag=de0a944a0aa2e7aab98261c4e708cbd1 # Content-type: application/sdp # Content-length: 164 # Max-forwards: 69 # Contact: sip:bYTTK4YXVESK6WYE3DPJ2HE2TO7TQ4DBOLCBLDIU6EUUXJHHE@[::1]:41549 # To: you.uas@example.com;tag=3da39accad2406ba9afe911929dcb8a0 # # v=0 # o=anonymous 1531775999 1531775999 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 10274 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 225 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ \[\:\:1\]\:41549\;) ok 226 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ \[\:\:1\]\:33105\;) # uac >> I< HASH(0x55ad52a64198) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52a7af58) RSP(INVITE,200) SDP: audio=[::1]:5624/2 # << # uac >> O> [::1]:58207 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 227 - [uac] RTP done # uas >> O> [::1]:35203 RSP(INVITE,200) SDP: audio=[::1]:5822/2 # I< HASH(0x55ad52a77440) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52a80150) REQ(BYE) NO SDP # << # uas >> O> [::1]:35203 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 228 - [uas] RTP ok # uac >> O> [::1]:58207 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52a64a20) RSP(BYE,200) NO SDP # << # uac >> END # << ok 229 - [uac] END ok 230 - [uas] END # nathelper >> OK # << ok 231 - [nathelper] OK # proxy >> OK # << ok 232 - [proxy] OK # uas >> OK # << ok 233 - [uas] OK # proxy >> ready # << ok 234 - [proxy] ready # uas >> ready # << ok 235 - [uas] ready # uac >> OK # << ok 236 - [uac] OK # uac >> ready # << ok 237 - [uac] ready # uac >> O> [::1]:58207 REQ(INVITE) SDP: audio=[::1]:2324/2 # << ok 238 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52a6be48) REQ(INVITE) SDP: audio=[::1]:2324/2 # << ok 239 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:41423 REQ(INVITE) SDP: audio=[::1]:3422/2 # << ok 240 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52a6d268) REQ(INVITE) SDP: audio=[::1]:3422/2 # << ok 241 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 242 - outgoing on UAC must be the same as incoming on proxy ok 243 - outgoing on proxy must be the same as incoming on UAS ok 244 - allocated addr:port must be different ([::1]:2324|[::1]:3422) ok 245 - ranges must stay the same # uas >> O> [::1]:41745 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 246 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TCP [::1]:41549;branch=z9hG4bK62e5f53d988aa39b4d5d7a5276b3c33762a3701c8205fef07a6f672096c837 # Record-route: # Via: SIP/2.0/TCP [::1]:58207;branch=z9hG4bKab2680c8d27289eda090917535c1aa7d62a3701c8205fefca80b1108a75c7d # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TCP [::1]:33105;branch=z9hG4bK33ec69f231e3eec16e17265aefcd1a3a62a3701c8205fefd4ba022e6c484c7 # Call-id: 6d661cc8bc72d75ad0d3f784af6f64cc # Cseq: 1 INVITE # From: me.uac@example.com;tag=d43f1c4488d2948ec4491c4e99df6860 # Content-type: application/sdp # Content-length: 163 # Max-forwards: 69 # Contact: sip:bSETBTUE6KI7HZTTSMJX5AVWGUVX2UJOWRAGT3F4LC2X4WF2V@[::1]:41549 # To: you.uas@example.com;tag=7e72b70b4d5db6ba13b7a4353cf90ce9 # # v=0 # o=anonymous 1531776001 1531776001 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 3422 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 247 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ \[\:\:1\]\:41549\;) ok 248 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ \[\:\:1\]\:33105\;) # uac >> I< HASH(0x55ad52a673e8) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52a7e0b8) RSP(INVITE,200) SDP: audio=[::1]:11086/2 # << # uac >> O> [::1]:58207 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 249 - [uac] RTP done # uas >> O> [::1]:41745 RSP(INVITE,200) SDP: audio=[::1]:5680/2 # I< HASH(0x55ad52a7b4b0) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52a831f0) REQ(BYE) NO SDP # << # uas >> O> [::1]:41745 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 250 - [uas] RTP ok # uac >> O> [::1]:58207 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52a7de78) RSP(BYE,200) NO SDP # << # uac >> END # << ok 251 - [uac] END ok 252 - [uas] END # ------- test with family ip4 transport tls # UAS on 127.0.0.1:46205 # UAC on 127.0.0.1:45211 # PROXY on 127.0.0.1:51223 127.0.0.1:49705 # proxy >> OK # << ok 253 - [proxy] OK # uas >> OK # << ok 254 - [uas] OK # proxy >> ready # << ok 255 - [proxy] ready # uas >> ready # << ok 256 - [uas] ready # uac >> OK # << ok 257 - [uac] OK # uac >> ready # << ok 258 - [uac] ready # uac >> O> 127.0.0.1:51223 REQ(INVITE) SDP: audio=127.0.0.1:6484/2 # << ok 259 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52d74b68) REQ(INVITE) SDP: audio=127.0.0.1:6484/2 # << ok 260 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:46205 REQ(INVITE) SDP: audio=127.0.0.1:6484/2 # << ok 261 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52d85d50) REQ(INVITE) SDP: audio=127.0.0.1:6484/2 # << ok 262 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 263 - outgoing on UAC must be the same as incoming on proxy ok 264 - outgoing on proxy must be the same as incoming on UAS ok 265 - SDP must pass unchanged to UAS # uas >> O> 127.0.0.1:36465 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 266 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TLS 127.0.0.1:49705;branch=z9hG4bKf9cf75e61045b7eb5e44d3f15b7cdf9b30208e223607c607205848bc56a318 # Record-route: # Via: SIP/2.0/TLS 127.0.0.1:51223;branch=z9hG4bKc1f8f09ea082ad922ea300d12f709d4d30208e223607c604beca2978d92989 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TLS 127.0.0.1:45211;branch=z9hG4bK3e69f0b098dd8c89a5604c61c5f8599a30208e223607c6087b2ff1f8501760 # Call-id: 13cc4b849f742dbd01f22942af29f6bb # Cseq: 1 INVITE # From: me.uac@example.com;tag=27f9c53d520e6adaa69d0c778cb1adc5 # Content-type: application/sdp # Content-length: 175 # Max-forwards: 69 # Contact: sips:bTOCX6BMQN5T36LGXPBEJGQHG2PLQP66UHOH4ICBR6QWRHGIDL5XZUGQ@127.0.0.1:49705 # To: you.uas@example.com;tag=4dc52b06e0ac742d722fa8ab8dc1215e # # v=0 # o=anonymous 1531776003 1531776003 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 6484 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 267 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ 127\.0\.0\.1\:49705\;) ok 268 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ 127\.0\.0\.1\:45211\;) # uac >> I< HASH(0x55ad52d827d0) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52d88d90) RSP(INVITE,200) SDP: audio=127.0.0.1:10502/2 # << # uac >> O> 127.0.0.1:51223 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 269 - [uac] RTP done # uas >> O> 127.0.0.1:36465 RSP(INVITE,200) SDP: audio=127.0.0.1:10502/2 # I< HASH(0x55ad52d96758) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52d9c2a0) REQ(BYE) NO SDP # << # uas >> O> 127.0.0.1:36465 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 270 - [uas] RTP ok # uac >> O> 127.0.0.1:51223 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52d88730) RSP(BYE,200) NO SDP # << # uac >> END # << ok 271 - [uac] END ok 272 - [uas] END # proxy >> OK # << ok 273 - [proxy] OK # uas >> OK # << ok 274 - [uas] OK # proxy >> ready # << ok 275 - [proxy] ready # uas >> ready # << ok 276 - [uas] ready # uac >> OK # << ok 277 - [uac] OK # uac >> ready # O> 127.0.0.1:51223 REQ(INVITE) SDP: audio=127.0.0.1:6484/2 # << ok 278 - [uac] ready ok 279 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52d7a0a8) REQ(INVITE) SDP: audio=127.0.0.1:6484/2 # << ok 280 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:46205 REQ(INVITE) SDP: audio=127.0.0.1:4908/2 # << ok 281 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52d7b6c8) REQ(INVITE) SDP: audio=127.0.0.1:4908/2 # << ok 282 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 283 - outgoing on UAC must be the same as incoming on proxy ok 284 - outgoing on proxy must be the same as incoming on UAS ok 285 - allocated addr:port must be different (127.0.0.1:6484|127.0.0.1:4908) ok 286 - ranges must stay the same # uas >> O> 127.0.0.1:34057 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 287 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TLS 127.0.0.1:49705;branch=z9hG4bKf9cf75e61045b7eb5e44d3f15b7cdf9bac06d930c02dc83da171f300bb7af5 # Record-route: # Via: SIP/2.0/TLS 127.0.0.1:51223;branch=z9hG4bKc1f8f09ea082ad922ea300d12f709d4dac06d930c02dc8302508272b035f34 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TLS 127.0.0.1:45211;branch=z9hG4bK3e69f0b098dd8c89a5604c61c5f8599aac06d930c02dc83a128633165f8e72 # Call-id: 0e87562aff76f92d22784f26733074dc # Cseq: 1 INVITE # From: me.uac@example.com;tag=492fc7f13c93b73b3ee6d474d2f5afa4 # Content-type: application/sdp # Content-length: 175 # Max-forwards: 69 # Contact: sips:bTOCX6BMQN5T36LGXPBEJGQHG2PLQP66UHOH4ICBR6QWRHGIDL5XZUGQ@127.0.0.1:49705 # To: you.uas@example.com;tag=fff31fc797f368194d7d48b117c88cf7 # # v=0 # o=anonymous 1531776005 1531776005 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 4908 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 288 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ 127\.0\.0\.1\:49705\;) ok 289 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ 127\.0\.0\.1\:45211\;) # uac >> I< HASH(0x55ad52d86a48) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52d8c3a8) RSP(INVITE,200) SDP: audio=127.0.0.1:4152/2 # << # uac >> O> 127.0.0.1:51223 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 290 - [uac] RTP done # uas >> O> 127.0.0.1:34057 RSP(INVITE,200) SDP: audio=127.0.0.1:10502/2 # I< HASH(0x55ad52d99280) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52da1f58) REQ(BYE) NO SDP # << # uas >> O> 127.0.0.1:34057 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 291 - [uas] RTP ok # uac >> O> 127.0.0.1:51223 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52d8c078) RSP(BYE,200) NO SDP # << # uac >> END # << ok 292 - [uac] END ok 293 - [uas] END # nathelper >> OK # << ok 294 - [nathelper] OK # proxy >> OK # << ok 295 - [proxy] OK # uas >> OK # << ok 296 - [uas] OK # proxy >> ready # << ok 297 - [proxy] ready # uas >> ready # << ok 298 - [uas] ready # uac >> OK # << ok 299 - [uac] OK # uac >> ready # << ok 300 - [uac] ready # uac >> O> 127.0.0.1:51223 REQ(INVITE) SDP: audio=127.0.0.1:6484/2 # << ok 301 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52d7e408) REQ(INVITE) SDP: audio=127.0.0.1:6484/2 # << ok 302 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:46205 REQ(INVITE) SDP: audio=127.0.0.1:10502/2 # << ok 303 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52d7f188) REQ(INVITE) SDP: audio=127.0.0.1:10502/2 # << ok 304 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 305 - outgoing on UAC must be the same as incoming on proxy ok 306 - outgoing on proxy must be the same as incoming on UAS ok 307 - allocated addr:port must be different (127.0.0.1:6484|127.0.0.1:10502) ok 308 - ranges must stay the same # uas >> O> 127.0.0.1:33959 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 309 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TLS 127.0.0.1:49705;branch=z9hG4bKf9cf75e61045b7eb5e44d3f15b7cdf9b22d492c7d47cb0ddf35eb0b088f438 # Record-route: # Via: SIP/2.0/TLS 127.0.0.1:51223;branch=z9hG4bKc1f8f09ea082ad922ea300d12f709d4d22d492c7d47cb0da6962cc3a6ffcbd # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TLS 127.0.0.1:45211;branch=z9hG4bK3e69f0b098dd8c89a5604c61c5f8599a22d492c7d47cb0d09fffaa31363148 # Call-id: 665d20097872c90cbdc49986d23a600e # Cseq: 1 INVITE # From: me.uac@example.com;tag=caf0d63c16f883d4a15d88715e49bf54 # Content-type: application/sdp # Max-forwards: 69 # Contact: sips:bTOCX6BMQN5T36LGXPBEJGQHG2PLQP66UHOH4ICBR6QWRHGIDL5XZUGQ@127.0.0.1:49705 # Content-length: 176 # To: you.uas@example.com;tag=dc5aba5a477d8f247de355bab6738e04 # # v=0 # o=anonymous 1531776007 1531776007 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 10502 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 310 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ 127\.0\.0\.1\:49705\;) ok 311 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ 127\.0\.0\.1\:45211\;) # uac >> I< HASH(0x55ad52d8c428) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52d92588) RSP(INVITE,200) SDP: audio=127.0.0.1:4204/2 # << # uac >> O> 127.0.0.1:51223 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 312 - [uac] RTP done # uas >> O> 127.0.0.1:33959 RSP(INVITE,200) SDP: audio=127.0.0.1:7922/2 # I< HASH(0x55ad52da0340) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52da62d8) REQ(BYE) NO SDP # << # uas >> O> 127.0.0.1:33959 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 313 - [uas] RTP ok # uac >> O> 127.0.0.1:51223 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52d91fa0) RSP(BYE,200) NO SDP # << # uac >> END # << ok 314 - [uac] END ok 315 - [uas] END # ------- test with family ip6 transport tls # UAS on [::1]:58437 # UAC on [::1]:44079 # PROXY on [::1]:55033 [::1]:51207 # proxy >> OK # << ok 316 - [proxy] OK # uas >> OK # << ok 317 - [uas] OK # proxy >> ready # << ok 318 - [proxy] ready # uas >> ready # << ok 319 - [uas] ready # uac >> OK # << ok 320 - [uac] OK # uac >> ready # << ok 321 - [uac] ready # uac >> O> [::1]:55033 REQ(INVITE) SDP: audio=[::1]:6484/2 # << ok 322 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52d81588) REQ(INVITE) SDP: audio=[::1]:6484/2 # << ok 323 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:58437 REQ(INVITE) SDP: audio=[::1]:6484/2 # << ok 324 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52d84310) REQ(INVITE) SDP: audio=[::1]:6484/2 # << ok 325 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 326 - outgoing on UAC must be the same as incoming on proxy ok 327 - outgoing on proxy must be the same as incoming on UAS ok 328 - SDP must pass unchanged to UAS # uas >> O> [::1]:37485 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 329 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TLS [::1]:51207;branch=z9hG4bK2cf88a9c88168b1e44954cbc45d012757c7e80e3ba447b772a5c2585c3e6ba # Record-route: # Via: SIP/2.0/TLS [::1]:55033;branch=z9hG4bK726e7a2e76355612f9fef6f899097c5b7c7e80e3ba447b782e6f553b04b45d # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TLS [::1]:44079;branch=z9hG4bK8c1c20b0ff93fddb1b862ebe07341f357c7e80e3ba447b74adf8a9e2ce898d # Call-id: 585a76a870c837073936782b46abb29f # Cseq: 1 INVITE # From: me.uac@example.com;tag=834e2114829b51d88b11fcff5ec9818d # Content-type: application/sdp # Content-length: 163 # Max-forwards: 69 # Contact: sips:bTOCX6BMQN5T36LGXPBEJGQHGXHPQVZFZF6F54CJ47GQEADOO@[::1]:51207 # To: you.uas@example.com;tag=f5e7a26a60abbc97b5cf0266efc2470b # # v=0 # o=anonymous 1531776009 1531776009 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 6484 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 330 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ \[\:\:1\]\:51207\;) ok 331 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ \[\:\:1\]\:44079\;) # uac >> I< HASH(0x55ad52d900f8) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52d962b8) RSP(INVITE,200) SDP: audio=[::1]:10502/2 # << # uac >> O> [::1]:55033 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 332 - [uac] RTP done # uas >> O> [::1]:37485 RSP(INVITE,200) SDP: audio=[::1]:10502/2 # I< HASH(0x55ad52da2e40) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52da9c38) REQ(BYE) NO SDP # << # uas >> O> [::1]:37485 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 333 - [uas] RTP ok # uac >> O> [::1]:55033 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52d96048) RSP(BYE,200) NO SDP # << # uac >> END # << ok 334 - [uac] END ok 335 - [uas] END # proxy >> OK # << ok 336 - [proxy] OK # uas >> OK # << ok 337 - [uas] OK # proxy >> ready # << ok 338 - [proxy] ready # uas >> ready # << ok 339 - [uas] ready # uac >> OK # << ok 340 - [uac] OK # uac >> ready # << ok 341 - [uac] ready # uac >> O> [::1]:55033 REQ(INVITE) SDP: audio=[::1]:6484/2 # << ok 342 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52d87198) REQ(INVITE) SDP: audio=[::1]:6484/2 # << ok 343 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:58437 REQ(INVITE) SDP: audio=[::1]:4908/2 # << ok 344 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52d89718) REQ(INVITE) SDP: audio=[::1]:4908/2 # << ok 345 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 346 - outgoing on UAC must be the same as incoming on proxy ok 347 - outgoing on proxy must be the same as incoming on UAS ok 348 - allocated addr:port must be different ([::1]:6484|[::1]:4908) ok 349 - ranges must stay the same # uas >> O> [::1]:34601 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 350 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TLS [::1]:51207;branch=z9hG4bK2cf88a9c88168b1e44954cbc45d01275d244f9a96305d30ed0dc3777aa9938 # Record-route: # Via: SIP/2.0/TLS [::1]:55033;branch=z9hG4bK726e7a2e76355612f9fef6f899097c5bd244f9a96305d30fb1e4c65d100fcf # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TLS [::1]:44079;branch=z9hG4bK8c1c20b0ff93fddb1b862ebe07341f35d244f9a96305d301853341e3f462b0 # Call-id: df57367e1ea01cc688f11650bc555a0f # Cseq: 1 INVITE # From: me.uac@example.com;tag=d744e7c395fc14978b02a48b3e3e10c7 # Content-type: application/sdp # Content-length: 163 # Max-forwards: 69 # Contact: sips:bTOCX6BMQN5T36LGXPBEJGQHGXHPQVZFZF6F54CJ47GQEADOO@[::1]:51207 # To: you.uas@example.com;tag=1fccb95941fa18038a0686871987e23e # # v=0 # o=anonymous 1531776011 1531776011 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 4908 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 351 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ \[\:\:1\]\:51207\;) ok 352 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ \[\:\:1\]\:44079\;) # uac >> I< HASH(0x55ad52d98a50) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52daa720) RSP(INVITE,200) SDP: audio=[::1]:4152/2 # << # uac >> O> [::1]:55033 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 353 - [uac] RTP done # uas >> O> [::1]:34601 RSP(INVITE,200) SDP: audio=[::1]:10502/2 # I< HASH(0x55ad52da4a50) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52da7cb8) REQ(BYE) NO SDP # << # uas >> O> [::1]:34601 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 354 - [uas] RTP ok # uac >> O> [::1]:55033 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52d99008) RSP(BYE,200) NO SDP # << # uac >> END # << ok 355 - [uac] END ok 356 - [uas] END # nathelper >> OK # << ok 357 - [nathelper] OK # proxy >> OK # << ok 358 - [proxy] OK # uas >> OK # << ok 359 - [uas] OK # proxy >> ready # << ok 360 - [proxy] ready # uas >> ready # << ok 361 - [uas] ready # uac >> OK # << ok 362 - [uac] OK # uac >> ready # << ok 363 - [uac] ready # uac >> O> [::1]:55033 REQ(INVITE) SDP: audio=[::1]:6484/2 # << ok 364 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x55ad52d8dfe8) REQ(INVITE) SDP: audio=[::1]:6484/2 # << ok 365 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:58437 REQ(INVITE) SDP: audio=[::1]:10502/2 # << ok 366 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x55ad52d8d978) REQ(INVITE) SDP: audio=[::1]:10502/2 # << ok 367 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 368 - outgoing on UAC must be the same as incoming on proxy ok 369 - outgoing on proxy must be the same as incoming on UAS ok 370 - allocated addr:port must be different ([::1]:6484|[::1]:10502) ok 371 - ranges must stay the same # uas >> O> [::1]:46385 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 372 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TLS [::1]:51207;branch=z9hG4bK2cf88a9c88168b1e44954cbc45d012757309c4dcc75f02e5246f1dd8927a9a # Record-route: # Via: SIP/2.0/TLS [::1]:55033;branch=z9hG4bK726e7a2e76355612f9fef6f899097c5b7309c4dcc75f02e73016e5b684bed4 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TLS [::1]:44079;branch=z9hG4bK8c1c20b0ff93fddb1b862ebe07341f357309c4dcc75f02ee5ad517565500c8 # Call-id: 72b9168ba09f088b5e6ffd1e40a04910 # Cseq: 1 INVITE # From: me.uac@example.com;tag=40b0af4a705be2709b9c9be9e84c3670 # Content-type: application/sdp # Max-forwards: 69 # Contact: sips:bTOCX6BMQN5T36LGXPBEJGQHGXHPQVZFZF6F54CJ47GQEADOO@[::1]:51207 # Content-length: 164 # To: you.uas@example.com;tag=d147e8b9184a24335bceb313785c38a3 # # v=0 # o=anonymous 1531776014 1531776014 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 10502 RTP/AVP 0 101 # a=rtpmap:101 telephone-event/8000 # a=fmtp:101 0-16 # << ok 373 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ \[\:\:1\]\:51207\;) ok 374 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ \[\:\:1\]\:44079\;) # uac >> I< HASH(0x55ad52d9b100) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x55ad52db0500) RSP(INVITE,200) SDP: audio=[::1]:4204/2 # << # uac >> O> [::1]:55033 REQ(ACK) NO SDP # << # uac >> call established # << # uac >> RTP done # << ok 375 - [uac] RTP done # uas >> O> [::1]:46385 RSP(INVITE,200) SDP: audio=[::1]:7922/2 # I< HASH(0x55ad52da87f0) REQ(ACK) NO SDP # call established # << # uas >> I< HASH(0x55ad52dabaf8) REQ(BYE) NO SDP # << # uas >> O> [::1]:46385 RSP(BYE,200) NO SDP # << # uas >> call cleaned up # << # uas >> received 100/100 packets # RTP ok # END # << ok 376 - [uas] RTP ok # uac >> O> [::1]:55033 REQ(BYE) NO SDP # << # uac >> I< HASH(0x55ad52db0290) RSP(BYE,200) NO SDP # << # uac >> END # << ok 377 - [uac] END ok 378 - [uas] END ok t/06_call_with_reinvite.t ............... 1..102 # ------- test with family ip4 transport udp # uas >> OK # << ok 1 - [uas] OK # uas >> Listening # << ok 2 - [uas] Listening # uac >> OK # << ok 3 - [uac] OK # uac >> Started # << ok 4 - [uac] Started # uas >> Call accepted # << ok 5 - [uas] Call accepted # uac >> Start RTP # << ok 6 - [uac] Start RTP # uac >> RTP#50# # << ok 7 - [uac] RTP\#50\# # uas >> got rtp packet#50 # Starting ReInvite # << ok 8 - [uas] got rtp packet\#50 ok 9 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 10 - [uac] Got ReInvite # uas >> Start RTP # << ok 11 - [uas] Start RTP # uas >> RTP#50# # << ok 12 - [uas] RTP\#50\# # uac >> got rtp packet#50 # Send BYE # << ok 13 - [uac] got rtp packet\#50 ok 14 - [uac] Send BYE # uas >> Got RTP # Received BYE # << ok 15 - [uas] Got RTP ok 16 - [uas] Received BYE # uac >> BYE done # << ok 17 - [uac] BYE done # ------- test with family ip6 transport udp # uas >> OK # << ok 18 - [uas] OK # uas >> Listening # << ok 19 - [uas] Listening # uac >> OK # << ok 20 - [uac] OK # uac >> Started # << ok 21 - [uac] Started # uas >> Call accepted # << ok 22 - [uas] Call accepted # uac >> Start RTP # << ok 23 - [uac] Start RTP # uac >> RTP#50# # << ok 24 - [uac] RTP\#50\# # uas >> got rtp packet#50 # Starting ReInvite # << ok 25 - [uas] got rtp packet\#50 ok 26 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 27 - [uac] Got ReInvite # uas >> Start RTP # << ok 28 - [uas] Start RTP # uas >> RTP#50# # << ok 29 - [uas] RTP\#50\# # uac >> got rtp packet#50 # Send BYE # << ok 30 - [uac] got rtp packet\#50 ok 31 - [uac] Send BYE # uas >> Got RTP # Received BYE # << ok 32 - [uas] Got RTP ok 33 - [uas] Received BYE # uac >> BYE done # << ok 34 - [uac] BYE done # ------- test with family ip4 transport tcp # uas >> OK # << ok 35 - [uas] OK # uas >> Listening # << ok 36 - [uas] Listening # uac >> OK # << ok 37 - [uac] OK # uac >> Started # << ok 38 - [uac] Started # uas >> Call accepted # << ok 39 - [uas] Call accepted # uac >> Start RTP # << ok 40 - [uac] Start RTP # uac >> RTP#50# # << ok 41 - [uac] RTP\#50\# # uas >> got rtp packet#50 # Starting ReInvite # << ok 42 - [uas] got rtp packet\#50 ok 43 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 44 - [uac] Got ReInvite # uas >> Start RTP # << ok 45 - [uas] Start RTP # uas >> RTP#50# # << ok 46 - [uas] RTP\#50\# # uac >> got rtp packet#50 # Send BYE # << ok 47 - [uac] got rtp packet\#50 ok 48 - [uac] Send BYE # uas >> Got RTP # Received BYE # << ok 49 - [uas] Got RTP ok 50 - [uas] Received BYE # uac >> BYE done # << ok 51 - [uac] BYE done # ------- test with family ip6 transport tcp # uas >> OK # << ok 52 - [uas] OK # uas >> Listening # << ok 53 - [uas] Listening # uac >> OK # << ok 54 - [uac] OK # uac >> Started # << ok 55 - [uac] Started # uas >> Call accepted # << ok 56 - [uas] Call accepted # uac >> Start RTP # << ok 57 - [uac] Start RTP # uac >> RTP#50# # << ok 58 - [uac] RTP\#50\# # uas >> got rtp packet#50 # Starting ReInvite # << ok 59 - [uas] got rtp packet\#50 ok 60 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 61 - [uac] Got ReInvite # uas >> Start RTP # << ok 62 - [uas] Start RTP # uas >> RTP#50# # << ok 63 - [uas] RTP\#50\# # uac >> got rtp packet#50 # Send BYE # << ok 64 - [uac] got rtp packet\#50 ok 65 - [uac] Send BYE # uas >> Got RTP # Received BYE # << ok 66 - [uas] Got RTP ok 67 - [uas] Received BYE # uac >> BYE done # << ok 68 - [uac] BYE done # ------- test with family ip4 transport tls # uas >> OK # << ok 69 - [uas] OK # uas >> Listening # << ok 70 - [uas] Listening # uac >> OK # << ok 71 - [uac] OK # uac >> Started # << ok 72 - [uac] Started # uas >> Call accepted # << ok 73 - [uas] Call accepted # uac >> Start RTP # << ok 74 - [uac] Start RTP # uac >> RTP#50# # << ok 75 - [uac] RTP\#50\# # uas >> got rtp packet#50 # Starting ReInvite # << ok 76 - [uas] got rtp packet\#50 ok 77 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 78 - [uac] Got ReInvite # uas >> Start RTP # << ok 79 - [uas] Start RTP # uas >> RTP#50# # << ok 80 - [uas] RTP\#50\# # uac >> got rtp packet#50 # Send BYE # << ok 81 - [uac] got rtp packet\#50 ok 82 - [uac] Send BYE # uas >> Got RTP # Received BYE # << ok 83 - [uas] Got RTP ok 84 - [uas] Received BYE # uac >> BYE done # << ok 85 - [uac] BYE done # ------- test with family ip6 transport tls # uas >> OK # << ok 86 - [uas] OK # uas >> Listening # << ok 87 - [uas] Listening # uac >> OK # << ok 88 - [uac] OK # uac >> Started # << ok 89 - [uac] Started # uas >> Call accepted # << ok 90 - [uas] Call accepted # uac >> Start RTP # << ok 91 - [uac] Start RTP # uac >> RTP#50# # << ok 92 - [uac] RTP\#50\# # uas >> got rtp packet#50 # Starting ReInvite # << ok 93 - [uas] got rtp packet\#50 ok 94 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 95 - [uac] Got ReInvite # uas >> Start RTP # << ok 96 - [uas] Start RTP # uas >> RTP#50# # << ok 97 - [uas] RTP\#50\# # uac >> got rtp packet#50 # Send BYE # << ok 98 - [uac] got rtp packet\#50 ok 99 - [uac] Send BYE # uas >> Got RTP # Received BYE # << ok 100 - [uas] Got RTP ok 101 - [uas] Received BYE # uac >> BYE done # << ok 102 - [uac] BYE done ok t/07_call_on_hold.t ..................... 1..96 # ------- test with family ip4 transport udp # uas >> OK # << ok 1 - [uas] OK # uas >> Listening # << ok 2 - [uas] Listening # uac >> OK # << ok 3 - [uac] OK # uac >> Started # << ok 4 - [uac] Started # uas >> Call accepted # << ok 5 - [uas] Call accepted # uac >> Start RTP # << ok 6 - [uac] Start RTP # uac >> RTP#50# # << ok 7 - [uac] RTP\#50\# # uas >> got rtp packet#50 # Starting ReInvite # << ok 8 - [uas] got rtp packet\#50 ok 9 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 10 - [uac] Got ReInvite # uas >> Start RTP # << ok 11 - [uas] Start RTP # uas >> RTP#50# # << ok 12 - [uas] RTP\#50\# # uac >> got rtp packet#50 # Send BYE # << ok 13 - [uac] got rtp packet\#50 ok 14 - [uac] Send BYE # uas >> Received BYE after 0 bytes read # << ok 15 - [uas] Received BYE after 0 bytes read # uac >> BYE done # << ok 16 - [uac] BYE done # ------- test with family ip6 transport udp # uas >> OK # << ok 17 - [uas] OK # uas >> Listening # << ok 18 - [uas] Listening # uac >> OK # << ok 19 - [uac] OK # uac >> Started # << ok 20 - [uac] Started # uas >> Call accepted # << ok 21 - [uas] Call accepted # uac >> Start RTP # << ok 22 - [uac] Start RTP # uac >> RTP#50# # << ok 23 - [uac] RTP\#50\# # uas >> got rtp packet#50 # Starting ReInvite # << ok 24 - [uas] got rtp packet\#50 ok 25 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 26 - [uac] Got ReInvite # uas >> Start RTP # << ok 27 - [uas] Start RTP # uas >> RTP#50# # << ok 28 - [uas] RTP\#50\# # uac >> got rtp packet#50 # Send BYE # << ok 29 - [uac] got rtp packet\#50 ok 30 - [uac] Send BYE # uas >> Received BYE after 0 bytes read # << ok 31 - [uas] Received BYE after 0 bytes read # uac >> BYE done # << ok 32 - [uac] BYE done # ------- test with family ip4 transport tcp # uas >> OK # << ok 33 - [uas] OK # uas >> Listening # << ok 34 - [uas] Listening # uac >> OK # << ok 35 - [uac] OK # uac >> Started # << ok 36 - [uac] Started # uas >> Call accepted # << ok 37 - [uas] Call accepted # uac >> Start RTP # << ok 38 - [uac] Start RTP # uac >> RTP#50# # << ok 39 - [uac] RTP\#50\# # uas >> got rtp packet#50 # Starting ReInvite # << ok 40 - [uas] got rtp packet\#50 ok 41 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 42 - [uac] Got ReInvite # uas >> Start RTP # << ok 43 - [uas] Start RTP # uas >> RTP#50# # << ok 44 - [uas] RTP\#50\# # uac >> got rtp packet#50 # Send BYE # << ok 45 - [uac] got rtp packet\#50 ok 46 - [uac] Send BYE # uas >> Received BYE after 0 bytes read # << ok 47 - [uas] Received BYE after 0 bytes read # uac >> BYE done # << ok 48 - [uac] BYE done # ------- test with family ip6 transport tcp # uas >> OK # << ok 49 - [uas] OK # uas >> Listening # << ok 50 - [uas] Listening # uac >> OK # << ok 51 - [uac] OK # uac >> Started # << ok 52 - [uac] Started # uas >> Call accepted # << ok 53 - [uas] Call accepted # uac >> Start RTP # << ok 54 - [uac] Start RTP # uac >> RTP#50# # << ok 55 - [uac] RTP\#50\# # uas >> got rtp packet#50 # Starting ReInvite # << ok 56 - [uas] got rtp packet\#50 ok 57 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 58 - [uac] Got ReInvite # uas >> Start RTP # << ok 59 - [uas] Start RTP # uas >> RTP#50# # << ok 60 - [uas] RTP\#50\# # uac >> got rtp packet#50 # Send BYE # << ok 61 - [uac] got rtp packet\#50 ok 62 - [uac] Send BYE # uas >> Received BYE after 0 bytes read # << ok 63 - [uas] Received BYE after 0 bytes read # uac >> BYE done # << ok 64 - [uac] BYE done # ------- test with family ip4 transport tls # uas >> OK # << ok 65 - [uas] OK # uas >> Listening # << ok 66 - [uas] Listening # uac >> OK # << ok 67 - [uac] OK # uac >> Started # << ok 68 - [uac] Started # uas >> Call accepted # << ok 69 - [uas] Call accepted # uac >> Start RTP # << ok 70 - [uac] Start RTP # uac >> RTP#50# # << ok 71 - [uac] RTP\#50\# # uas >> got rtp packet#50 # Starting ReInvite # << ok 72 - [uas] got rtp packet\#50 ok 73 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 74 - [uac] Got ReInvite # uas >> Start RTP # << ok 75 - [uas] Start RTP # uas >> RTP#50# # << ok 76 - [uas] RTP\#50\# # uac >> got rtp packet#50 # Send BYE # << ok 77 - [uac] got rtp packet\#50 ok 78 - [uac] Send BYE # uas >> Received BYE after 0 bytes read # << ok 79 - [uas] Received BYE after 0 bytes read # uac >> BYE done # << ok 80 - [uac] BYE done # ------- test with family ip6 transport tls # uas >> OK # << ok 81 - [uas] OK # uas >> Listening # << ok 82 - [uas] Listening # uac >> OK # << ok 83 - [uac] OK # uac >> Started # << ok 84 - [uac] Started # uas >> Call accepted # << ok 85 - [uas] Call accepted # uac >> Start RTP # << ok 86 - [uac] Start RTP # uac >> RTP#50# # << ok 87 - [uac] RTP\#50\# # uas >> got rtp packet#50 # Starting ReInvite # << ok 88 - [uas] got rtp packet\#50 ok 89 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 90 - [uac] Got ReInvite # uas >> Start RTP # << ok 91 - [uas] Start RTP # uas >> RTP#50# # << ok 92 - [uas] RTP\#50\# # uac >> got rtp packet#50 # Send BYE # << ok 93 - [uac] got rtp packet\#50 ok 94 - [uac] Send BYE # uas >> Received BYE after 0 bytes read # << ok 95 - [uas] Received BYE after 0 bytes read # uac >> BYE done # << ok 96 - [uac] BYE done ok t/08_register_with_auth.t ............... 1..42 # ------- test with family ip4 transport udp # registrar >> OK # << ok 1 - [registrar] OK # registrar >> Listening # << ok 2 - [registrar] Listening # uac >> OK # << ok 3 - [uac] OK # uac >> Started # << ok 4 - [uac] Started # uac >> Registered wolf (REALM.example.com) # << ok 5 - [uac] Registered wolf (REALM.example.com) # uac >> Registered 007 (REALM.example.com) # << ok 6 - [uac] Registered 007 (REALM.example.com) # uac >> Registered noauth () # << ok 7 - [uac] Registered noauth () # ------- test with family ip6 transport udp # registrar >> OK # << ok 8 - [registrar] OK # registrar >> Listening # << ok 9 - [registrar] Listening # uac >> OK # << ok 10 - [uac] OK # uac >> Started # << ok 11 - [uac] Started # uac >> Registered wolf (REALM.example.com) # << ok 12 - [uac] Registered wolf (REALM.example.com) # uac >> Registered 007 (REALM.example.com) # << ok 13 - [uac] Registered 007 (REALM.example.com) # uac >> Registered noauth () # << ok 14 - [uac] Registered noauth () # ------- test with family ip4 transport tcp # registrar >> OK # << ok 15 - [registrar] OK # registrar >> Listening # << ok 16 - [registrar] Listening # uac >> OK # << ok 17 - [uac] OK # uac >> Started # << ok 18 - [uac] Started # uac >> Registered wolf (REALM.example.com) # << ok 19 - [uac] Registered wolf (REALM.example.com) # uac >> Registered 007 (REALM.example.com) # << ok 20 - [uac] Registered 007 (REALM.example.com) # uac >> Registered noauth () # << ok 21 - [uac] Registered noauth () # ------- test with family ip6 transport tcp # registrar >> OK # << ok 22 - [registrar] OK # registrar >> Listening # << ok 23 - [registrar] Listening # uac >> OK # << ok 24 - [uac] OK # uac >> Started # << ok 25 - [uac] Started # uac >> Registered wolf (REALM.example.com) # << ok 26 - [uac] Registered wolf (REALM.example.com) # uac >> Registered 007 (REALM.example.com) # << ok 27 - [uac] Registered 007 (REALM.example.com) # uac >> Registered noauth () # << ok 28 - [uac] Registered noauth () # ------- test with family ip4 transport tls # registrar >> OK # << ok 29 - [registrar] OK # registrar >> Listening # << ok 30 - [registrar] Listening # uac >> OK # << ok 31 - [uac] OK # uac >> Started # << ok 32 - [uac] Started # uac >> Registered wolf (REALM.example.com) # << ok 33 - [uac] Registered wolf (REALM.example.com) # uac >> Registered 007 (REALM.example.com) # << ok 34 - [uac] Registered 007 (REALM.example.com) # uac >> Registered noauth () # << ok 35 - [uac] Registered noauth () # ------- test with family ip6 transport tls # registrar >> OK # << ok 36 - [registrar] OK # registrar >> Listening # << ok 37 - [registrar] Listening # uac >> OK # << ok 38 - [uac] OK # uac >> Started # << ok 39 - [uac] Started # uac >> Registered wolf (REALM.example.com) # << ok 40 - [uac] Registered wolf (REALM.example.com) # uac >> Registered 007 (REALM.example.com) # << ok 41 - [uac] Registered 007 (REALM.example.com) # uac >> Registered noauth () # << ok 42 - [uac] Registered noauth () ok t/11_invite_timeout.t ................... 1..48 # ------- test with family ip4 transport udp ok 1 - create UAS socket ok 2 - fork successful ok 3 - UAS created # ok 4 - UAC created ok 5 - UAS ready # ok 6 - invite did not complete ok 7 - got 487 (request canceled) ok 8 - done # ------- test with family ip6 transport udp ok 9 - create UAS socket ok 10 - fork successful ok 11 - UAS created # ok 12 - UAC created ok 13 - UAS ready # ok 14 - invite did not complete ok 15 - got 487 (request canceled) ok 16 - done # ------- test with family ip4 transport tcp ok 17 - create UAS socket ok 18 - fork successful ok 19 - UAS created # ok 20 - UAC created ok 21 - UAS ready # ok 22 - invite did not complete ok 23 - got 487 (request canceled) ok 24 - done # ------- test with family ip6 transport tcp ok 25 - create UAS socket ok 26 - fork successful ok 27 - UAS created # ok 28 - UAC created ok 29 - UAS ready # ok 30 - invite did not complete ok 31 - got 487 (request canceled) ok 32 - done # ------- test with family ip4 transport tls ok 33 - create UAS socket ok 34 - fork successful ok 35 - UAS created # ok 36 - UAC created ok 37 - UAS ready # ok 38 - invite did not complete ok 39 - got 487 (request canceled) ok 40 - done # ------- test with family ip6 transport tls ok 41 - create UAS socket ok 42 - fork successful ok 43 - UAS created # ok 44 - UAC created ok 45 - UAS ready # ok 46 - invite did not complete ok 47 - got 487 (request canceled) ok 48 - done ok # call established # call cleaned up # call established # call cleaned up # call established # call cleaned up # call established # call cleaned up # call established # call cleaned up # call established # call cleaned up t/12_maddr.t ............................ 1..48 # ------- test with family ip4 transport udp ok 1 - create UAS socket ok 2 - fork successful ok 3 - UAS created # ok 4 - UAC created ok 5 - UAS ready # ok 6 - Call established ok 7 - UAS down ok 8 - UAS finished # ------- test with family ip6 transport udp ok 9 - create UAS socket ok 10 - fork successful ok 11 - UAS created # ok 12 - UAC created ok 13 - UAS ready # ok 14 - Call established ok 15 - UAS down ok 16 - UAS finished # ------- test with family ip4 transport tcp ok 17 - create UAS socket ok 18 - fork successful ok 19 - UAS created # ok 20 - UAC created ok 21 - UAS ready # ok 22 - Call established ok 23 - UAS down ok 24 - UAS finished # ------- test with family ip6 transport tcp ok 25 - create UAS socket ok 26 - fork successful ok 27 - UAS created # ok 28 - UAC created ok 29 - UAS ready # ok 30 - Call established ok 31 - UAS down ok 32 - UAS finished # ------- test with family ip4 transport tls ok 33 - create UAS socket ok 34 - fork successful ok 35 - UAS created # ok 36 - UAC created ok 37 - UAS ready # ok 38 - Call established ok 39 - UAS down ok 40 - UAS finished # ------- test with family ip6 transport tls ok 41 - create UAS socket ok 42 - fork successful ok 43 - UAS created # ok 44 - UAC created ok 45 - UAS ready # ok 46 - Call established ok 47 - UAS down ok 48 - UAS finished ok t/13_maddr_proxy.t ...................... 1..1 ok 1 - got target from maddr ok # UAS on 127.0.0.1:5062 # UAC on 127.0.0.1:5060 # PROXY on 127.0.0.1:5063 t/14_bugfix_0.51.t ...................... 1..12 # proxy >> OK # << ok 1 - [proxy] OK # proxy >> Listening # << ok 2 - [proxy] Listening # uas >> OK # << ok 3 - [uas] OK # uas >> Listening # << ok 4 - [uas] Listening # uac >> OK # << ok 5 - [uac] OK # uac >> Started # << ok 6 - [uac] Started # uas >> Call accepted # Starting ReInvite # << ok 7 - [uas] Call accepted ok 8 - [uas] Starting ReInvite # uac >> Got ReInvite # << ok 9 - [uac] Got ReInvite # uas >> Send BYE # << ok 10 - [uas] Send BYE # uac >> Received BYE # << ok 11 - [uac] Received BYE # uas >> BYE done # << ok 12 - [uas] BYE done ok t/15_block_invite.t ..................... 1..8 ok 1 - create UAS socket ok 2 - fork successful ok 3 - UAS created # ok 4 - UAC created ok 5 - UAC ready ok 6 - UAS ready # ok 7 - UAC got block 405 and finished ok 8 - UAS finished ok t/16_drop_invite.t ...................... 1..9 ok 1 - open tempfile ok 2 - create socket ok 3 - fork successful ok 4 - UAS created ok 5 - UAC created ok 6 - UAS ready ok 7 - UAC ready # Now send INVITE for 5 seconds ok 8 - UAC got no answer from UAS ok 9 - UAS got INVITE, dropped it and wrote database file ok t/17_call_with_reinvite_and_auth.t ...... 1..66 # ------- test with family ip4 transport udp # uas >> OK # << ok 1 - [uas] OK # uas >> Listening # << ok 2 - [uas] Listening # uac >> OK # << ok 3 - [uac] OK # uac >> Started # << ok 4 - [uac] Started # uas >> Call accepted # << ok 5 - [uas] Call accepted # uac >> Starting ReInvite # << ok 6 - [uac] Starting ReInvite # uas >> ReInvite accepted # << ok 7 - [uas] ReInvite accepted # uac >> ReInvite done # << ok 8 - [uac] ReInvite done # uac >> Send BYE # << ok 9 - [uac] Send BYE # uas >> Received BYE # << ok 10 - [uas] Received BYE # uac >> BYE done # << ok 11 - [uac] BYE done # ------- test with family ip6 transport udp # uas >> OK # << ok 12 - [uas] OK # uas >> Listening # << ok 13 - [uas] Listening # uac >> OK # << ok 14 - [uac] OK # uac >> Started # << ok 15 - [uac] Started # uas >> Call accepted # << ok 16 - [uas] Call accepted # uac >> Starting ReInvite # << ok 17 - [uac] Starting ReInvite # uas >> ReInvite accepted # << ok 18 - [uas] ReInvite accepted # uac >> ReInvite done # << ok 19 - [uac] ReInvite done # uac >> Send BYE # << ok 20 - [uac] Send BYE # uas >> Received BYE # << ok 21 - [uas] Received BYE # uac >> BYE done # << ok 22 - [uac] BYE done # ------- test with family ip4 transport tcp # uas >> OK # << ok 23 - [uas] OK # uas >> Listening # << ok 24 - [uas] Listening # uac >> OK # << ok 25 - [uac] OK # uac >> Started # << ok 26 - [uac] Started # uas >> Call accepted # << ok 27 - [uas] Call accepted # uac >> Starting ReInvite # << ok 28 - [uac] Starting ReInvite # uas >> ReInvite accepted # << ok 29 - [uas] ReInvite accepted # uac >> ReInvite done # << ok 30 - [uac] ReInvite done # uac >> Send BYE # << ok 31 - [uac] Send BYE # uas >> Received BYE # << ok 32 - [uas] Received BYE # uac >> BYE done # << ok 33 - [uac] BYE done # ------- test with family ip6 transport tcp # uas >> OK # << ok 34 - [uas] OK # uas >> Listening # << ok 35 - [uas] Listening # uac >> OK # << ok 36 - [uac] OK # uac >> Started # << ok 37 - [uac] Started # uas >> Call accepted # << ok 38 - [uas] Call accepted # uac >> Starting ReInvite # << ok 39 - [uac] Starting ReInvite # uas >> ReInvite accepted # << ok 40 - [uas] ReInvite accepted # uac >> ReInvite done # << ok 41 - [uac] ReInvite done # uac >> Send BYE # << ok 42 - [uac] Send BYE # uas >> Received BYE # << ok 43 - [uas] Received BYE # uac >> BYE done # << ok 44 - [uac] BYE done # ------- test with family ip4 transport tls # uas >> OK # << ok 45 - [uas] OK # uas >> Listening # << ok 46 - [uas] Listening # uac >> OK # << ok 47 - [uac] OK # uac >> Started # << ok 48 - [uac] Started # uas >> Call accepted # << ok 49 - [uas] Call accepted # uac >> Starting ReInvite # << ok 50 - [uac] Starting ReInvite # uas >> ReInvite accepted # << ok 51 - [uas] ReInvite accepted # uac >> ReInvite done # << ok 52 - [uac] ReInvite done # uac >> Send BYE # << ok 53 - [uac] Send BYE # uas >> Received BYE # << ok 54 - [uas] Received BYE # uac >> BYE done # << ok 55 - [uac] BYE done # ------- test with family ip6 transport tls # uas >> OK # << ok 56 - [uas] OK # uas >> Listening # << ok 57 - [uas] Listening # uac >> OK # << ok 58 - [uac] OK # uac >> Started # << ok 59 - [uac] Started # uas >> Call accepted # << ok 60 - [uas] Call accepted # uac >> Starting ReInvite # << ok 61 - [uac] Starting ReInvite # uas >> ReInvite accepted # << ok 62 - [uas] ReInvite accepted # uac >> ReInvite done # << ok 63 - [uac] ReInvite done # uac >> Send BYE # << ok 64 - [uac] Send BYE # uas >> Received BYE # << ok 65 - [uas] Received BYE # uac >> BYE done # << ok 66 - [uac] BYE done ok t/18_register_with_auth_step_by_step.t .. 1..48 # ------- test with family ip4 transport udp # registrar >> OK # << ok 1 - [registrar] OK # registrar >> Listening # << ok 2 - [registrar] Listening # uac >> OK # << ok 3 - [uac] OK # uac >> Started # << ok 4 - [uac] Started # uac >> got 401 response # << ok 5 - [uac] got 401 response # uac >> Registered wolf (REALM.example.com) # << ok 6 - [uac] Registered wolf (REALM.example.com) # uac >> Registered 007 (REALM.example.com) # << ok 7 - [uac] Registered 007 (REALM.example.com) # uac >> Registered noauth () # << ok 8 - [uac] Registered noauth () # ------- test with family ip6 transport udp # registrar >> OK # << ok 9 - [registrar] OK # registrar >> Listening # << ok 10 - [registrar] Listening # uac >> OK # << ok 11 - [uac] OK # uac >> Started # << ok 12 - [uac] Started # uac >> got 401 response # << ok 13 - [uac] got 401 response # uac >> Registered wolf (REALM.example.com) # << ok 14 - [uac] Registered wolf (REALM.example.com) # uac >> Registered 007 (REALM.example.com) # << ok 15 - [uac] Registered 007 (REALM.example.com) # uac >> Registered noauth () # << ok 16 - [uac] Registered noauth () # ------- test with family ip4 transport tcp # registrar >> OK # << ok 17 - [registrar] OK # registrar >> Listening # << ok 18 - [registrar] Listening # uac >> OK # << ok 19 - [uac] OK # uac >> Started # << ok 20 - [uac] Started # uac >> got 401 response # << ok 21 - [uac] got 401 response # uac >> Registered wolf (REALM.example.com) # << ok 22 - [uac] Registered wolf (REALM.example.com) # uac >> Registered 007 (REALM.example.com) # << ok 23 - [uac] Registered 007 (REALM.example.com) # uac >> Registered noauth () # << ok 24 - [uac] Registered noauth () # ------- test with family ip6 transport tcp # registrar >> OK # << ok 25 - [registrar] OK # registrar >> Listening # << ok 26 - [registrar] Listening # uac >> OK # << ok 27 - [uac] OK # uac >> Started # << ok 28 - [uac] Started # uac >> got 401 response # << ok 29 - [uac] got 401 response # uac >> Registered wolf (REALM.example.com) # << ok 30 - [uac] Registered wolf (REALM.example.com) # uac >> Registered 007 (REALM.example.com) # << ok 31 - [uac] Registered 007 (REALM.example.com) # uac >> Registered noauth () # << ok 32 - [uac] Registered noauth () # ------- test with family ip4 transport tls # registrar >> OK # << ok 33 - [registrar] OK # registrar >> Listening # << ok 34 - [registrar] Listening # uac >> OK # << ok 35 - [uac] OK # uac >> Started # << ok 36 - [uac] Started # uac >> got 401 response # << ok 37 - [uac] got 401 response # uac >> Registered wolf (REALM.example.com) # << ok 38 - [uac] Registered wolf (REALM.example.com) # uac >> Registered 007 (REALM.example.com) # << ok 39 - [uac] Registered 007 (REALM.example.com) # uac >> Registered noauth () # << ok 40 - [uac] Registered noauth () # ------- test with family ip6 transport tls # registrar >> OK # << ok 41 - [registrar] OK # registrar >> Listening # << ok 42 - [registrar] Listening # uac >> OK # << ok 43 - [uac] OK # uac >> Started # << ok 44 - [uac] Started # uac >> got 401 response # << ok 45 - [uac] got 401 response # uac >> Registered wolf (REALM.example.com) # << ok 46 - [uac] Registered wolf (REALM.example.com) # uac >> Registered 007 (REALM.example.com) # << ok 47 - [uac] Registered 007 (REALM.example.com) # uac >> Registered noauth () # << ok 48 - [uac] Registered noauth () ok # UAS on 127.0.0.1:55243 # UAC on 127.0.0.1:57252 # call created # call established # call cleaned up # received=466 lost=0 expect ca. 467.5 packets, events='1 2 D # 3 4 B *' # UAS on [::1]:54421 # UAC on [::1]:55015 # call created # call established # call cleaned up # received=465 lost=0 expect ca. 467.5 packets, events='1 2 D # 3 4 B *' # UAS on 127.0.0.1:33109 # UAC on 127.0.0.1:37601 # call created # call established # call cleaned up # received=467 lost=0 expect ca. 467.5 packets, events='1 2 D # 3 4 B *' # UAS on [::1]:38479 # UAC on [::1]:45751 # call created # call established # call cleaned up # received=464 lost=0 expect ca. 467.5 packets, events='1 2 D # 3 4 B *' # UAS on 127.0.0.1:42859 # UAC on 127.0.0.1:35771 # call created # call established # call cleaned up # received=466 lost=0 expect ca. 467.5 packets, events='1 2 D # 3 4 B *' # UAS on [::1]:42721 # UAC on [::1]:53563 # call created # call established # call cleaned up # received=465 lost=0 expect ca. 467.5 packets, events='1 2 D # 3 4 B *' t/19_call_with_dtmf.t ................... 1..54 # ------- test with family ip4 transport udp ok 1 - UAC created ok 2 - UAS ready ok 3 - no error on UAC ok 4 - Call established ok 5 - Done sending RTP ok 6 - UAS down ok 7 - UAS RTP ok ok 8 - UAC DTMF received ok 9 - UAS finished with DTMF # ------- test with family ip6 transport udp ok 10 - UAC created ok 11 - UAS ready ok 12 - no error on UAC ok 13 - Call established ok 14 - Done sending RTP ok 15 - UAS down ok 16 - UAS RTP ok ok 17 - UAC DTMF received ok 18 - UAS finished with DTMF # ------- test with family ip4 transport tcp ok 19 - UAC created ok 20 - UAS ready ok 21 - no error on UAC ok 22 - Call established ok 23 - Done sending RTP ok 24 - UAS down ok 25 - UAS RTP ok ok 26 - UAC DTMF received ok 27 - UAS finished with DTMF # ------- test with family ip6 transport tcp ok 28 - UAC created ok 29 - UAS ready ok 30 - no error on UAC ok 31 - Call established ok 32 - Done sending RTP ok 33 - UAS down ok 34 - UAS RTP ok ok 35 - UAC DTMF received ok 36 - UAS finished with DTMF # ------- test with family ip4 transport tls ok 37 - UAC created ok 38 - UAS ready ok 39 - no error on UAC ok 40 - Call established ok 41 - Done sending RTP ok 42 - UAS down ok 43 - UAS RTP ok ok 44 - UAC DTMF received ok 45 - UAS finished with DTMF # ------- test with family ip6 transport tls ok 46 - UAC created ok 47 - UAS ready ok 48 - no error on UAC ok 49 - Call established ok 50 - Done sending RTP ok 51 - UAS down ok 52 - UAS RTP ok ok 53 - UAC DTMF received ok 54 - UAS finished with DTMF ok t/20_channel_on_hold.t .................. 1..72 # ------- test with family ip4 transport udp # uas >> OK # << ok 1 - [uas] OK # uas >> Listening # << ok 2 - [uas] Listening # uac >> OK # << ok 3 - [uac] OK # uac >> Started # << ok 4 - [uac] Started # uas >> Call created # << ok 5 - [uas] Call created # uas >> Call established # << ok 6 - [uas] Call established # uac >> Start RTP # << ok 7 - [uac] Start RTP # uac >> RTP#100# # << ok 8 - [uac] RTP\#100\# # uac >> got rtp packet#100 # << ok 9 - [uac] got rtp packet\#100 # uac >> Send BYE # << ok 10 - [uac] Send BYE # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 11 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> Start RTP # RTP#100# # Call done (1 0 1 1 -- 1 1 0 1) # << ok 12 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip6 transport udp # uas >> OK # << ok 13 - [uas] OK # uas >> Listening # << ok 14 - [uas] Listening # uac >> OK # << ok 15 - [uac] OK # uac >> Started # << ok 16 - [uac] Started # uas >> Call created # << ok 17 - [uas] Call created # uas >> Call established # << ok 18 - [uas] Call established # uac >> Start RTP # << ok 19 - [uac] Start RTP # uac >> RTP#100# # << ok 20 - [uac] RTP\#100\# # uac >> got rtp packet#100 # << ok 21 - [uac] got rtp packet\#100 # uac >> Send BYE # << ok 22 - [uac] Send BYE # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 23 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> Start RTP # RTP#100# # Call done (1 0 1 1 -- 1 1 0 1) # << ok 24 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip4 transport tcp # uas >> OK # << ok 25 - [uas] OK # uas >> Listening # << ok 26 - [uas] Listening # uac >> OK # << ok 27 - [uac] OK # uac >> Started # << ok 28 - [uac] Started # uas >> Call created # << ok 29 - [uas] Call created # uas >> Call established # << ok 30 - [uas] Call established # uac >> Start RTP # << ok 31 - [uac] Start RTP # uac >> RTP#100# # << ok 32 - [uac] RTP\#100\# # uac >> got rtp packet#100 # << ok 33 - [uac] got rtp packet\#100 # uac >> Send BYE # << ok 34 - [uac] Send BYE # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 35 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> Start RTP # RTP#100# # Call done (1 0 1 1 -- 1 1 0 1) # << ok 36 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip6 transport tcp # uas >> OK # << ok 37 - [uas] OK # uas >> Listening # << ok 38 - [uas] Listening # uac >> OK # << ok 39 - [uac] OK # uac >> Started # << ok 40 - [uac] Started # uas >> Call created # << ok 41 - [uas] Call created # uas >> Call established # << ok 42 - [uas] Call established # uac >> Start RTP # << ok 43 - [uac] Start RTP # uac >> RTP#100# # << ok 44 - [uac] RTP\#100\# # uac >> got rtp packet#100 # << ok 45 - [uac] got rtp packet\#100 # uac >> Send BYE # << ok 46 - [uac] Send BYE # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 47 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> Start RTP # RTP#100# # Call done (1 0 1 1 -- 1 1 0 1) # << ok 48 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip4 transport tls # uas >> OK # << ok 49 - [uas] OK # uas >> Listening # << ok 50 - [uas] Listening # uac >> OK # << ok 51 - [uac] OK # uac >> Started # << ok 52 - [uac] Started # uas >> Call created # << ok 53 - [uas] Call created # uas >> Call established # << ok 54 - [uas] Call established # uac >> Start RTP # << ok 55 - [uac] Start RTP # uac >> RTP#100# # << ok 56 - [uac] RTP\#100\# # uac >> got rtp packet#100 # << ok 57 - [uac] got rtp packet\#100 # uac >> Send BYE # << ok 58 - [uac] Send BYE # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 59 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> Start RTP # RTP#100# # Call done (1 0 1 1 -- 1 1 0 1) # << ok 60 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip6 transport tls # uas >> OK # << ok 61 - [uas] OK # uas >> Listening # << ok 62 - [uas] Listening # uac >> OK # << ok 63 - [uac] OK # uac >> Started # << ok 64 - [uac] Started # uas >> Call created # << ok 65 - [uas] Call created # uas >> Call established # << ok 66 - [uas] Call established # uac >> Start RTP # << ok 67 - [uac] Start RTP # uac >> RTP#100# # << ok 68 - [uac] RTP\#100\# # uac >> got rtp packet#100 # << ok 69 - [uac] got rtp packet\#100 # uac >> Send BYE # << ok 70 - [uac] Send BYE # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 71 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> Start RTP # RTP#100# # Call done (1 0 1 1 -- 1 1 0 1) # << ok 72 - [uas] Call done (1 0 1 1 -- 1 1 0 1) ok t/21_channel_on_hold_stateless_proxy.t .. 1..360 # ------- test with family ip4 transport udp no-nat # UAS on 127.0.0.1:43090 # UAC on 127.0.0.1:50481 # PROXY on 127.0.0.1:35764 127.0.0.1:52551 ok 1 - no fork nathelper # proxy >> OK # << ok 2 - [proxy] OK # uas >> OK # << ok 3 - [uas] OK # proxy >> ready # << ok 4 - [proxy] ready # uas >> ready # << ok 5 - [uas] ready # uac >> OK # << ok 6 - [uac] OK # uac >> ready # << ok 7 - [uac] ready # uac >> O> 127.0.0.1:35764 REQ(INVITE) SDP: audio=127.0.0.1:7780/2 audio=127.0.0.1/2 audio=127.0.0.1:5580/2 audio=127.0.0.1:5942/2 # << ok 8 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bf9d91c8) REQ(INVITE) SDP: audio=127.0.0.1:7780/2 audio=127.0.0.1/2 audio=127.0.0.1:5580/2 audio=127.0.0.1:5942/2 # << ok 9 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:43090 REQ(INVITE) SDP: audio=127.0.0.1:7780/2 audio=127.0.0.1/2 audio=127.0.0.1:5580/2 audio=127.0.0.1:5942/2 # << ok 10 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bf9e40e8) REQ(INVITE) SDP: audio=127.0.0.1:7780/2 audio=127.0.0.1/2 audio=127.0.0.1:5580/2 audio=127.0.0.1:5942/2 # << ok 11 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 12 - outgoing on UAC must be the same as incoming on proxy ok 13 - outgoing on proxy must be the same as incoming on UAS ok 14 - SDP must pass unchanged to UAS ok 15 - dummy # uas >> O> 127.0.0.1:52551 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 16 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/UDP 127.0.0.1:52551;branch=z9hG4bK04728a47c4a566d70f56d4d5f001eef226d667fc83ef91798e3448d29a9c35 # Record-route: # Via: SIP/2.0/UDP 127.0.0.1:35764;branch=z9hG4bK5c378f75af75372502748663166a17f226d667fc83ef917eef65e9cff6abd6 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/UDP 127.0.0.1:50481;branch=z9hG4bKf5762584bbb9b162fbe5069940d9d1c626d667fc83ef91714da0719cdf285a # Call-id: 03cc89fe5f3a83ee5cfdf4a8e5d61ee3 # Cseq: 1 INVITE # From: me.uac@example.com;tag=bf03ebe70976b9bf170bd11050c0a8cf # Content-type: application/sdp # Content-length: 188 # Max-forwards: 69 # Contact: sip:bR2OLHBEFYR2FJIWYKRFZIZWCGIOR4WWW2LQKFH3T27GPOWIERMPD3XQ@127.0.0.1:52551 # To: you.uas@example.com;tag=fb28b5f7e44ad6cfec8a0992ce8551aa # # v=0 # o=anonymous 1531776166 1531776166 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 7780 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 5580 RTP/AVP 0 # m=audio 5942 RTP/AVP 0 # << ok 17 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ 127\.0\.0\.1\:52551\;) ok 18 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ 127\.0\.0\.1\:50481\;) # uac >> I< HASH(0x5595bf9d99d8) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bf9da410) RSP(INVITE,200) SDP: audio=127.0.0.1:9716/2 audio=127.0.0.1:10088/2 audio=127.0.0.1/2 audio=127.0.0.1:11498/2 # << # uac >> O> 127.0.0.1:35764 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> 127.0.0.1:35764 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bf9d2890) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 19 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> 127.0.0.1:52551 RSP(INVITE,200) SDP: audio=127.0.0.1:9716/2 audio=127.0.0.1:10088/2 audio=127.0.0.1/2 audio=127.0.0.1:11498/2 # I< HASH(0x5595bf9f26b8) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bf9e34e8) REQ(BYE) NO SDP # O> 127.0.0.1:52551 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 20 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip4 transport udp inline-nat # UAS on 127.0.0.1:36622 # UAC on 127.0.0.1:44959 # PROXY on 127.0.0.1:55496 127.0.0.1:34728 ok 21 - no fork nathelper # proxy >> OK # << ok 22 - [proxy] OK # uas >> OK # << ok 23 - [uas] OK # proxy >> ready # << ok 24 - [proxy] ready # uas >> ready # << ok 25 - [uas] ready # uac >> OK # << ok 26 - [uac] OK # uac >> ready # << ok 27 - [uac] ready # uac >> O> 127.0.0.1:55496 REQ(INVITE) SDP: audio=127.0.0.1:7676/2 audio=127.0.0.1/2 audio=127.0.0.1:10268/2 audio=127.0.0.1:5900/2 # << ok 28 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bf9e28b0) REQ(INVITE) SDP: audio=127.0.0.1:7676/2 audio=127.0.0.1/2 audio=127.0.0.1:10268/2 audio=127.0.0.1:5900/2 # << ok 29 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:36622 REQ(INVITE) SDP: audio=127.0.0.1:3736/2 audio=127.0.0.1/2 audio=127.0.0.1:9694/2 audio=127.0.0.1:8740/2 # << ok 30 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bf9e89f0) REQ(INVITE) SDP: audio=127.0.0.1:3736/2 audio=127.0.0.1/2 audio=127.0.0.1:9694/2 audio=127.0.0.1:8740/2 # << ok 31 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 32 - outgoing on UAC must be the same as incoming on proxy ok 33 - outgoing on proxy must be the same as incoming on UAS ok 34 - allocated addr:port must be different (127.0.0.1:7676|127.0.0.1:3736) ok 35 - ranges must stay the same # uas >> O> 127.0.0.1:34728 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 36 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/UDP 127.0.0.1:34728;branch=z9hG4bK1067c10432fd2eeb7959f3ddfdad36c119ebc4a3eb9b3448ee3d37386ee5b5 # Record-route: # Via: SIP/2.0/UDP 127.0.0.1:55496;branch=z9hG4bKced92453a0f9b271429694178e7541f619ebc4a3eb9b3445e68421da460f79 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/UDP 127.0.0.1:44959;branch=z9hG4bKca9d58ddf76bd811d098bbb53720cd6e19ebc4a3eb9b344e12dc25e1ef7d9d # Call-id: c4172056c7d292cff505e5151de0def7 # Cseq: 1 INVITE # From: me.uac@example.com;tag=c93ecdea960ac4103cc2d2ebf23ba6f3 # Content-type: application/sdp # Max-forwards: 69 # Contact: sip:bZVCQW7CSWLICBRM4J6K43DPTHMEY2OBMYMASJBHGPCQRPXNOG7LITAY@127.0.0.1:34728 # Content-length: 188 # To: you.uas@example.com;tag=0c3aa852650efb4a9c939f7b58c5cac8 # # v=0 # o=anonymous 1531776167 1531776167 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 3736 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 9694 RTP/AVP 0 # m=audio 8740 RTP/AVP 0 # << ok 37 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ 127\.0\.0\.1\:34728\;) ok 38 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ 127\.0\.0\.1\:44959\;) # uac >> I< HASH(0x5595bf9dcf48) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bf9f50a8) RSP(INVITE,200) SDP: audio=127.0.0.1:10988/2 audio=127.0.0.1:8888/2 audio=127.0.0.1/2 audio=127.0.0.1:2162/2 # << # uac >> O> 127.0.0.1:55496 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> 127.0.0.1:55496 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bf9dcab0) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 39 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> 127.0.0.1:34728 RSP(INVITE,200) SDP: audio=127.0.0.1:8718/2 audio=127.0.0.1:7714/2 audio=127.0.0.1/2 audio=127.0.0.1:10432/2 # I< HASH(0x5595bf9f7cd0) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bf9e7df0) REQ(BYE) NO SDP # O> 127.0.0.1:34728 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 40 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip4 transport udp remote-nat # UAS on 127.0.0.1:56561 # UAC on 127.0.0.1:53782 # PROXY on 127.0.0.1:34079 127.0.0.1:41628 # nathelper >> OK # << ok 41 - [nathelper] OK # proxy >> OK # << ok 42 - [proxy] OK # uas >> OK # << ok 43 - [uas] OK # proxy >> ready # << ok 44 - [proxy] ready # uas >> ready # << ok 45 - [uas] ready # uac >> OK # << ok 46 - [uac] OK # uac >> ready # << ok 47 - [uac] ready # uac >> O> 127.0.0.1:34079 REQ(INVITE) SDP: audio=127.0.0.1:3884/2 audio=127.0.0.1/2 audio=127.0.0.1:11760/2 audio=127.0.0.1:5042/2 # << ok 48 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bf9e4ca8) REQ(INVITE) SDP: audio=127.0.0.1:3884/2 audio=127.0.0.1/2 audio=127.0.0.1:11760/2 audio=127.0.0.1:5042/2 # << ok 49 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:56561 REQ(INVITE) SDP: audio=127.0.0.1:3988/2 audio=127.0.0.1/2 audio=127.0.0.1:4576/2 audio=127.0.0.1:8984/2 # << ok 50 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bf9ec3a0) REQ(INVITE) SDP: audio=127.0.0.1:3988/2 audio=127.0.0.1/2 audio=127.0.0.1:4576/2 audio=127.0.0.1:8984/2 # << ok 51 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 52 - outgoing on UAC must be the same as incoming on proxy ok 53 - outgoing on proxy must be the same as incoming on UAS ok 54 - allocated addr:port must be different (127.0.0.1:3884|127.0.0.1:3988) ok 55 - ranges must stay the same # uas >> O> 127.0.0.1:41628 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 56 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/UDP 127.0.0.1:41628;branch=z9hG4bK55b610cab56a793d8da8954cd841aa533bc382b4209bdcb67265e29920918d # Record-route: # Via: SIP/2.0/UDP 127.0.0.1:34079;branch=z9hG4bK6cc6a4842e73e3ea110edac44e3e64c73bc382b4209bdcb2e82723bff5c33a # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/UDP 127.0.0.1:53782;branch=z9hG4bKd6672df9b223ee3eeb211b81440824673bc382b4209bdcb91e32207d0c6324 # Call-id: 94bbcfa31ecb91271b660ae727072cb6 # Cseq: 1 INVITE # From: me.uac@example.com;tag=b0d25f49e6707698093e31932f56e7e0 # Content-type: application/sdp # Max-forwards: 69 # Contact: sip:b7Y2UDMDBVY5VNACQCT5XTWE6GLTFGX26RSTQNWNSBX3F2V5ECYSUKCI@127.0.0.1:41628 # Content-length: 188 # To: you.uas@example.com;tag=5c4392374b712e2d19ef859208d06731 # # v=0 # o=anonymous 1531776167 1531776167 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 3988 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 4576 RTP/AVP 0 # m=audio 8984 RTP/AVP 0 # << ok 57 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ 127\.0\.0\.1\:41628\;) ok 58 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ 127\.0\.0\.1\:53782\;) # uac >> I< HASH(0x5595bf9e2168) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bf9f8498) RSP(INVITE,200) SDP: audio=127.0.0.1:9624/2 audio=127.0.0.1:3926/2 audio=127.0.0.1/2 audio=127.0.0.1:2720/2 # << # uac >> O> 127.0.0.1:34079 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> 127.0.0.1:34079 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bf9e1778) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 59 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> 127.0.0.1:41628 RSP(INVITE,200) SDP: audio=127.0.0.1:11544/2 audio=127.0.0.1:3060/2 audio=127.0.0.1/2 audio=127.0.0.1:4394/2 # I< HASH(0x5595bf9fc180) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bf9eb8d8) REQ(BYE) NO SDP # O> 127.0.0.1:41628 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 60 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip6 transport udp no-nat # UAS on [::1]:58532 # UAC on [::1]:41816 # PROXY on [::1]:52878 [::1]:33458 ok 61 - no fork nathelper # proxy >> OK # << ok 62 - [proxy] OK # uas >> OK # << ok 63 - [uas] OK # proxy >> ready # << ok 64 - [proxy] ready # uas >> ready # << ok 65 - [uas] ready # uac >> OK # << ok 66 - [uac] OK # uac >> ready # << ok 67 - [uac] ready # uac >> O> [::1]:52878 REQ(INVITE) SDP: audio=[::1]:11882/2 audio=::1/2 audio=[::1]:5986/2 audio=[::1]:9698/2 # << ok 68 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bf9e9498) REQ(INVITE) SDP: audio=[::1]:11882/2 audio=::1/2 audio=[::1]:5986/2 audio=[::1]:9698/2 # << ok 69 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:58532 REQ(INVITE) SDP: audio=[::1]:11882/2 audio=::1/2 audio=[::1]:5986/2 audio=[::1]:9698/2 # << ok 70 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bf9f2470) REQ(INVITE) SDP: audio=[::1]:11882/2 audio=::1/2 audio=[::1]:5986/2 audio=[::1]:9698/2 # << ok 71 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 72 - outgoing on UAC must be the same as incoming on proxy ok 73 - outgoing on proxy must be the same as incoming on UAS ok 74 - SDP must pass unchanged to UAS ok 75 - dummy # uas >> O> [::1]:33458 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 76 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/UDP [::1]:33458;branch=z9hG4bKea660fbfcd2142b67d619927f726f5af3e9989862e5c41a07ef605d115b2dd # Record-route: # Via: SIP/2.0/UDP [::1]:52878;branch=z9hG4bK13bea48cffa62a2f81f14bcf87de1ef73e9989862e5c41a2db9c83052d626d # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/UDP [::1]:41816;branch=z9hG4bK227be20e7e52ca824687b61e403822c33e9989862e5c41acf7b591e2c3460e # Call-id: ab87bee37a3942e1d05ac8b35829e925 # Cseq: 1 INVITE # From: me.uac@example.com;tag=de331d090e16fdb3dd166461d20cb616 # Content-type: application/sdp # Content-length: 177 # Max-forwards: 69 # Contact: sip:b65QPXK2KUWMVA2YVFD73BYFMWOKUZCNWSB23BKD25ABV2F5V@[::1]:33458 # To: you.uas@example.com;tag=ce0492100f3df5347cfe80a7c20b5e2e # # v=0 # o=anonymous 1531776168 1531776168 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 11882 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 5986 RTP/AVP 0 # m=audio 9698 RTP/AVP 0 # << ok 77 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ \[\:\:1\]\:33458\;) ok 78 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ \[\:\:1\]\:41816\;) # uac >> I< HASH(0x5595bf9e6420) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bf9fcd90) RSP(INVITE,200) SDP: audio=[::1]:9454/2 audio=[::1]:7736/2 audio=::1/2 audio=[::1]:9590/2 # << # uac >> O> [::1]:52878 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # Send BYE # << # uac >> O> [::1]:52878 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bf9fcf40) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 79 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> [::1]:33458 RSP(INVITE,200) SDP: audio=[::1]:9454/2 audio=[::1]:7736/2 audio=::1/2 audio=[::1]:9590/2 # I< HASH(0x5595bfa01828) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bf9f4950) REQ(BYE) NO SDP # O> [::1]:33458 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 80 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip6 transport udp inline-nat # UAS on [::1]:42179 # UAC on [::1]:52671 # PROXY on [::1]:38675 [::1]:60882 ok 81 - no fork nathelper # proxy >> OK # << ok 82 - [proxy] OK # uas >> OK # << ok 83 - [uas] OK # proxy >> ready # << ok 84 - [proxy] ready # uas >> ready # << ok 85 - [uas] ready # uac >> OK # << ok 86 - [uac] OK # uac >> ready # << ok 87 - [uac] ready # uac >> O> [::1]:38675 REQ(INVITE) SDP: audio=[::1]:4980/2 audio=::1/2 audio=[::1]:2136/2 audio=[::1]:7130/2 # << ok 88 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bf9ef8a8) REQ(INVITE) SDP: audio=[::1]:4980/2 audio=::1/2 audio=[::1]:2136/2 audio=[::1]:7130/2 # << ok 89 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:42179 REQ(INVITE) SDP: audio=[::1]:4782/2 audio=::1/2 audio=[::1]:7712/2 audio=[::1]:8416/2 # << ok 90 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bf9f5a68) REQ(INVITE) SDP: audio=[::1]:4782/2 audio=::1/2 audio=[::1]:7712/2 audio=[::1]:8416/2 # << ok 91 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 92 - outgoing on UAC must be the same as incoming on proxy ok 93 - outgoing on proxy must be the same as incoming on UAS ok 94 - allocated addr:port must be different ([::1]:4980|[::1]:4782) ok 95 - ranges must stay the same # uas >> O> [::1]:60882 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 96 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/UDP [::1]:60882;branch=z9hG4bKbf4dc97988994df16f955d3c5a07743c27039e2997d1199725536e1fa8790e # Record-route: # Via: SIP/2.0/UDP [::1]:38675;branch=z9hG4bK9629467440796849ac4e01567588e01d27039e2997d11990923b8c93a5d882 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/UDP [::1]:52671;branch=z9hG4bKab864abe787ec3a6feb15c2bd05135df27039e2997d1199c12e7e005981ac1 # Call-id: a98f99483d2642f5ea8c2061c0f987fc # Cseq: 1 INVITE # From: me.uac@example.com;tag=cc5bb73d18181d865ea13268daf4d4ba # Content-type: application/sdp # Content-length: 176 # Max-forwards: 69 # Contact: sip:bSWVOZUCBFQ77IEV4RNKRVUL4RRKUWEZE7QCSSLQDIIRGNZVF@[::1]:60882 # To: you.uas@example.com;tag=53f380034c7d2650d36554f6442deef0 # # v=0 # o=anonymous 1531776169 1531776169 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 4782 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 7712 RTP/AVP 0 # m=audio 8416 RTP/AVP 0 # << ok 97 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ \[\:\:1\]\:60882\;) ok 98 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ \[\:\:1\]\:52671\;) # uac >> I< HASH(0x5595bf9e9d98) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfa01288) RSP(INVITE,200) SDP: audio=[::1]:3562/2 audio=[::1]:9354/2 audio=::1/2 audio=[::1]:2336/2 # << # uac >> O> [::1]:38675 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> [::1]:38675 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfa01438) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 99 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> [::1]:60882 RSP(INVITE,200) SDP: audio=[::1]:2728/2 audio=[::1]:4600/2 audio=::1/2 audio=[::1]:3070/2 # I< HASH(0x5595bfa074f0) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bf9f7ca0) REQ(BYE) NO SDP # O> [::1]:60882 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 100 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip6 transport udp remote-nat # UAS on [::1]:35992 # UAC on [::1]:45596 # PROXY on [::1]:51009 [::1]:39511 # nathelper >> OK # << ok 101 - [nathelper] OK # proxy >> OK # << ok 102 - [proxy] OK # uas >> OK # << ok 103 - [uas] OK # proxy >> ready # << ok 104 - [proxy] ready # uas >> ready # << ok 105 - [uas] ready # uac >> OK # << ok 106 - [uac] OK # uac >> ready # << ok 107 - [uac] ready # uac >> O> [::1]:51009 REQ(INVITE) SDP: audio=[::1]:11784/2 audio=::1/2 audio=[::1]:4894/2 audio=[::1]:3904/2 # << ok 108 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bf9d23c8) REQ(INVITE) SDP: audio=[::1]:11784/2 audio=::1/2 audio=[::1]:4894/2 audio=[::1]:3904/2 # << ok 109 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:35992 REQ(INVITE) SDP: audio=[::1]:7340/2 audio=::1/2 audio=[::1]:6896/2 audio=[::1]:3346/2 # << ok 110 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bf9f8e28) REQ(INVITE) SDP: audio=[::1]:7340/2 audio=::1/2 audio=[::1]:6896/2 audio=[::1]:3346/2 # << ok 111 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 112 - outgoing on UAC must be the same as incoming on proxy ok 113 - outgoing on proxy must be the same as incoming on UAS ok 114 - allocated addr:port must be different ([::1]:11784|[::1]:7340) ok 115 - ranges must stay the same # uas >> O> [::1]:39511 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 116 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/UDP [::1]:39511;branch=z9hG4bKd4df7bed65dbf4665c7888825552ff023021db42f6fb91addfafccef0b504a # Record-route: # Via: SIP/2.0/UDP [::1]:51009;branch=z9hG4bK69dc79ca285356f164cd18295141da293021db42f6fb91a34ed971a94597d1 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/UDP [::1]:45596;branch=z9hG4bKf53ed574317b8489224799b08f7624f13021db42f6fb91aefcf345e6d3378a # Call-id: 0887eebd9f8905906f92860a2775492a # Cseq: 1 INVITE # From: me.uac@example.com;tag=7738344a7543ea2d729c1c5505819cc8 # Content-type: application/sdp # Max-forwards: 69 # Contact: sip:bYHQNFY5XAG5SM3CKWJMUQBPQFPAGBFAE2LA4D5DCKLHYIJL6@[::1]:39511 # Content-length: 176 # To: you.uas@example.com;tag=3e14bd5a6fea2fe2126eafc83a063c81 # # v=0 # o=anonymous 1531776170 1531776170 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 7340 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 6896 RTP/AVP 0 # m=audio 3346 RTP/AVP 0 # << ok 117 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ \[\:\:1\]\:39511\;) ok 118 - [uas] (?^i:via\:\ SIP\/2\.0\/udp\ \[\:\:1\]\:45596\;) # uac >> I< HASH(0x5595bf9ecd38) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfa05968) RSP(INVITE,200) SDP: audio=[::1]:8162/2 audio=[::1]:6830/2 audio=::1/2 audio=[::1]:3580/2 # << # uac >> O> [::1]:51009 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> [::1]:51009 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bf9e6058) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 119 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> [::1]:39511 RSP(INVITE,200) SDP: audio=[::1]:8952/2 audio=[::1]:9344/2 audio=::1/2 audio=[::1]:5018/2 # I< HASH(0x5595bfa06ea8) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bf9e5bb8) REQ(BYE) NO SDP # O> [::1]:39511 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 120 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip4 transport tcp no-nat # UAS on 127.0.0.1:48667 # UAC on 127.0.0.1:50033 # PROXY on 127.0.0.1:54941 127.0.0.1:59913 ok 121 - no fork nathelper # proxy >> OK # << ok 122 - [proxy] OK # uas >> OK # << ok 123 - [uas] OK # proxy >> ready # << ok 124 - [proxy] ready # uas >> ready # << ok 125 - [uas] ready # uac >> OK # << ok 126 - [uac] OK # uac >> ready # << ok 127 - [uac] ready # uac >> O> 127.0.0.1:54941 REQ(INVITE) SDP: audio=127.0.0.1:4490/2 audio=127.0.0.1/2 audio=127.0.0.1:5122/2 audio=127.0.0.1:2996/2 # << ok 128 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bf9f5d30) REQ(INVITE) SDP: audio=127.0.0.1:4490/2 audio=127.0.0.1/2 audio=127.0.0.1:5122/2 audio=127.0.0.1:2996/2 # << ok 129 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:48667 REQ(INVITE) SDP: audio=127.0.0.1:4490/2 audio=127.0.0.1/2 audio=127.0.0.1:5122/2 audio=127.0.0.1:2996/2 # << ok 130 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bf9fcf78) REQ(INVITE) SDP: audio=127.0.0.1:4490/2 audio=127.0.0.1/2 audio=127.0.0.1:5122/2 audio=127.0.0.1:2996/2 # << ok 131 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 132 - outgoing on UAC must be the same as incoming on proxy ok 133 - outgoing on proxy must be the same as incoming on UAS ok 134 - SDP must pass unchanged to UAS ok 135 - dummy # uas >> O> 127.0.0.1:39811 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 136 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TCP 127.0.0.1:59913;branch=z9hG4bK5bed5c8826965155f714d0bc9717129bcc1aee175440ad5af04769206b462c # Record-route: # Via: SIP/2.0/TCP 127.0.0.1:54941;branch=z9hG4bK3ef905fbbd2c04a5370b24d07057b822cc1aee175440ad5dccaa696df48c4b # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TCP 127.0.0.1:50033;branch=z9hG4bK94d21ef97df810d1277fab8206529f39cc1aee175440ad5aea6120cad4ac7f # Call-id: 16d42b782a7726583f67d362c00b713f # Cseq: 1 INVITE # From: me.uac@example.com;tag=413e0b8e2ae639c4afd26ab366f47024 # Content-type: application/sdp # Content-length: 188 # Max-forwards: 69 # Contact: sip:b5FAQ5X4HSXHOLV2ENVACQHF6IQV22D7R2PI2Q3HOOHYFZHULEZE5G5Y@127.0.0.1:59913 # To: you.uas@example.com;tag=afeea908693bf7557c403ea838ae8540 # # v=0 # o=anonymous 1531776170 1531776170 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 4490 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 5122 RTP/AVP 0 # m=audio 2996 RTP/AVP 0 # << ok 137 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ 127\.0\.0\.1\:59913\;) ok 138 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ 127\.0\.0\.1\:50033\;) # uac >> I< HASH(0x5595bf9f1c10) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfa09a40) RSP(INVITE,200) SDP: audio=127.0.0.1:9246/2 audio=127.0.0.1:10586/2 audio=127.0.0.1/2 audio=127.0.0.1:5402/2 # << # uac >> O> 127.0.0.1:54941 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> 127.0.0.1:54941 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfa09ae8) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 139 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> 127.0.0.1:39811 RSP(INVITE,200) SDP: audio=127.0.0.1:9246/2 audio=127.0.0.1:10586/2 audio=127.0.0.1/2 audio=127.0.0.1:5402/2 # I< HASH(0x5595bfa0aa00) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bf9e8028) REQ(BYE) NO SDP # O> 127.0.0.1:39811 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 140 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip4 transport tcp inline-nat # UAS on 127.0.0.1:44269 # UAC on 127.0.0.1:48651 # PROXY on 127.0.0.1:56591 127.0.0.1:40755 ok 141 - no fork nathelper # proxy >> OK # << ok 142 - [proxy] OK # uas >> OK # << ok 143 - [uas] OK # proxy >> ready # << ok 144 - [proxy] ready # uas >> ready # << ok 145 - [uas] ready # uac >> OK # << ok 146 - [uac] OK # uac >> ready # << ok 147 - [uac] ready # uac >> O> 127.0.0.1:56591 REQ(INVITE) SDP: audio=127.0.0.1:11504/2 audio=127.0.0.1/2 audio=127.0.0.1:6968/2 audio=127.0.0.1:6542/2 # << ok 148 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bf9fb250) REQ(INVITE) SDP: audio=127.0.0.1:11504/2 audio=127.0.0.1/2 audio=127.0.0.1:6968/2 audio=127.0.0.1:6542/2 # << ok 149 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:44269 REQ(INVITE) SDP: audio=127.0.0.1:5668/2 audio=127.0.0.1/2 audio=127.0.0.1:11174/2 audio=127.0.0.1:6250/2 # << ok 150 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bfa01170) REQ(INVITE) SDP: audio=127.0.0.1:5668/2 audio=127.0.0.1/2 audio=127.0.0.1:11174/2 audio=127.0.0.1:6250/2 # << ok 151 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 152 - outgoing on UAC must be the same as incoming on proxy ok 153 - outgoing on proxy must be the same as incoming on UAS ok 154 - allocated addr:port must be different (127.0.0.1:11504|127.0.0.1:5668) ok 155 - ranges must stay the same # uas >> O> 127.0.0.1:42955 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 156 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TCP 127.0.0.1:40755;branch=z9hG4bKd2e539123d06f770030214093a592309018ef4f152fd9a7b36f6952bd5086a # Record-route: # Via: SIP/2.0/TCP 127.0.0.1:56591;branch=z9hG4bK678519f0f1bddbdb846c783d27f02a28018ef4f152fd9a7181af0c7fb43a23 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TCP 127.0.0.1:48651;branch=z9hG4bKce2e7b21eeaacd2febbb7c3a76812393018ef4f152fd9a76a1f8a6d3921bf7 # Call-id: a35886445345d4391590e7fc5a10237f # Cseq: 1 INVITE # From: me.uac@example.com;tag=0bb749d173376037a00f5bbf29cfb405 # Content-type: application/sdp # Content-length: 189 # Max-forwards: 69 # Contact: sip:bLQUFP2MM2JSE7BF3KQ322H5E5LEPDFMENPMVIWYW45PU7GKTN3PELLI@127.0.0.1:40755 # To: you.uas@example.com;tag=9d7c0dbf77fdacf944307541c88f0234 # # v=0 # o=anonymous 1531776171 1531776171 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 5668 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 11174 RTP/AVP 0 # m=audio 6250 RTP/AVP 0 # << ok 157 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ 127\.0\.0\.1\:40755\;) ok 158 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ 127\.0\.0\.1\:48651\;) # uac >> I< HASH(0x5595bf9f4c28) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfa0c578) RSP(INVITE,200) SDP: audio=127.0.0.1:4110/2 audio=127.0.0.1:2062/2 audio=127.0.0.1/2 audio=127.0.0.1:10510/2 # << # uac >> O> 127.0.0.1:56591 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> 127.0.0.1:56591 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfa0c428) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 159 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> 127.0.0.1:42955 RSP(INVITE,200) SDP: audio=127.0.0.1:6874/2 audio=127.0.0.1:7236/2 audio=127.0.0.1/2 audio=127.0.0.1:7610/2 # I< HASH(0x5595bfa04c88) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bf9ecf30) REQ(BYE) NO SDP # O> 127.0.0.1:42955 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 160 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip4 transport tcp remote-nat # UAS on 127.0.0.1:36867 # UAC on 127.0.0.1:34225 # PROXY on 127.0.0.1:59655 127.0.0.1:42255 # nathelper >> OK # << ok 161 - [nathelper] OK # proxy >> OK # << ok 162 - [proxy] OK # uas >> OK # << ok 163 - [uas] OK # proxy >> ready # << ok 164 - [proxy] ready # uas >> ready # << ok 165 - [uas] ready # uac >> OK # << ok 166 - [uac] OK # uac >> ready # << ok 167 - [uac] ready # uac >> O> 127.0.0.1:59655 REQ(INVITE) SDP: audio=127.0.0.1:4808/2 audio=127.0.0.1/2 audio=127.0.0.1:4008/2 audio=127.0.0.1:3932/2 # << ok 168 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bf9fad68) REQ(INVITE) SDP: audio=127.0.0.1:4808/2 audio=127.0.0.1/2 audio=127.0.0.1:4008/2 audio=127.0.0.1:3932/2 # << ok 169 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:36867 REQ(INVITE) SDP: audio=127.0.0.1:7516/2 audio=127.0.0.1/2 audio=127.0.0.1:5784/2 audio=127.0.0.1:3264/2 # << ok 170 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bfa050a0) REQ(INVITE) SDP: audio=127.0.0.1:7516/2 audio=127.0.0.1/2 audio=127.0.0.1:5784/2 audio=127.0.0.1:3264/2 # << ok 171 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 172 - outgoing on UAC must be the same as incoming on proxy ok 173 - outgoing on proxy must be the same as incoming on UAS ok 174 - allocated addr:port must be different (127.0.0.1:4808|127.0.0.1:7516) ok 175 - ranges must stay the same # uas >> O> 127.0.0.1:39265 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 176 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TCP 127.0.0.1:42255;branch=z9hG4bKc9a76a2479a7e25bd1f261621bbe88ad5b312e04df5c32007d8f695a8dbade # Record-route: # Via: SIP/2.0/TCP 127.0.0.1:59655;branch=z9hG4bKbf9cd9e8a89adab9e2c538699de992ac5b312e04df5c320532f8e9d4324b1a # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TCP 127.0.0.1:34225;branch=z9hG4bK1090b623a45a85297d5d04b0ab3613b95b312e04df5c3201ae5c6583cd37b1 # Call-id: fd9f65d57bca3b212ac981503190635c # Cseq: 1 INVITE # From: me.uac@example.com;tag=fcaf7f95f957ba8fc0b43a853f5125a0 # Content-type: application/sdp # Content-length: 188 # Max-forwards: 69 # Contact: sip:bYVWEFP4YKDIOGWKHPXBXRMLYRG6FGH5TM7PLXTOJOGLT3B2YIUJIO3Q@127.0.0.1:42255 # To: you.uas@example.com;tag=f81d21b887a9434144e8dec0a7927e01 # # v=0 # o=anonymous 1531776172 1531776172 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 7516 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 5784 RTP/AVP 0 # m=audio 3264 RTP/AVP 0 # << ok 177 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ 127\.0\.0\.1\:42255\;) ok 178 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ 127\.0\.0\.1\:34225\;) # uac >> I< HASH(0x5595bf9fc5d8) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfa10db8) RSP(INVITE,200) SDP: audio=127.0.0.1:4360/2 audio=127.0.0.1:6982/2 audio=127.0.0.1/2 audio=127.0.0.1:11594/2 # << # uac >> O> 127.0.0.1:59655 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> 127.0.0.1:59655 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfa10cc8) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 179 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> 127.0.0.1:39265 RSP(INVITE,200) SDP: audio=127.0.0.1:10116/2 audio=127.0.0.1:2176/2 audio=127.0.0.1/2 audio=127.0.0.1:10248/2 # I< HASH(0x5595bfa08c68) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bfa01660) REQ(BYE) NO SDP # O> 127.0.0.1:39265 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 180 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip6 transport tcp no-nat # UAS on [::1]:51987 # UAC on [::1]:47621 # PROXY on [::1]:36813 [::1]:34673 ok 181 - no fork nathelper # proxy >> OK # << ok 182 - [proxy] OK # uas >> OK # << ok 183 - [uas] OK # proxy >> ready # << ok 184 - [proxy] ready # uas >> ready # << ok 185 - [uas] ready # uac >> OK # << ok 186 - [uac] OK # uac >> ready # << ok 187 - [uac] ready # uac >> O> [::1]:36813 REQ(INVITE) SDP: audio=[::1]:8086/2 audio=::1/2 audio=[::1]:11838/2 audio=[::1]:8456/2 # << ok 188 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bf9fee20) REQ(INVITE) SDP: audio=[::1]:8086/2 audio=::1/2 audio=[::1]:11838/2 audio=[::1]:8456/2 # << ok 189 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:51987 REQ(INVITE) SDP: audio=[::1]:8086/2 audio=::1/2 audio=[::1]:11838/2 audio=[::1]:8456/2 # << ok 190 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bfa08cd0) REQ(INVITE) SDP: audio=[::1]:8086/2 audio=::1/2 audio=[::1]:11838/2 audio=[::1]:8456/2 # << ok 191 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 192 - outgoing on UAC must be the same as incoming on proxy ok 193 - outgoing on proxy must be the same as incoming on UAS ok 194 - SDP must pass unchanged to UAS ok 195 - dummy # uas >> O> [::1]:42297 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 196 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TCP [::1]:34673;branch=z9hG4bK8e0235f206f596f71f07c43ec2da0d46c4593d9d1e23999d4d0d92cd110212 # Record-route: # Via: SIP/2.0/TCP [::1]:36813;branch=z9hG4bK200e6aa5c99b2a046159b343c88fc30dc4593d9d1e23999a15987d14daea50 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TCP [::1]:47621;branch=z9hG4bK006ec3387089cc9fa1b82febc9d08ea9c4593d9d1e239998bbf39934aee475 # Call-id: 3d29c8fda6d3bb8f3c3f0e451a936e2d # Cseq: 1 INVITE # From: me.uac@example.com;tag=cda81122f7c804c573c5a8287183c1c6 # Content-type: application/sdp # Content-length: 177 # Max-forwards: 69 # Contact: sip:bPDSS2MMRUZ3P2CINTA5YK7FSHH7ZTA5XET2XQYA25IK77KZ2@[::1]:34673 # To: you.uas@example.com;tag=c17638ff9da9e9c09378b0bcc25047f1 # # v=0 # o=anonymous 1531776173 1531776173 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 8086 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 11838 RTP/AVP 0 # m=audio 8456 RTP/AVP 0 # << ok 197 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ \[\:\:1\]\:34673\;) ok 198 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ \[\:\:1\]\:47621\;) # uac >> I< HASH(0x5595bfa00070) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfa00bf8) RSP(INVITE,200) SDP: audio=[::1]:10670/2 audio=[::1]:5746/2 audio=::1/2 audio=[::1]:3736/2 # << # uac >> O> [::1]:36813 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> [::1]:36813 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfa00910) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 199 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> [::1]:42297 RSP(INVITE,200) SDP: audio=[::1]:10670/2 audio=[::1]:5746/2 audio=::1/2 audio=[::1]:3736/2 # I< HASH(0x5595bfa15230) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bfa056c0) REQ(BYE) NO SDP # O> [::1]:42297 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 200 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip6 transport tcp inline-nat # UAS on [::1]:48709 # UAC on [::1]:53881 # PROXY on [::1]:58219 [::1]:55403 ok 201 - no fork nathelper # proxy >> OK # << ok 202 - [proxy] OK # uas >> OK # << ok 203 - [uas] OK # proxy >> ready # << ok 204 - [proxy] ready # uas >> ready # << ok 205 - [uas] ready # uac >> OK # << ok 206 - [uac] OK # uac >> ready # << ok 207 - [uac] ready # uac >> O> [::1]:58219 REQ(INVITE) SDP: audio=[::1]:11432/2 audio=::1/2 audio=[::1]:7222/2 audio=[::1]:11018/2 # << ok 208 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bfa03680) REQ(INVITE) SDP: audio=[::1]:11432/2 audio=::1/2 audio=[::1]:7222/2 audio=[::1]:11018/2 # << ok 209 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:48709 REQ(INVITE) SDP: audio=[::1]:6022/2 audio=::1/2 audio=[::1]:3858/2 audio=[::1]:2930/2 # << ok 210 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bfa098c0) REQ(INVITE) SDP: audio=[::1]:6022/2 audio=::1/2 audio=[::1]:3858/2 audio=[::1]:2930/2 # << ok 211 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 212 - outgoing on UAC must be the same as incoming on proxy ok 213 - outgoing on proxy must be the same as incoming on UAS ok 214 - allocated addr:port must be different ([::1]:11432|[::1]:6022) ok 215 - ranges must stay the same # uas >> O> [::1]:46843 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 216 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TCP [::1]:55403;branch=z9hG4bKf90ea6ef1854f0c3b0244145ca758fa111e6465cde9527b1cf92bfe0f67430 # Record-route: # Via: SIP/2.0/TCP [::1]:58219;branch=z9hG4bKe19aa428e9f9eb6bb84d6a4add23752311e6465cde9527b5da724822272356 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TCP [::1]:53881;branch=z9hG4bK21420cdcca2055a3bd016a39713d4a3611e6465cde9527ba51500817dcb3e8 # Call-id: 5629e1d42954285e6e9d88010066a4cd # Cseq: 1 INVITE # From: me.uac@example.com;tag=4611f2a28aeb4726a8332f880e3f8406 # Content-type: application/sdp # Max-forwards: 69 # Contact: sip:b2XA43QQ6MVMMA7MPPOYZAK2ZTU6LZMKRB4MFYKERY3C7IABT@[::1]:55403 # Content-length: 176 # To: you.uas@example.com;tag=1e4bab0c233637f1b9ffffe7321fb8e9 # # v=0 # o=anonymous 1531776173 1531776173 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 6022 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 3858 RTP/AVP 0 # m=audio 2930 RTP/AVP 0 # << ok 217 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ \[\:\:1\]\:55403\;) ok 218 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ \[\:\:1\]\:53881\;) # uac >> I< HASH(0x5595bfa151f8) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfa15db0) RSP(INVITE,200) SDP: audio=[::1]:7220/2 audio=[::1]:2880/2 audio=::1/2 audio=[::1]:6480/2 # << # uac >> O> [::1]:58219 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> [::1]:58219 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfa15d20) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 219 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> [::1]:46843 RSP(INVITE,200) SDP: audio=[::1]:7326/2 audio=[::1]:4710/2 audio=::1/2 audio=[::1]:4162/2 # I< HASH(0x5595bfa15d08) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bfa08c78) REQ(BYE) NO SDP # O> [::1]:46843 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 220 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip6 transport tcp remote-nat # UAS on [::1]:39593 # UAC on [::1]:34093 # PROXY on [::1]:53055 [::1]:46495 # nathelper >> OK # << ok 221 - [nathelper] OK # proxy >> OK # << ok 222 - [proxy] OK # uas >> OK # << ok 223 - [uas] OK # proxy >> ready # << ok 224 - [proxy] ready # uas >> ready # << ok 225 - [uas] ready # uac >> OK # ready # O> [::1]:53055 REQ(INVITE) SDP: audio=[::1]:6754/2 audio=::1/2 audio=[::1]:10762/2 audio=[::1]:3830/2 # << ok 226 - [uac] OK ok 227 - [uac] ready ok 228 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bfa06f50) REQ(INVITE) SDP: audio=[::1]:6754/2 audio=::1/2 audio=[::1]:10762/2 audio=[::1]:3830/2 # << ok 229 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:39593 REQ(INVITE) SDP: audio=[::1]:5392/2 audio=::1/2 audio=[::1]:9060/2 audio=[::1]:2942/2 # << ok 230 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bfa0d960) REQ(INVITE) SDP: audio=[::1]:5392/2 audio=::1/2 audio=[::1]:9060/2 audio=[::1]:2942/2 # << ok 231 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 232 - outgoing on UAC must be the same as incoming on proxy ok 233 - outgoing on proxy must be the same as incoming on UAS ok 234 - allocated addr:port must be different ([::1]:6754|[::1]:5392) ok 235 - ranges must stay the same # uas >> O> [::1]:40719 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 236 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TCP [::1]:46495;branch=z9hG4bKd5b70cc518a76ed9b27a6a87027af9cf39ea0619fed1833188280305055a6c # Record-route: # Via: SIP/2.0/TCP [::1]:53055;branch=z9hG4bKdeaaf4ad8df218afca75a41b96edebe439ea0619fed1833349c3c7b146af19 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TCP [::1]:34093;branch=z9hG4bKd30c470bb24488480ede3c0cfc890c8439ea0619fed18330522ae5d1720aab # Call-id: 08b0332f3abe2ee49a54fa3eafc95651 # Cseq: 1 INVITE # From: me.uac@example.com;tag=3d7836b089b25ee2cb9e3f0defd47471 # Content-type: application/sdp # Max-forwards: 69 # Contact: sip:b73W3CTYJ6OOLLLWJ2SBPSNH7WH3E3IVEX3PUMECVTBMEEEFJ@[::1]:46495 # Content-length: 176 # To: you.uas@example.com;tag=27fc7c1d6def156ed5f60bba01175068 # # v=0 # o=anonymous 1531776174 1531776174 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 5392 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 9060 RTP/AVP 0 # m=audio 2942 RTP/AVP 0 # << ok 237 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ \[\:\:1\]\:46495\;) ok 238 - [uas] (?^i:via\:\ SIP\/2\.0\/tcp\ \[\:\:1\]\:34093\;) # uac >> I< HASH(0x5595bfa192c8) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfa19e80) RSP(INVITE,200) SDP: audio=[::1]:7864/2 audio=[::1]:10184/2 audio=::1/2 audio=[::1]:5676/2 # << # uac >> O> [::1]:53055 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> [::1]:53055 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfa19c88) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 239 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> [::1]:40719 RSP(INVITE,200) SDP: audio=[::1]:6870/2 audio=[::1]:8658/2 audio=::1/2 audio=[::1]:6320/2 # I< HASH(0x5595bfa19a90) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bfa0cd18) REQ(BYE) NO SDP # O> [::1]:40719 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 240 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip4 transport tls no-nat # UAS on 127.0.0.1:52219 # UAC on 127.0.0.1:33129 # PROXY on 127.0.0.1:46239 127.0.0.1:40217 ok 241 - no fork nathelper # proxy >> OK # << ok 242 - [proxy] OK # uas >> OK # << ok 243 - [uas] OK # proxy >> ready # << ok 244 - [proxy] ready # uas >> ready # << ok 245 - [uas] ready # uac >> OK # << ok 246 - [uac] OK # uac >> ready # << ok 247 - [uac] ready # uac >> O> 127.0.0.1:46239 REQ(INVITE) SDP: audio=127.0.0.1:7150/2 audio=127.0.0.1/2 audio=127.0.0.1:9302/2 audio=127.0.0.1:9548/2 # << ok 248 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bfd0fff0) REQ(INVITE) SDP: audio=127.0.0.1:7150/2 audio=127.0.0.1/2 audio=127.0.0.1:9302/2 audio=127.0.0.1:9548/2 # << ok 249 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:52219 REQ(INVITE) SDP: audio=127.0.0.1:7150/2 audio=127.0.0.1/2 audio=127.0.0.1:9302/2 audio=127.0.0.1:9548/2 # << ok 250 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bfd1a1f0) REQ(INVITE) SDP: audio=127.0.0.1:7150/2 audio=127.0.0.1/2 audio=127.0.0.1:9302/2 audio=127.0.0.1:9548/2 # << ok 251 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 252 - outgoing on UAC must be the same as incoming on proxy ok 253 - outgoing on proxy must be the same as incoming on UAS ok 254 - SDP must pass unchanged to UAS ok 255 - dummy # uas >> O> 127.0.0.1:45053 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 256 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TLS 127.0.0.1:40217;branch=z9hG4bKaa6e4bd60c464313660202fbf6479f707acc27e81ac64ab2d7a70d3853eac8 # Record-route: # Via: SIP/2.0/TLS 127.0.0.1:46239;branch=z9hG4bK97e690f2da8feeb8abef7c2e0d7095897acc27e81ac64ab925df8f40260095 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TLS 127.0.0.1:33129;branch=z9hG4bK8a55fa352614c086047bd11c858653d47acc27e81ac64abc6a0be86e99efaf # Call-id: 5532478b339b4fbaea624615cba3f2ab # Cseq: 1 INVITE # From: me.uac@example.com;tag=aecbe487af0fd3ed0e7da9fb9c36b689 # Content-type: application/sdp # Content-length: 188 # Max-forwards: 69 # Contact: sips:bM63N7LB2OJO7INBYCUSD2BXOPIZDNEDUIOMYV7N6VZQ6VP7VOZKQGLI@127.0.0.1:40217 # To: you.uas@example.com;tag=6575ae6af6efb582deb08d70ee7a94f1 # # v=0 # o=anonymous 1531776175 1531776175 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 7150 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 9302 RTP/AVP 0 # m=audio 9548 RTP/AVP 0 # << ok 257 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ 127\.0\.0\.1\:40217\;) ok 258 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ 127\.0\.0\.1\:33129\;) # uac >> I< HASH(0x5595bfd263c0) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfd399f0) RSP(INVITE,200) SDP: audio=127.0.0.1:7388/2 audio=127.0.0.1:11400/2 audio=127.0.0.1/2 audio=127.0.0.1:11022/2 # << # uac >> O> 127.0.0.1:46239 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> 127.0.0.1:46239 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfd399d8) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 259 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> 127.0.0.1:45053 RSP(INVITE,200) SDP: audio=127.0.0.1:7388/2 audio=127.0.0.1:11400/2 audio=127.0.0.1/2 audio=127.0.0.1:11022/2 # I< HASH(0x5595bfd2a828) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bfd16990) REQ(BYE) NO SDP # O> 127.0.0.1:45053 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 260 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip4 transport tls inline-nat # UAS on 127.0.0.1:47535 # UAC on 127.0.0.1:54841 # PROXY on 127.0.0.1:35309 127.0.0.1:48765 ok 261 - no fork nathelper # proxy >> OK # << ok 262 - [proxy] OK # uas >> OK # << ok 263 - [uas] OK # proxy >> ready # << ok 264 - [proxy] ready # uas >> ready # << ok 265 - [uas] ready # uac >> OK # << ok 266 - [uac] OK # uac >> ready # << ok 267 - [uac] ready # uac >> O> 127.0.0.1:35309 REQ(INVITE) SDP: audio=127.0.0.1:7150/2 audio=127.0.0.1/2 audio=127.0.0.1:9302/2 audio=127.0.0.1:9548/2 # << ok 268 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bfd15c10) REQ(INVITE) SDP: audio=127.0.0.1:7150/2 audio=127.0.0.1/2 audio=127.0.0.1:9302/2 audio=127.0.0.1:9548/2 # << ok 269 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:47535 REQ(INVITE) SDP: audio=127.0.0.1:4402/2 audio=127.0.0.1/2 audio=127.0.0.1:11508/2 audio=127.0.0.1:4906/2 # << ok 270 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bfd1fc98) REQ(INVITE) SDP: audio=127.0.0.1:4402/2 audio=127.0.0.1/2 audio=127.0.0.1:11508/2 audio=127.0.0.1:4906/2 # << ok 271 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 272 - outgoing on UAC must be the same as incoming on proxy ok 273 - outgoing on proxy must be the same as incoming on UAS ok 274 - allocated addr:port must be different (127.0.0.1:7150|127.0.0.1:4402) ok 275 - ranges must stay the same # uas >> O> 127.0.0.1:44711 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 276 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TLS 127.0.0.1:48765;branch=z9hG4bKb52b3381a7190cb918de961359837c3f17fdf02ef872b5e1707893af2ff2c6 # Record-route: # Via: SIP/2.0/TLS 127.0.0.1:35309;branch=z9hG4bK4c4ae20ecff8df470f1c9410af5a639217fdf02ef872b5e410373c9f721604 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TLS 127.0.0.1:54841;branch=z9hG4bKa0bcf129adf8bdee81792de8731a854517fdf02ef872b5ea05457bcfbadb71 # Call-id: c2e4e10fcf5924cc53a64f5f3546e7fa # Cseq: 1 INVITE # From: me.uac@example.com;tag=59fa9dc4bcf770d7e3e8be493dea5e15 # Content-type: application/sdp # Max-forwards: 69 # Contact: sips:bM63N7LB2OJO7INBYCUSD2BXOPIZDNEDUIOMYV7N6VBTOHOP5PZSJRPI@127.0.0.1:48765 # Content-length: 189 # To: you.uas@example.com;tag=00d32ec595b1de48be7fc08b0a8e81c2 # # v=0 # o=anonymous 1531776176 1531776176 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 4402 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 11508 RTP/AVP 0 # m=audio 4906 RTP/AVP 0 # << ok 277 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ 127\.0\.0\.1\:48765\;) ok 278 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ 127\.0\.0\.1\:54841\;) # uac >> I< HASH(0x5595bfd2ae18) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfd3db68) RSP(INVITE,200) SDP: audio=127.0.0.1:6622/2 audio=127.0.0.1:5916/2 audio=127.0.0.1/2 audio=127.0.0.1:5404/2 # << # uac >> O> 127.0.0.1:35309 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> 127.0.0.1:35309 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfd3db80) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 279 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> 127.0.0.1:44711 RSP(INVITE,200) SDP: audio=127.0.0.1:7388/2 audio=127.0.0.1:11400/2 audio=127.0.0.1/2 audio=127.0.0.1:11022/2 # I< HASH(0x5595bfd364f0) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bfd1bfc8) REQ(BYE) NO SDP # O> 127.0.0.1:44711 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 280 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip4 transport tls remote-nat # UAS on 127.0.0.1:55671 # UAC on 127.0.0.1:57743 # PROXY on 127.0.0.1:46021 127.0.0.1:58867 # nathelper >> OK # << ok 281 - [nathelper] OK # proxy >> OK # << ok 282 - [proxy] OK # uas >> OK # << ok 283 - [uas] OK # proxy >> ready # << ok 284 - [proxy] ready # uas >> ready # << ok 285 - [uas] ready # uac >> OK # << ok 286 - [uac] OK # uac >> ready # << ok 287 - [uac] ready # uac >> O> 127.0.0.1:46021 REQ(INVITE) SDP: audio=127.0.0.1:7150/2 audio=127.0.0.1/2 audio=127.0.0.1:9302/2 audio=127.0.0.1:9548/2 # << ok 288 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bfd18480) REQ(INVITE) SDP: audio=127.0.0.1:7150/2 audio=127.0.0.1/2 audio=127.0.0.1:9302/2 audio=127.0.0.1:9548/2 # << ok 289 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> 127.0.0.1:55671 REQ(INVITE) SDP: audio=127.0.0.1:6832/2 audio=127.0.0.1/2 audio=127.0.0.1:10824/2 audio=127.0.0.1:7006/2 # << ok 290 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bfd222e8) REQ(INVITE) SDP: audio=127.0.0.1:6832/2 audio=127.0.0.1/2 audio=127.0.0.1:10824/2 audio=127.0.0.1:7006/2 # << ok 291 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 292 - outgoing on UAC must be the same as incoming on proxy ok 293 - outgoing on proxy must be the same as incoming on UAS ok 294 - allocated addr:port must be different (127.0.0.1:7150|127.0.0.1:6832) ok 295 - ranges must stay the same # uas >> O> 127.0.0.1:40731 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 296 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TLS 127.0.0.1:58867;branch=z9hG4bK7b409eb69c94149a8820bc887064af8f17fdf02ef872b5ea993ce7dcecff4e # Record-route: # Via: SIP/2.0/TLS 127.0.0.1:46021;branch=z9hG4bK0988520b6799245d87c9ce1c30a4969e17fdf02ef872b5edb8dd8e69563d41 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TLS 127.0.0.1:57743;branch=z9hG4bK3ca01558238e533f071775c0a84900bf17fdf02ef872b5ea05457bcfbadb71 # Call-id: c2e4e10fcf5924cc53a64f5f3546e7fa # Cseq: 1 INVITE # From: me.uac@example.com;tag=59fa9dc4bcf770d7e3e8be493dea5e15 # Content-type: application/sdp # Max-forwards: 69 # Contact: sips:bM63N7LB2OJO7INBYCUSD2BXOPIZDNEDUIOMYV7N6VBS6ZOP7JWMMVHQ@127.0.0.1:58867 # Content-length: 189 # To: you.uas@example.com;tag=00d32ec595b1de48be7fc08b0a8e81c2 # # v=0 # o=anonymous 1531776176 1531776176 IN IP4 127.0.0.1 # s=session # c=IN IP4 127.0.0.1 # t=0 0 # m=audio 6832 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 10824 RTP/AVP 0 # m=audio 7006 RTP/AVP 0 # << ok 297 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ 127\.0\.0\.1\:58867\;) ok 298 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ 127\.0\.0\.1\:57743\;) # uac >> I< HASH(0x5595bfd2f578) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfd30160) RSP(INVITE,200) SDP: audio=127.0.0.1:7354/2 audio=127.0.0.1:5446/2 audio=127.0.0.1/2 audio=127.0.0.1:9436/2 # << # uac >> O> 127.0.0.1:46021 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> 127.0.0.1:46021 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfd41bf0) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 299 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> 127.0.0.1:40731 RSP(INVITE,200) SDP: audio=127.0.0.1:7388/2 audio=127.0.0.1:11400/2 audio=127.0.0.1/2 audio=127.0.0.1:11022/2 # I< HASH(0x5595bfd33688) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bfd20248) REQ(BYE) NO SDP # O> 127.0.0.1:40731 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 300 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip6 transport tls no-nat # UAS on [::1]:55573 # UAC on [::1]:35155 # PROXY on [::1]:36337 [::1]:55617 ok 301 - no fork nathelper # proxy >> OK # << ok 302 - [proxy] OK # uas >> OK # << ok 303 - [uas] OK # proxy >> ready # << ok 304 - [proxy] ready # uas >> ready # << ok 305 - [uas] ready # uac >> OK # << ok 306 - [uac] OK # uac >> ready # << ok 307 - [uac] ready # uac >> O> [::1]:36337 REQ(INVITE) SDP: audio=[::1]:7150/2 audio=::1/2 audio=[::1]:9302/2 audio=[::1]:9548/2 # << ok 308 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bfd1e898) REQ(INVITE) SDP: audio=[::1]:7150/2 audio=::1/2 audio=[::1]:9302/2 audio=[::1]:9548/2 # << ok 309 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:55573 REQ(INVITE) SDP: audio=[::1]:7150/2 audio=::1/2 audio=[::1]:9302/2 audio=[::1]:9548/2 # << ok 310 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bfd25750) REQ(INVITE) SDP: audio=[::1]:7150/2 audio=::1/2 audio=[::1]:9302/2 audio=[::1]:9548/2 # << ok 311 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 312 - outgoing on UAC must be the same as incoming on proxy ok 313 - outgoing on proxy must be the same as incoming on UAS ok 314 - SDP must pass unchanged to UAS ok 315 - dummy # uas >> O> [::1]:33669 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 316 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TLS [::1]:55617;branch=z9hG4bK8a114e295619f39445d812b10a5e090dbc3c5bc5b2ae81df150c343726cae0 # Record-route: # Via: SIP/2.0/TLS [::1]:36337;branch=z9hG4bKa680a424d6638350d0a4ab600dcccffdbc3c5bc5b2ae81d0ef5f642dff2a23 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TLS [::1]:35155;branch=z9hG4bK240d927c098cbe2b6866c997505d564dbc3c5bc5b2ae81d9e51800ee2c8a94 # Call-id: 853c1a656eb24d397335644baf431431 # Cseq: 1 INVITE # From: me.uac@example.com;tag=9b6467605ae85796ec22c8bd9a1cf1eb # Content-type: application/sdp # Content-length: 176 # Max-forwards: 69 # Contact: sips:bM63N7LB2OJO7INBYCUSD2BXOCA5DXDYZK6NJD7NRVD3M3XPE@[::1]:55617 # To: you.uas@example.com;tag=4f17ca729f05c51462503809f9d16195 # # v=0 # o=anonymous 1531776177 1531776177 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 7150 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 9302 RTP/AVP 0 # m=audio 9548 RTP/AVP 0 # << ok 317 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ \[\:\:1\]\:55617\;) ok 318 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ \[\:\:1\]\:35155\;) # uac >> I< HASH(0x5595bfd33980) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfd34538) RSP(INVITE,200) SDP: audio=[::1]:7388/2 audio=[::1]:11400/2 audio=::1/2 audio=[::1]:11022/2 # << # uac >> O> [::1]:36337 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> [::1]:36337 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfd342f8) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 319 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> [::1]:33669 RSP(INVITE,200) SDP: audio=[::1]:7388/2 audio=[::1]:11400/2 audio=::1/2 audio=[::1]:11022/2 # I< HASH(0x5595bfd3f100) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bfd24b08) REQ(BYE) NO SDP # O> [::1]:33669 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 320 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip6 transport tls inline-nat # UAS on [::1]:39621 # UAC on [::1]:40141 # PROXY on [::1]:41793 [::1]:56827 ok 321 - no fork nathelper # proxy >> OK # << ok 322 - [proxy] OK # uas >> OK # << ok 323 - [uas] OK # proxy >> ready # << ok 324 - [proxy] ready # uas >> ready # << ok 325 - [uas] ready # uac >> OK # << ok 326 - [uac] OK # uac >> ready # << ok 327 - [uac] ready # uac >> O> [::1]:41793 REQ(INVITE) SDP: audio=[::1]:7150/2 audio=::1/2 audio=[::1]:9302/2 audio=[::1]:9548/2 # << ok 328 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bfd208d8) REQ(INVITE) SDP: audio=[::1]:7150/2 audio=::1/2 audio=[::1]:9302/2 audio=[::1]:9548/2 # << ok 329 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:39621 REQ(INVITE) SDP: audio=[::1]:4402/2 audio=::1/2 audio=[::1]:11508/2 audio=[::1]:4906/2 # << ok 330 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bfd27a08) REQ(INVITE) SDP: audio=[::1]:4402/2 audio=::1/2 audio=[::1]:11508/2 audio=[::1]:4906/2 # << ok 331 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 332 - outgoing on UAC must be the same as incoming on proxy ok 333 - outgoing on proxy must be the same as incoming on UAS ok 334 - allocated addr:port must be different ([::1]:7150|[::1]:4402) ok 335 - ranges must stay the same # uas >> O> [::1]:43661 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 336 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TLS [::1]:56827;branch=z9hG4bK0183a53cb08ad91f53eb669f805eb1159ddb3464e120cd732a6f1384fe5fed # Record-route: # Via: SIP/2.0/TLS [::1]:41793;branch=z9hG4bKdd6c59876c6cb3429a3586d1c58c25359ddb3464e120cd729895713f86b9ea # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TLS [::1]:40141;branch=z9hG4bK4d09732d1882776d133af81be4aa484c9ddb3464e120cd7dbb6ee9574298f2 # Call-id: 7e1de23d1f174dca0da19a6bd6426f4c # Cseq: 1 INVITE # From: me.uac@example.com;tag=231211bbf5eef35699538b6e8011ab47 # Content-type: application/sdp # Max-forwards: 69 # Contact: sips:bM63N7LB2OJO7INBYCUSD2BXOCA5DXDYZK6OZJ7NQVTENI7RT@[::1]:56827 # Content-length: 177 # To: you.uas@example.com;tag=c31d630103237b272d7c5647336a6013 # # v=0 # o=anonymous 1531776178 1531776178 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 4402 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 11508 RTP/AVP 0 # m=audio 4906 RTP/AVP 0 # << ok 337 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ \[\:\:1\]\:56827\;) ok 338 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ \[\:\:1\]\:40141\;) # uac >> I< HASH(0x5595bfd2ede0) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfd38650) RSP(INVITE,200) SDP: audio=[::1]:6622/2 audio=[::1]:5916/2 audio=::1/2 audio=[::1]:5404/2 # << # uac >> O> [::1]:41793 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> [::1]:41793 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfd385d8) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 339 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> [::1]:43661 RSP(INVITE,200) SDP: audio=[::1]:7388/2 audio=[::1]:11400/2 audio=::1/2 audio=[::1]:11022/2 # I< HASH(0x5595bfd3d9e0) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bfd24cd8) REQ(BYE) NO SDP # O> [::1]:43661 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 340 - [uas] Call done (1 0 1 1 -- 1 1 0 1) # ------- test with family ip6 transport tls remote-nat # UAS on [::1]:55647 # UAC on [::1]:35529 # PROXY on [::1]:51287 [::1]:60319 # nathelper >> OK # << ok 341 - [nathelper] OK # proxy >> OK # << ok 342 - [proxy] OK # uas >> OK # << ok 343 - [uas] OK # proxy >> ready # << ok 344 - [proxy] ready # uas >> ready # << ok 345 - [uas] ready # uac >> OK # << ok 346 - [uac] OK # uac >> ready # << ok 347 - [uac] ready # uac >> O> [::1]:51287 REQ(INVITE) SDP: audio=[::1]:7150/2 audio=::1/2 audio=[::1]:9302/2 audio=[::1]:9548/2 # << ok 348 - [uac] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> I< HASH(0x5595bfd25188) REQ(INVITE) SDP: audio=[::1]:7150/2 audio=::1/2 audio=[::1]:9302/2 audio=[::1]:9548/2 # << ok 349 - [proxy] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) # proxy >> O> [::1]:55647 REQ(INVITE) SDP: audio=[::1]:6832/2 audio=::1/2 audio=[::1]:10824/2 audio=[::1]:7006/2 # << ok 350 - [proxy] (?^:O>.*REQ\(INVITE\) SDP: audio=\S+) # uas >> I< HASH(0x5595bfd2cd28) REQ(INVITE) SDP: audio=[::1]:6832/2 audio=::1/2 audio=[::1]:10824/2 audio=[::1]:7006/2 # << ok 351 - [uas] (?^:I<.*REQ\(INVITE\) SDP: audio=\S+) ok 352 - outgoing on UAC must be the same as incoming on proxy ok 353 - outgoing on proxy must be the same as incoming on UAS ok 354 - allocated addr:port must be different ([::1]:7150|[::1]:6832) ok 355 - ranges must stay the same # uas >> O> [::1]:37923 RSP(INVITE,100) NO SDP # << # uas >> call created # << ok 356 - [uas] call created # uas >> INVITE you.uas@example.com SIP/2.0 # Via: SIP/2.0/TLS [::1]:60319;branch=z9hG4bK06605474892024ac34d1b10673a7d8086380e4f322119244cdb39eaf0eedd9 # Record-route: # Via: SIP/2.0/TLS [::1]:51287;branch=z9hG4bK0639eaf3b8334a99b4dea38c0b97a1106380e4f32211924aadef6c98673b20 # Record-route: # Supported: # Allow: INVITE, ACK, OPTIONS, CANCEL, BYE # Via: SIP/2.0/TLS [::1]:35529;branch=z9hG4bK33d4d49709d3047f0ea59c6bf5b9b9eb6380e4f32211924d7e88843833f1e7 # Call-id: 7318021f4278359b490b44fdd64952c1 # Cseq: 1 INVITE # From: me.uac@example.com;tag=54428f8d78644c01c39a6717ca0f84aa # Content-type: application/sdp # Max-forwards: 69 # Contact: sips:bM63N7LB2OJO7INBYCUSD2BXOCA5DXDYZK6NJD6NWUTNRMZID@[::1]:60319 # Content-length: 177 # To: you.uas@example.com;tag=b591afca010561f79a74089969d1bc62 # # v=0 # o=anonymous 1531776179 1531776179 IN IP6 ::1 # s=session # c=IN IP6 ::1 # t=0 0 # m=audio 6832 RTP/AVP 0 # m=audio 0 RTP/AVP 0 # m=audio 10824 RTP/AVP 0 # m=audio 7006 RTP/AVP 0 # << ok 357 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ \[\:\:1\]\:60319\;) ok 358 - [uas] (?^i:via\:\ SIP\/2\.0\/tls\ \[\:\:1\]\:35529\;) # uac >> I< HASH(0x5595bfd312d0) RSP(INVITE,100) NO SDP # << # uac >> I< HASH(0x5595bfd3c7a0) RSP(INVITE,200) SDP: audio=[::1]:7354/2 audio=[::1]:5446/2 audio=::1/2 audio=[::1]:9436/2 # << # uac >> O> [::1]:51287 REQ(ACK) NO SDP # << # uac >> Start RTP # << # uac >> RTP#100# # << # uac >> got rtp packet#100 # << # uac >> Send BYE # << # uac >> O> [::1]:51287 REQ(BYE) NO SDP # << # uac >> I< HASH(0x5595bfd3c4e8) RSP(BYE,200) NO SDP # << # uac >> BYE done (1 1 0 1 -- 1 0 1 1) # << ok 359 - [uac] BYE done (1 1 0 1 -- 1 0 1 1) # uas >> O> [::1]:37923 RSP(INVITE,200) SDP: audio=[::1]:7388/2 audio=[::1]:11400/2 audio=::1/2 audio=[::1]:11022/2 # I< HASH(0x5595bfd421c0) REQ(ACK) NO SDP # call established # Start RTP # RTP#100# # I< HASH(0x5595bfd28e18) REQ(BYE) NO SDP # O> [::1]:37923 RSP(BYE,200) NO SDP # Call done (1 0 1 1 -- 1 1 0 1) # << ok 360 - [uas] Call done (1 0 1 1 -- 1 1 0 1) ok All tests successful. Files=19, Tests=1459, 220 wallclock secs ( 0.79 usr 0.05 sys + 25.63 cusr 5.59 csys = 32.06 CPU) Result: PASS