Skip to content

Instantly share code, notes, and snippets.

@sprite2005
Created May 18, 2010 03:31
Show Gist options
  • Save sprite2005/404572 to your computer and use it in GitHub Desktop.
Save sprite2005/404572 to your computer and use it in GitHub Desktop.
Working as intended:
-- Executing [s@click_to_call:1] AGI("SIP/callcentric-011fcd80", "agi://localhost") in new stack
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/nhO1hlN2-vkXK-RRKJ-mAHN- rnnqI84ClQEK)
-- <SIP/callcentric-011fcd80> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/nhO1hlN2-vkXK-RRKJ-mAHN-rnnqI84ClQEK' (lang uage 'en')
-- Playing '/var/lib/asterisk/sounds/vipwithme/tmp/eEoWut6y-LujY-VWJj-90Zm-evT0gwdbPSMB' (escape_digits=1234567890*#) (sample_offset 0)
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/DvzMV84G-5hhx-fUXu-Srug-TFczbWF4pVVV)
-- <SIP/callcentric-011fcd80> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/DvzMV84G-5hhx-fUXu-Srug-TFczbWF4pVVV' (language 'en')
-- AGI Script Executing Application: (conference) Options: (1/Sm)
[May 17 22:30:13] WARNING[6976]: translate.c:288 ast_translator_build_path: No translator path from unknown to unknown
-- Started music on hold, class 'default', on channel 'SIP/callcentric-011fcd80'
-- ast_get_srv: SRV lookup for '_sip._udp.sip.flowroute.com' mapped to host sip.flowroute.com, port 5060
> Channel SIP/callcentric-011f8a80 was answered.
-- Executing [s@click_to_call:1] AGI("SIP/callcentric-011f8a80", "agi://localhost") in new stack
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/IlEAWcU7-Mr0S-gaMy-OipT-ae4ALWBUS80O)
-- <SIP/callcentric-011f8a80> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/IlEAWcU7-Mr0S-gaMy-OipT-ae4ALWBUS80O' (language 'en')
-- ast_get_srv: SRV lookup for '_sip._udp.callcentric.com' mapped to host alpha1.callcentric.com, port 5080
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/SKGSgp0r-JtGd-H6QF-4cVt-T0ca9LhaxcVR)
-- <SIP/callcentric-011f8a80> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/SKGSgp0r-JtGd-H6QF-4cVt-T0ca9LhaxcVR' (language 'en')
-- Playing '/var/lib/asterisk/sounds/vipwithme/tmp/gF44k5HG-XF6K-i4Ta-HXIH-3OKJPIfH8XXe' (escape_digits=1234567890*#) (sample_offset 0)
[May 17 22:30:36] NOTICE[4988]: res_musiconhold.c:551 monmp3thread: Request to schedule in the past?!?!
[May 17 22:30:36] NOTICE[4988]: res_musiconhold.c:551 monmp3thread: Request to schedule in the past?!?!
-- AGI Script Executing Application: (MixMonitor) Options: (/var/lib/asterisk/sounds/vipwithme/recordings/1.gsm)
== Begin MixMonitor Recording SIP/callcentric-011f8a80
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/fl6s49GU-Z37n-i1vw-3aMt-NG2xyWs85UMQ)
-- <SIP/callcentric-011f8a80> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/fl6s49GU-Z37n-i1vw-3aMt-NG2xyWs85UMQ' (language 'en')
-- AGI Script Executing Application: (conference) Options: (1/Sm)
-- Stopped music on hold on SIP/callcentric-011fcd80
-- Executing [s@conference_message:1] AGI("Local/s@conference_message-8fe2,2", "agi://localhost") in new stack
> Channel Local/s@conference_message-8fe2,1 was answered.
> Launching conference(1/S) on Local/s@conference_message-8fe2,1
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/zhLHuzDL-ujQo-XHLk-GSBD-pqRUINpCBjej)
-- <Local/s@conference_message-8fe2,2> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/zhLHuzDL-ujQo-XHLk-GSBD-pqRUINpCBjej' (language 'en')
== Spawn extension (conference_message, s, 1) exited non-zero on 'Local/s@conference_message-8fe2,2'
== Spawn extension (click_to_call, s, 1) exited non-zero on 'SIP/callcentric-011f8a80'
== End MixMonitor Recording SIP/callcentric-011f8a80
-- Started music on hold, class 'default', on channel 'SIP/callcentric-011fcd80'
-- Stopped music on hold on SIP/callcentric-011fcd80
== Spawn extension (user_hungup, s, 0) exited non-zero on 'SIP/callcentric-011fcd80'
-- Executing [s@user_hungup:1] AGI("SIP/callcentric-011fcd80", "agi://localhost") in new stack
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/qEnvJztU-aQdP-CPL2-xvmJ-WKXiMNwtGFFZ)
-- <SIP/callcentric-011fcd80> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/qEnvJztU-aQdP-CPL2-xvmJ-WKXiMNwtGFFZ' (language 'en')
-- ast_get_srv: SRV lookup for '_sip._udp.callcentric.com' mapped to host alpha6.callcentric.com, port 5080
-- AGI Script agi://localhost completed, returning 0
-- Executing [s@user_hungup:2] Hangup("SIP/callcentric-011fcd80", "") in new stack
== Spawn extension (user_hungup, s, 2) exited non-zero on 'SIP/callcentric-011fcd80'
Non-Working (this time it detected when the 2nd party hung up)
-- ast_get_srv: SRV lookup for '_sip._udp.sip.flowroute.com' mapped to host sip.flowroute.com, port 5060
-- ast_get_srv: SRV lookup for '_sip._udp.callcentric.com' mapped to host alpha1.callcentric.com, port 5080
> Channel SIP/callcentric-0077c440 was answered.
-- Executing [s@click_to_call:1] AGI("SIP/callcentric-0077c440", "agi://localhost") in new stack
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/jgvYX83N-b27o-M7X4-2eqt-Wh838C0HzAHN)
-- <SIP/callcentric-0077c440> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/jgvYX83N-b27o-M7X4-2eqt-Wh838C0HzAHN' (language 'en')
-- Playing '/var/lib/asterisk/sounds/vipwithme/tmp/v3fnPzEY-rYIN-Lf6Y-mp3b-vgKECrBuMSxg' (escape_digits=1234567890*#) (sample_offset 0)
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/FrOPCuUL-EAQG-9r8Z-fYUX-sWB1UIlw2C1k)
-- <SIP/callcentric-0077c440> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/FrOPCuUL-EAQG-9r8Z-fYUX-sWB1UIlw2C1k' (language 'en')
-- AGI Script Executing Application: (conference) Options: (60/Sm)
[May 17 21:02:25] WARNING[30382]: translate.c:288 ast_translator_build_path: No translator path from unknown to unknown
-- Started music on hold, class 'default', on channel 'SIP/callcentric-0077c440'
> Channel SIP/callcentric-00795bc0 was answered.
-- Executing [s@click_to_call:1] AGI("SIP/callcentric-00795bc0", "agi://localhost") in new stack
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/glT1hs9u-jHkn-1oq6-wTog-JHUpZyjW790X)
-- <SIP/callcentric-00795bc0> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/glT1hs9u-jHkn-1oq6-wTog-JHUpZyjW790X' (language 'en')
-- ast_get_srv: SRV lookup for '_sip._udp.callcentric.com' mapped to host alpha9.callcentric.com, port 5080
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/lbLAjeiQ-XSuc-2Mby-3PEC-3smrSndP2gIZ)
-- <SIP/callcentric-00795bc0> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/lbLAjeiQ-XSuc-2Mby-3PEC-3smrSndP2gIZ' (language 'en')
-- Playing '/var/lib/asterisk/sounds/vipwithme/tmp/2sYRstjp-SzXV-gdPv-p6FO-vXtXlRNsuWQl' (escape_digits=1234567890*#) (sample_offset 0)
-- AGI Script Executing Application: (MixMonitor) Options: (/var/lib/asterisk/sounds/vipwithme/recordings/60.gsm)
== Begin MixMonitor Recording SIP/callcentric-00795bc0
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/JoBMHohj-q9Oy-dfsy-QkW7-WoLvBR1vNfMo)
-- <SIP/callcentric-00795bc0> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/JoBMHohj-q9Oy-dfsy-QkW7-WoLvBR1vNfMo' (language 'en')
-- AGI Script Executing Application: (conference) Options: (60/Sm)
-- Stopped music on hold on SIP/callcentric-0077c440
-- Executing [s@conference_message:1] AGI("Local/s@conference_message-8c9d,2", "agi://localhost") in new stack
> Channel Local/s@conference_message-8c9d,1 was answered.
> Launching conference(60/S) on Local/s@conference_message-8c9d,1
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/VIBBGu1c-aia7-vSeJ-ePfP-6s1xUOt8jZWc)
-- <Local/s@conference_message-8c9d,2> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/VIBBGu1c-aia7-vSeJ-ePfP-6s1xUOt8jZWc' (language 'en')
== Spawn extension (conference_message, s, 1) exited non-zero on 'Local/s@conference_message-8c9d,2'
******************** I HUNG UP FIRST USER HERE **************************************
-- ast_get_srv: SRV lookup for '_sip._udp.sip.flowroute.com' mapped to host sip.flowroute.com, port 5060
-- ast_get_srv: SRV lookup for '_sip._udp.callcentric.com' mapped to host alpha8.callcentric.com, port 5080
== Spawn extension (click_to_call, s, 1) exited non-zero on 'SIP/callcentric-0077c440'
-- Started music on hold, class 'default', on channel 'SIP/callcentric-00795bc0'
-- Stopped music on hold on SIP/callcentric-00795bc0
== Spawn extension (user_hungup, s, 0) exited non-zero on 'SIP/callcentric-00795bc0'
-- Executing [s@user_hungup:1] AGI("SIP/callcentric-00795bc0", "agi://localhost") in new stack
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/GFdMFosZ-x9QJ-mgMW-1hu5-EDciBVKoExyV)
-- <SIP/callcentric-00795bc0> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/GFdMFosZ-x9QJ-mgMW-1hu5-EDciBVKoExyV' (language 'en')
-- AGI Script agi://localhost completed, returning 0
-- Executing [s@user_hungup:2] Hangup("SIP/callcentric-00795bc0", "") in new stack
== Spawn extension (user_hungup, s, 2) exited non-zero on 'SIP/callcentric-00795bc0'
== End MixMonitor Recording SIP/callcentric-00795bc0
[May 17 21:03:37] WARNING[28253]: chan_sip.c:12945 handle_response: Remote host can't match request BYE to call '67fb3c5e3ca1f7ac1f68dc0e4fb3871f@callcentric.com'. Giving up.
ip-10-250-42-239*CLI> sip show channels
Peer User/ANR Call ID Seq (Tx/Rx) Format Hold Last Message
63.211.239.14 (None) 3065680b-dc 00101/803558994 0x0 (nothing) No Rx: OPTIONS
70.167.153.130 (None) 21e4c3f2-d9 00101/00001 0x0 (nothing) No Rx: OPTIONS
63.211.239.14 (None) 2e8cc8cc-dc 00101/803558602 0x0 (nothing) No Rx: OPTIONS
63.211.239.14 (None) 2cadf95d-dc 00101/803558208 0x0 (nothing) No Rx: OPTIONS
63.211.239.14 (None) 2ad8e6fb-dc 00101/803557814 0x0 (nothing) No Rx: OPTIONS
63.211.239.14 (None) 29002066-dc 00101/803557420 0x0 (nothing) No Rx: OPTIONS
63.211.239.14 (None) 272cc38d-dc 00101/803557026 0x0 (nothing) No Rx: OPTIONS
63.211.239.14 (None) 255599be-dc 00101/803556632 0x0 (nothing) No Rx: OPTIONS
77.72.169.134 vipwithme 09b8251b2a7 00145/00000 0x0 (nothing) No
204.11.192.38 1777278406 1cf8c8e7464 00200/00000 0x0 (nothing) No
70.167.153.130 40859164 1fb1debd32b 00145/00000 0x0 (nothing) No
63.211.239.14 (None) 238276fc-dc 00101/803556238 0x0 (nothing) No Rx: OPTIONS
63.211.239.14 (None) 219eec3a-dc 00101/803555846 0x0 (nothing) No Rx: OPTIONS
63.211.239.14 (None) 1fcddd1b-dc 00101/803555452 0x0 (nothing) No Rx: OPTIONS
63.211.239.14 (None) 1df93c52-dc 00101/803555058 0x0 (nothing) No Rx: OPTIONS
204.11.192.38 1407683947 67fb3c5e3ca 00104/00000 0x0 (nothing) No Tx: BYE <---- FIRST USER STILL ACTIVE
16 active SIP channels
Non Working (neither part is disconnected disconnecting this time):
[May 17 21:18:40] WARNING[30655]: translate.c:288 ast_translator_build_path: No translator path from unknown to unknown
-- Started music on hold, class 'default', on channel 'SIP/callcentric-007532a0'
> Channel SIP/callcentric-0075dc60 was answered.
-- Executing [s@click_to_call:1] AGI("SIP/callcentric-0075dc60", "agi://localhost") in new stack
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/snbUGpLr-tasm-oEPg-mvKF-HsEjAoiFRbG5)
-- <SIP/callcentric-0075dc60> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/snbUGpLr-tasm-oEPg-mvKF-HsEjAoiFRbG5' (language 'en')
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/BTwROoYA-KM0d-JRYV-lv60-rjSdop8cxaR5)
-- <SIP/callcentric-0075dc60> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/BTwROoYA-KM0d-JRYV-lv60-rjSdop8cxaR5' (language 'en')
-- Playing '/var/lib/asterisk/sounds/vipwithme/tmp/3tWWDbnP-fTRt-yQpv-g8hQ-tc5M2ZgZfia5' (escape_digits=1234567890*#) (sample_offset 0)
-- Stopped music on hold on SIP/callcentric-007532a0
[May 17 21:19:03] NOTICE[30577]: res_musiconhold.c:551 monmp3thread: Request to schedule in the past?!?!
-- ast_get_srv: SRV lookup for '_sip._udp.callcentric.com' mapped to host alpha7.callcentric.com, port 5080
-- AGI Script Executing Application: (MixMonitor) Options: (/var/lib/asterisk/sounds/vipwithme/recordings/61.gsm)
== Begin MixMonitor Recording SIP/callcentric-0075dc60
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/RFS4oIiH-vYQo-MpP9-o6t8-W6Lg1RQnLR3r)
-- <SIP/callcentric-0075dc60> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/RFS4oIiH-vYQo-MpP9-o6t8-W6Lg1RQnLR3r' (language 'en')
-- AGI Script Executing Application: (conference) Options: (61/Sm)
-- Executing [s@conference_message:1] AGI("Local/s@conference_message-796b,2", "agi://localhost") in new stack
> Channel Local/s@conference_message-796b,1 was answered.
> Launching conference(61/S) on Local/s@conference_message-796b,1
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/B3JGBdeV-P11v-TNgG-1fVg-tKkOmVhpBZmt)
-- <Local/s@conference_message-796b,2> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/B3JGBdeV-P11v-TNgG-1fVg-tKkOmVhpBZmt' (language 'en')
== Spawn extension (conference_message, s, 1) exited non-zero on 'Local/s@conference_message-796b,2'
-- ast_get_srv: SRV lookup for '_sip._udp.callcentric.com' mapped to host alpha6.callcentric.com, port 5080
************* I've HUNGUP both partie at this point ********************************
ip-10-250-42-239*CLI> sip show channels
Peer User/ANR Call ID Seq (Tx/Rx) Format Hold Last Message
204.11.192.36 1777278406 6040dce210a 00115/00000 0x0 (nothing) No
204.11.192.36 1407683947 3f0ea36d004 00103/00000 0x4 (ulaw) No Tx: ACK <--- Party 1
204.11.192.36 1407683947 1d3b88575ca 00103/00000 0x4 (ulaw) No Tx: ACK <--- Party 2
3 active SIP channels
-- Executing [s@conference_message:1] AGI("Local/s@conference_message-72ac,2", "agi://localhost") in new stack
> Channel Local/s@conference_message-72ac,1 was answered.
> Launching conference(61/S) on Local/s@conference_message-72ac,1
-- AGI Script Executing Application: (playback) Options: (/var/lib/asterisk/sounds/vipwithme/tmp/qOWuwnTn-PCys-oMXt-xPsE-0tGOyH6qAcpL)
-- <Local/s@conference_message-72ac,2> Playing '/var/lib/asterisk/sounds/vipwithme/tmp/qOWuwnTn-PCys-oMXt-xPsE-0tGOyH6qAcpL' (language 'en')
== Spawn extension (conference_message, s, 1) exited non-zero on 'Local/s@conference_message-72ac,2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment