-- Executing [01476292507@testdial:1] Dial("PJSIP/squiresvi-000000ed", "PJSIP/custom/sip:901@pbx.example.com,,b(testaddhandler^set_handler^1)") in new stack -- PJSIP/custom-000000ee Internal Gosub(testaddhandler,set_handler,1) start -- Executing [set_handler@testaddhandler:1] NoOp("PJSIP/custom-000000ee", "Setting handler") in new stack -- Executing [set_handler@testaddhandler:2] Set("PJSIP/custom-000000ee", "CHANNEL(hangup_handler_push)=testhandler,outbound_handler,1") in new stack -- Executing [set_handler@testaddhandler:3] Return("PJSIP/custom-000000ee", "") in new stack == Spawn extension (default, 01476292507, 1) exited non-zero on 'PJSIP/custom-000000ee' -- PJSIP/custom-000000ee Internal Gosub(testaddhandler,set_handler,1) complete GOSUB_RETVAL= -- Called PJSIP/custom/sip:901@pbx.example.com -- PJSIP/custom-000000ee is ringing (callee answers) > 0x7fdc780016c0 -- Strict RTP learning after remote address set to: 10.20.40.164:17826 -- PJSIP/custom-000000ee answered PJSIP/squiresvi-000000ed > 0x7fdc7801e0e0 -- Strict RTP learning after remote address set to: 10.20.41.35:4000 -- Channel PJSIP/custom-000000ee joined 'simple_bridge' basic-bridge <4897154a-367f-41bd-aeca-de3ff8f0a0fc> -- Channel PJSIP/squiresvi-000000ed joined 'simple_bridge' basic-bridge <4897154a-367f-41bd-aeca-de3ff8f0a0fc> > Bridge 4897154a-367f-41bd-aeca-de3ff8f0a0fc: switching from simple_bridge technology to native_rtp > Remotely bridged 'PJSIP/squiresvi-000000ed' and 'PJSIP/custom-000000ee' - media will flow directly between them > 0x7fdc780016c0 -- Strict RTP learning after remote address set to: 10.20.40.164:17826 > 0x7fdc7801e0e0 -- Strict RTP switching to RTP target address 10.20.41.35:4000 as source (caller hangs up) -- Channel PJSIP/squiresvi-000000ed left 'native_rtp' basic-bridge <4897154a-367f-41bd-aeca-de3ff8f0a0fc> -- Channel PJSIP/custom-000000ee left 'native_rtp' basic-bridge <4897154a-367f-41bd-aeca-de3ff8f0a0fc> -- PJSIP/custom-000000ee Internal Gosub(testhandler,outbound_handler,1) start == Spawn extension (testdial, 01476292507, 1) exited non-zero on 'PJSIP/squiresvi-000000ed' -- Executing [outbound_handler@testhandler:1] NoOp("PJSIP/custom-000000ee", "## Hangup handler") in new stack -- Executing [outbound_handler@testhandler:2] NoOp("PJSIP/custom-000000ee", "## CHANNEL=PJSIP/custom-000000ee") in new stack -- Executing [outbound_handler@testhandler:3] NoOp("PJSIP/custom-000000ee", "## HANGUPCAUSE_KEYS=PJSIP/squiresvi-000000ed,PJSIP/custom-000000ee") in new stack -- Executing [outbound_handler@testhandler:4] NoOp("PJSIP/custom-000000ee", "## HANGUPCAUSE=SIP 200 OK") in new stack -- Executing [outbound_handler@testhandler:5] Return("PJSIP/custom-000000ee", "") in new stack == Spawn extension (default, , 1) exited non-zero on 'PJSIP/custom-000000ee' -- PJSIP/custom-000000ee Internal Gosub(testhandler,outbound_handler,1) complete GOSUB_RETVAL= U 10.20.41.27:5060 -> 10.20.40.164:5060 #194 INVITE sip:901@pbx.example.com SIP/2.0. Via: SIP/2.0/UDP 10.20.41.27:5060;rport;branch=z9hG4bKPj6244b5f6-5c49-44b6-98ca-2bcd29b8a510. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: . Contact: . Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9794 INVITE. Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE. Supported: 100rel, timer, replaces, norefersub. Session-Expires: 1800. Min-SE: 90. Max-Forwards: 70. User-Agent: Asterisk PBX certified/13.21-cert2. Content-Type: application/sdp. Content-Length: 394. . v=0. o=- 472917556 472917556 IN IP4 10.20.41.27. s=Asterisk. c=IN IP4 10.20.41.27. t=0 0. m=audio 10420 RTP/AVP 8 0 3 9 110 117 119 101. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:3 GSM/8000. a=rtpmap:9 G722/8000. a=rtpmap:110 speex/8000. a=rtpmap:117 speex/16000. a=rtpmap:119 speex/32000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=ptime:20. a=maxptime:60. a=sendrecv. U 10.20.40.164:5060 -> 10.20.41.27:5060 #196 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 10.20.41.27:5060;branch=z9hG4bKPj6244b5f6-5c49-44b6-98ca-2bcd29b8a510;received=10.20.41.27;rport=5060. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: . Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9794 INVITE. Server: Asterisk PBX 1.6.2.6. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces, timer. Require: timer. Session-Expires: 1800;refresher=uas. Contact: . Content-Length: 0. . U 10.20.40.164:5060 -> 10.20.41.27:5060 #200 SIP/2.0 180 Ringing. Via: SIP/2.0/UDP 10.20.41.27:5060;branch=z9hG4bKPj6244b5f6-5c49-44b6-98ca-2bcd29b8a510;received=10.20.41.27;rport=5060. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9794 INVITE. Server: Asterisk PBX 1.6.2.6. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces, timer. Require: timer. Session-Expires: 1800;refresher=uas. Contact: . Content-Length: 0. . U 10.20.40.164:5060 -> 10.20.41.27:5060 #208 SIP/2.0 200 OK. Via: SIP/2.0/UDP 10.20.41.27:5060;branch=z9hG4bKPj6244b5f6-5c49-44b6-98ca-2bcd29b8a510;received=10.20.41.27;rport=5060. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9794 INVITE. Server: Asterisk PBX 1.6.2.6. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces, timer. Require: timer. Session-Expires: 1800;refresher=uas. Contact: . Content-Type: application/sdp. Content-Length: 310. . v=0. o=root 420469380 420469380 IN IP4 10.20.40.164. s=Asterisk PBX 1.6.2.6. c=IN IP4 10.20.40.164. t=0 0. m=audio 17826 RTP/AVP 3 0 8 101. a=rtpmap:3 GSM/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. U 10.20.41.27:5060 -> 10.20.40.164:5060 #209 ACK sip:901@10.20.40.164 SIP/2.0. Via: SIP/2.0/UDP 10.20.41.27:5060;rport;branch=z9hG4bKPjd2da8445-47c3-42ea-afeb-8bf83d29f4c5. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9794 ACK. Max-Forwards: 70. User-Agent: Asterisk PBX certified/13.21-cert2. Content-Length: 0. . U 10.20.41.27:5060 -> 10.20.40.164:5060 #211 INVITE sip:901@10.20.40.164 SIP/2.0. Via: SIP/2.0/UDP 10.20.41.27:5060;rport;branch=z9hG4bKPjdc9446f8-2fd9-4517-bf06-7016ccf3c34d. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Contact: . Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9795 INVITE. Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE. Supported: 100rel, timer, replaces, norefersub. Session-Expires: 1800;refresher=uas. Min-SE: 90. Max-Forwards: 70. User-Agent: Asterisk PBX certified/13.21-cert2. Content-Type: application/sdp. Content-Length: 234. . v=0. o=- 472917556 472917557 IN IP4 10.20.41.27. s=Asterisk. c=IN IP4 10.20.41.35. t=0 0. m=audio 4000 RTP/AVP 8 101. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=ptime:20. a=maxptime:150. a=sendrecv. U 10.20.40.164:5060 -> 10.20.41.27:5060 #214 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 10.20.41.27:5060;branch=z9hG4bKPjdc9446f8-2fd9-4517-bf06-7016ccf3c34d;received=10.20.41.27;rport=5060. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9795 INVITE. Server: Asterisk PBX 1.6.2.6. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces, timer. Require: timer. Session-Expires: 1800;refresher=uas. Contact: . Content-Length: 0. . U 10.20.40.164:5060 -> 10.20.41.27:5060 #215 SIP/2.0 200 OK. Via: SIP/2.0/UDP 10.20.41.27:5060;branch=z9hG4bKPjdc9446f8-2fd9-4517-bf06-7016ccf3c34d;received=10.20.41.27;rport=5060. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9795 INVITE. Server: Asterisk PBX 1.6.2.6. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces, timer. Require: timer. Session-Expires: 1800;refresher=uas. Contact: . Content-Type: application/sdp. Content-Length: 263. . v=0. o=root 420469380 420469381 IN IP4 10.20.40.164. s=Asterisk PBX 1.6.2.6. c=IN IP4 10.20.40.164. t=0 0. m=audio 17826 RTP/AVP 8 101. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. U 10.20.41.27:5060 -> 10.20.40.164:5060 #216 ACK sip:901@10.20.40.164 SIP/2.0. Via: SIP/2.0/UDP 10.20.41.27:5060;rport;branch=z9hG4bKPj69218830-764f-479f-a9f7-2dd95c9cdf4c. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9795 ACK. Max-Forwards: 70. User-Agent: Asterisk PBX certified/13.21-cert2. Content-Length: 0. . U 10.20.41.27:5060 -> 10.20.40.164:5060 #233 INVITE sip:901@10.20.40.164 SIP/2.0. Via: SIP/2.0/UDP 10.20.41.27:5060;rport;branch=z9hG4bKPjdd079ce8-2ea3-4ea2-b78b-4d05fc0c21fa. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Contact: . Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9796 INVITE. Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE. Supported: 100rel, timer, replaces, norefersub. Session-Expires: 1800;refresher=uas. Min-SE: 90. Max-Forwards: 70. User-Agent: Asterisk PBX certified/13.21-cert2. Content-Type: application/sdp. Content-Length: 394. . v=0. o=- 472917556 472917558 IN IP4 10.20.41.27. s=Asterisk. c=IN IP4 10.20.41.27. t=0 0. m=audio 10420 RTP/AVP 8 0 3 9 110 117 119 101. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:3 GSM/8000. a=rtpmap:9 G722/8000. a=rtpmap:110 speex/8000. a=rtpmap:117 speex/16000. a=rtpmap:119 speex/32000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=ptime:20. a=maxptime:60. a=sendrecv. U 10.20.40.164:5060 -> 10.20.41.27:5060 #234 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 10.20.41.27:5060;branch=z9hG4bKPjdd079ce8-2ea3-4ea2-b78b-4d05fc0c21fa;received=10.20.41.27;rport=5060. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9796 INVITE. Server: Asterisk PBX 1.6.2.6. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces, timer. Require: timer. Session-Expires: 1800;refresher=uas. Contact: . Content-Length: 0. . U 10.20.40.164:5060 -> 10.20.41.27:5060 #235 SIP/2.0 200 OK. Via: SIP/2.0/UDP 10.20.41.27:5060;branch=z9hG4bKPjdd079ce8-2ea3-4ea2-b78b-4d05fc0c21fa;received=10.20.41.27;rport=5060. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9796 INVITE. Server: Asterisk PBX 1.6.2.6. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces, timer. Require: timer. Session-Expires: 1800;refresher=uas. Contact: . Content-Type: application/sdp. Content-Length: 310. . v=0. o=root 420469380 420469382 IN IP4 10.20.40.164. s=Asterisk PBX 1.6.2.6. c=IN IP4 10.20.40.164. t=0 0. m=audio 17826 RTP/AVP 3 0 8 101. a=rtpmap:3 GSM/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. U 10.20.41.27:5060 -> 10.20.40.164:5060 #236 ACK sip:901@10.20.40.164 SIP/2.0. Via: SIP/2.0/UDP 10.20.41.27:5060;rport;branch=z9hG4bKPj2ae5e98a-54ca-4cf4-a92b-7576cb780114. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9796 ACK. Max-Forwards: 70. User-Agent: Asterisk PBX certified/13.21-cert2. Content-Length: 0. . U 10.20.41.27:5060 -> 10.20.40.164:5060 #237 BYE sip:901@10.20.40.164 SIP/2.0. Via: SIP/2.0/UDP 10.20.41.27:5060;rport;branch=z9hG4bKPj0ab7ee1f-97e6-4fea-96b2-2b391fa25ddd. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9797 BYE. Max-Forwards: 70. User-Agent: Asterisk PBX certified/13.21-cert2. Content-Length: 0. . U 10.20.40.164:5060 -> 10.20.41.27:5060 #238 SIP/2.0 200 OK. Via: SIP/2.0/UDP 10.20.41.27:5060;branch=z9hG4bKPj0ab7ee1f-97e6-4fea-96b2-2b391fa25ddd;received=10.20.41.27;rport=5060. From: " " ;tag=95d5cf20-7c3e-48a5-8694-3767efd4f2a8. To: ;tag=as137c012d. Call-ID: ca656092-1dd2-4d34-86e5-e82dfcbd44b7. CSeq: 9797 BYE. Server: Asterisk PBX 1.6.2.6. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces, timer. Content-Length: 0. .