I’m having a rough time getting my FreePBX + Asterisk 1.4.10.1 to let me use the dial-by-name directory. When I call “411” (where it is presently assigned) it just hangs up. It tries to run the “pbdirectory” script, then immediately returns with a “0” result code and hangs up. There is no announcement of instructions, no prompt, etc.
I’m not sure how to debug further? Anyone have any ideas?
Thanks,
Rick
[code:1]
cp1CLI>
– Executing [411@from-internal:1] Answer(“SIP/104-b7d70940”, “”) in new stack
– Executing [411@from-internal:2] Wait(“SIP/104-b7d70940”, “1”) in new stack
– Executing [411@from-internal:3] Goto(“SIP/104-b7d70940”, “pbdirectory|1”) in new stack
– Goto (from-internal,pbdirectory,1)
– Executing [pbdirectory@from-internal:1] AGI(“SIP/104-b7d70940”, “pbdirectory”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/pbdirectory
– AGI Script pbdirectory completed, returning 0
– Executing [pbdirectory@from-internal:2] GotoIf(“SIP/104-b7d70940”, “1?hangup|1”) in new stack
– Goto (from-internal,hangup,1)
– Executing [hangup@from-internal:1] Hangup(“SIP/104-b7d70940”, “”) in new stack
== Spawn extension (from-internal, hangup, 1) exited non-zero on ‘SIP/104-b7d70940’
– Executing [h@from-internal:1] Macro(“SIP/104-b7d70940”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] ResetCDR(“SIP/104-b7d70940”, “w”) in new stack
– Executing [s@macro-hangupcall:2] NoCDR(“SIP/104-b7d70940”, “”) in new stack
– Executing [s@macro-hangupcall:3] GotoIf(“SIP/104-b7d70940”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] GotoIf(“SIP/104-b7d70940”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] GotoIf(“SIP/104-b7d70940”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [s@macro-hangupcall:11] Hangup(“SIP/104-b7d70940”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/104-b7d70940’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/104-b7d70940’
cp1CLI>
[/code:1]
[quote=“dzone”]I’m having a rough time getting my FreePBX + Asterisk 1.4.10.1 to let me use the dial-by-name directory. When I call “411” (where it is presently assigned) it just hangs up. It tries to run the “pbdirectory” script, then immediately returns with a “0” result code and hangs up. There is no announcement of instructions, no prompt, etc.
I’m not sure how to debug further? Anyone have any ideas?
Thanks,
Rick
[/quote]
Isn’t this something to do with missing sound files?
AGI Tx >> 510 Invalid or unknown command
AGI Rx << Fatal error: Call to a member function on a non-object in /var/lib/asterisk/agi-bin/pbdirectory on line 59