On 6/17/10 12:49 AM, Steve Edwards wrote: > On Wed, 16 Jun 2010, Landy Landy wrote: > > >> I'm unable to place any calls through a2billing. I followed instructions >> here: http://trac.asterisk2billing.org/cgi-bin/trac.cgi/wiki/F.A.Q to >> DISABLE "PIN number request" Prompt for some users but, I'm not able to >> place any calls. >> >> I created a trunk with the same name as in my sip.conf and I'm not able >> to make any calls. I don't know what I'm missing. >> >> This is the output when trying to call: >> == Using SIP RTP CoS mark 5 >> -- Executing [812022418...@a2billing:1] >> Answer("SIP/1433631307-00000015", "") in new stack >> -- Executing [812022418...@a2billing:2] Wait("SIP/1433631307-00000015", >> "2") in new stack >> -- Executing [812022418...@a2billing:3] AGI("SIP/1433631307-00000015", >> "a2billing.php,3") in new stack >> -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php >> --<SIP/1433631307-00000015>AGI Script a2billing.php completed, returning >> -1 >> >> I can't debug it or anything I'm stuck please help. >> > If you have CLI version of PHP installed, you can also try running
/var/lib/asterisk/agi-bin/a2billing.php directly from the shell, and keep feeding it CR/LF, you'll see step-by-step variable assignment and hopefully the error message that stops it from working. You'll need display_errors on in php.ini for this as well. Most probably you're missing a PHP module or your SQL connection is failing. HTH, Vahan -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users