asterisk2billing.org
http://forum.asterisk2billing.org/

a2billing stops recieving agi info and exits with no reason
http://forum.asterisk2billing.org/viewtopic.php?f=34&t=7571
Page 1 of 1

Author:  yo1984 [ Wed Apr 28, 2010 1:00 pm ]
Post subject:  a2billing stops recieving agi info and exits with no reason

I just set up a a2billing setup after not touching it for a long time

i get the following when calling the extension that runs the script

-- Executing [s@callingcard:3] AGI("SIP/5001-b7c925d8", "a2billing.php") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
AGI Tx >> agi_request: a2billing.php
AGI Tx >> agi_channel: SIP/5001-b7c925d8
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1272456258.4293
AGI Tx >> agi_callerid: 13474980402
AGI Tx >> agi_calleridname: ITM4L System NOC
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: 22797
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: callingcard
AGI Tx >> agi_extension: s
AGI Tx >> agi_priority: 3
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode: 738
AGI Tx >>
-- AGI Script a2billing.php completed, returning 0


here is whats in the extension
[callingcard]
exten => s,1,Answer()
exten => s,2,Wait(2)
exten => s,3,AGI(a2billing.php)
exten => s,4,Wait(2)
exten => s,5,Hangup()


Any ideas why this is happening?
(p.s. i got the same error in deadagi)

Author:  manugmedia [ Wed Apr 28, 2010 1:47 pm ]
Post subject:  Re: a2billing stops recieving agi info and exits with no reason

Have you checked a2billing.php permission..


Rgds
Eamonn

http://www.eatelco.com

Author:  yo1984 [ Wed Apr 28, 2010 2:10 pm ]
Post subject:  Re: a2billing stops recieving agi info and exits with no reason

permissions are fine

-rwxr-xr-x 1 root root 1584 Apr 26 13:12 a2billing.conf

asterisk is running in root

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/