Hi list, all. Please, I need help. Although already I installed a2billing, simply I cannot initiate its execution. Only appears this: -- Executing Answer("SIP/20-456d", "") in new stack -- Executing Wait("SIP/20-456d", "2") in new stack -- Executing DeadAGI("SIP/20-456d", "a2billing.php") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php -- AGI Script a2billing.php completed, returning 0 -- Executing Wait("SIP/20-456d", "2") in new stack -- Executing Hangup("SIP/20-456d", "") in new stack == Spawn extension (from-internal, 1, 5) exited non-zero on 'SIP/20-456d' -- Executing Macro("SIP/20-456d", "hangupcall") in new stack -- Executing ResetCDR("SIP/20-456d", "w") in new stack -- Executing NoCDR("SIP/20-456d", "") in new stack -- Executing Wait("SIP/20-456d", "5") in new stack -- Executing Hangup("SIP/20-456d", "") in new stack == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/20-456d' in macro 'hangupcall' == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/20-456d' and I cannot happen of there. That lack is it or that I am making incorrect? Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051125/ab8440c8/attachment.htm
Hi edit your a2billing.conf and set debug level to 3, try again and send us your debug to see what happend. rafael On 11/25/05, Jose M. Ramirez <jomrg2@hotmail.com> wrote:> > Hi list, all. Please, I need help. Although already I installed > a2billing, simply I cannot initiate its execution. Only appears this: > > -- Executing Answer("SIP/20-456d", "") in new stack > -- Executing Wait("SIP/20-456d", "2") in new stack > -- Executing DeadAGI("SIP/20-456d", "a2billing.php") in new stack > -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php > -- AGI Script a2billing.php completed, returning 0 > -- Executing Wait("SIP/20-456d", "2") in new stack > -- Executing Hangup("SIP/20-456d", "") in new stack > == Spawn extension (from-internal, 1, 5) exited non-zero on 'SIP/20-456d' > -- Executing Macro("SIP/20-456d", "hangupcall") in new stack > -- Executing ResetCDR("SIP/20-456d", "w") in new stack > -- Executing NoCDR("SIP/20-456d", "") in new stack > -- Executing Wait("SIP/20-456d", "5") in new stack > -- Executing Hangup("SIP/20-456d", "") in new stack > == Spawn extension (macro-hangupcall, s, 4) exited non-zero on > 'SIP/20-456d' in macro 'hangupcall' > == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/20-456d' > > and I cannot happen of there. That lack is it or that I am making > incorrect? > > Regards. > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >-- rrgv -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051125/a92dd220/attachment.htm
Also try executing /var/lib/asterisk/agi-bin/a2billing.php from the shell, most probably the path to php-cli is wrong or you don't have it installed at all. Jose M. Ramirez wrote:> Hi list, all. Please, I need help. Although already I installed > a2billing, simply I cannot initiate its execution. Only appears this: > > -- Executing Answer("SIP/20-456d", "") in new stack > -- Executing Wait("SIP/20-456d", "2") in new stack > -- Executing DeadAGI("SIP/20-456d", "a2billing.php") in new stack > -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php > -- AGI Script a2billing.php completed, returning 0 > -- Executing Wait("SIP/20-456d", "2") in new stack > -- Executing Hangup("SIP/20-456d", "") in new stack > == Spawn extension (from-internal, 1, 5) exited non-zero on 'SIP/20-456d' > -- Executing Macro("SIP/20-456d", "hangupcall") in new stack > -- Executing ResetCDR("SIP/20-456d", "w") in new stack > -- Executing NoCDR("SIP/20-456d", "") in new stack > -- Executing Wait("SIP/20-456d", "5") in new stack > -- Executing Hangup("SIP/20-456d", "") in new stack > == Spawn extension (macro-hangupcall, s, 4) exited non-zero on > 'SIP/20-456d' in macro 'hangupcall' > == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/20-456d' > > and I cannot happen of there. That lack is it or that I am making > incorrect? > > Regards. >