by SuPrSluG » Wed Sep 20, 2006 4:37 pm
root[agc]# ll /var/lib/asterisk/sounds/conf.gsm
-rw-r--r-- 1 root root 3182058 2006-09-15 15:55 /var/lib/asterisk/sounds/conf.gsm
root[agc]# ll /var/lib/asterisk/sounds/park.gsm
-rw-r--r-- 1 root root 3182058 2006-09-15 15:56 /var/lib/asterisk/sounds/park.gsm
when I dial 8301 from kphone I get classical music. So it works. Output
-- Executing Answer("SIP/112-081a2670", "") in new stack
-- Executing AGI("SIP/112-081a2670", "park_CID.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/park_CID.agi
-- AGI Script park_CID.agi completed, returning 0
-- Executing Playback("SIP/112-081a2670", "park") in new stack
-- Playing 'park' (language 'en')
== Spawn extension (default, 8301, 3) exited non-zero on 'SIP/112-081a2670'
-- Executing DeadAGI("SIP/112-081a2670", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("SIP/112-081a2670", "VD_hangup.agi|IAX2-----NODEBUG-----0---------------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
Here's extensions.conf for the inbound number (real number changed). park_CID.agi is never launched from the web page.
exten => 8665551212,AGI(call_log.agi,${EXTEN})
exten => 8665551212,2,Ringing
exten => 8665551212,3,Wait(1)
exten => 8665551212,4,Answer
exten=>8665551212,5,AGI(agi-VDADcloser_inboundCID.agi,SalesLine-----8665551212-----Closer---------------999-----1)
exten => 8665551212,6,Hangup