Hi. I have a strange problem and I'm looking for suggestions on how to investigate it.
I have a dialplan which is processing a call, and Asterisk simply stops doing anything for that call. I have verbose and debug logging turned on. There are two steps at a particular point in the dialplan: Set(UserCredit=${ODBC_GENERIC(select Credit('${DDI}'))}) Verbose(6,Current credit level for user ${DDI} is ${UserCredit} pence) Everything gets processed up to and including the first line - the verbose log file shows me: pbx.c:2946 in pbx_extension_helper: Executing [0044xxxx509903@DialBleg:46] Set("SIP/TrunkTwo-00001184", "UserCredit=999") in new stack (Phone number obscured here for anonymity). Then, that is it. Nothing further happens with call processing (until one of the parties hangs up) and the second dialplan command above never appears in the verbose log file. I have several other Verbose(6,.....) commands preceding this, and they all output into the log file as expected. If another call arrives on the same server, Asterisk quite happily starts processing it and records what it's doing in the log files. Can anyone suggest how I can investigate what Asterisk is doing at the point where it "gets stuck", and how to find out why it simply stops processing the call and doesn't continue with the dialplan commands? Thanks, Antony. -- "The future is already here. It's just not evenly distributed yet." - William Gibson Please reply to the list; please *don't* CC me. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users