Skip to content

Instantly share code, notes, and snippets.

@jfreeze
Created August 24, 2009 23:15
Show Gist options
  • Save jfreeze/174298 to your computer and use it in GitHub Desktop.
Save jfreeze/174298 to your computer and use it in GitHub Desktop.
** extensions.conf **
exten => 200,1,Answer
exten => 200,n,Wait(1)
exten => 200,n,ParkAndAnnounce(pbx-transfer:PARKED|5|Sip|inbound|4753|1)
** Logging **
Connected to Asterisk 1.4.24.1 currently running on talky (pid = 21585)
Verbosity is at least 3
talky*CLI> core set verbose 30
Verbosity was 3 and is now 30
talky*CLI> core set debug 30
Core debug was 0 and is now 30
** I dialed the extension **
-- Accepting call from '5129499683' to '4753' on channel 0/1, span 1
-- Executing [4753@inbound:1] Answer("DAHDI/1-1", "") in new stack
-- Executing [4753@inbound:2] Wait("DAHDI/1-1", "1") in new stack
-- Executing [4753@inbound:3] NoOp("DAHDI/1-1", "inbound| 4753| 3") in new stack
-- Executing [4753@inbound:4] Dial("DAHDI/1-1", "Sip/511&Sip/512|20|trk") in new stack
-- Called 511
-- Called 512
-- SIP/511-08e18450 is ringing
-- SIP/512-08e14ed0 is ringing
** 512 answers the call **
-- SIP/512-08e14ed0 answered DAHDI/1-1
** After answering, I hit Transfer (moh starts) 200 Send **
Really destroying SIP dialog '[email protected]' Method: INVITE
-- Started music on hold, class 'default', on DAHDI/1-1
-- Executing [200@agahi:1] Answer("SIP/512-08e0e448", "") in new stack
-- Executing [200@agahi:2] Wait("SIP/512-08e0e448", "1") in new stack
talky*CLI>
Disconnected from Asterisk server
Caller gets busy signal after about 10 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment