Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 5:20 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Problem with the installation
PostPosted: Tue Mar 21, 2006 7:33 pm 
Hi there !

I have just installed a2billing ! My * server work fine but when i try to make a call now with a phone in the a2billing context i have this error on my * :

-- Executing Answer("SIP/1000-7331", "") in new stack
-- Executing Wait("SIP/1000-7331", "2") in new stack
-- Executing DeadAGI("SIP/1000-7331", "a2billing.php") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
Failed to execute '/var/lib/asterisk/agi-bin/a2billing.php': No such file or directory
-- AGI Script a2billing.php completed, returning 0
-- Executing Wait("SIP/1000-7331", "2") in new stack
-- Executing Hangup("SIP/1000-7331", "") in new stack
== Spawn extension (a2billing, 56, 5) exited non-zero on 'SIP/1000-7331'

But the file a2billing is here :
[root@myast asterisk]# ls -l /var/lib/asterisk/agi-bin/a2billing.php
-rwxrwxrwx 1 root root 20817 Mar 21 11:32 /var/lib/asterisk/agi-bin/a2billing.php

The managment interface and the customer interface works fine but I don't know what is the problem with AGI module please help !

Thanks!


Top
  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 7:36 pm 
Offline

Joined: Tue Mar 21, 2006 7:17 pm
Posts: 141
Location: Washington DC
check the +x flag on /var/lib/asterisk/agi-bin directory. you cand do something like:

chown -R asterisk.asterisk /var/lib/asterisk/agi-bin
chmod -R a+x /var/lib/asterisk/agi-bin


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 7:44 pm 
Thanks.
I already do that and i also start * with root and it's the same.


Top
  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 8:22 pm 
I solved the problem !
The problem was the line #!/usr//bin/php -q
I don't know why but my php bin is in /usr/local/bin/php so with the line #!/usr/local/bin/php -q all work fine !


Top
  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 8:27 pm 
Offline

Joined: Tue Mar 21, 2006 7:17 pm
Posts: 141
Location: Washington DC
I'm glad it works... I thought about something being wrong with php but it was wierd that the error message was "No such file or directory" instead of "Cannot execute...". Oh well..


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group