I am trying to use ext. 8168 to record prompts.
When I dial 8168 I get an immediate hang up. How do I troubleshoot this? I have pasted info from the extension_custom.conf and the console.
I am using VICIDIAL VERSION: 2.0.4-119 BUILD: 71125-1751 Running on Gentoo 2008, with FreePBX. Also, the initial install of asterisk was running under root, and I have now changed it to run everything under user asterisk.
Thanks in advance.
Here is the section in the extension_custom.conf:
; prompt recording AGI script, ID is 4321
exten => 8168,1,Answer
exten => 8168,2,AGI(agi-record_prompts.agi)
exten => 8168,3,Hangup
I set debug and verbose to 100. Here is the result from the console:
-- Executing [8168@from-internal:1] Answer("SIP/3007-0829dc18", "") in new stack
[Apr 9 18:24:02] DEBUG[9322]: pbx.c:1842 pbx_extension_helper: Launching 'AGI'
-- Executing [8168@from-internal:2] AGI("SIP/3007-0829dc18", "agi-record_prompts.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-record_prompts.agi
[Apr 9 18:24:02] DEBUG[9322]: rtp.c:879 ast_rtcp_read: Got RTCP report of 132 bytes
-- AGI Script agi-record_prompts.agi completed, returning 0
[Apr 9 18:24:02] DEBUG[9322]: pbx.c:1842 pbx_extension_helper: Launching 'Hangup'