Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 23, 2024 5:11 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject:
PostPosted: Tue Jan 01, 2008 3:38 pm 
Offline

Joined: Sun Feb 25, 2007 3:10 am
Posts: 190
Location: Philadelphia, PA
The first 90 percent of the task takes 90 percent of the
time, and the last 10 percent of the task takes the other
90 percent of the time. —The Ninety:Ten Rule

I feel this way right now, I have everything installed, able to login to configure trunks and yet stuck here. When I dial I get this message:

-- Executing [1240xxxxxx@default] Goto("SIP/sipuser-009d2c30", "a2billing|233|1") in new stack
-- Goto (a2billing,233,1)
-- Executing [233@a2billing] Answer("SIP/sipuser-009d2c30", "") in new stack
-- Executing [233@a2billing] Wait("SIP/sipuser-009d2c30", "1") in new stack
-- Executing [233@a2billing] DeadAGI("SIP/sipuser-009d2c30", "a2billing.php|1") in new stack
[Jan 1 04] WARNING[32481]: res_agi.c:2116 deadagi_exec: Running DeadAGI on a live channel will cause problems, please use AGI
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
== a2billing.php|1: Failed to execute '/var/lib/asterisk/agi-bin/a2billing.php': Permission denied
-- AGI Script a2billing.php completed, returning 0
-- Executing [233@a2billing] Hangup("SIP/sipuser-009d2c30", "") in new stack
== Spawn extension (a2billing, 233, 4) exited non-zero on 'SIP/sipuser-009d2c30'

Any help greatly appreciate.


Happy New Years 2008 to you and your loved ones!!!!

Added after 1 hours 18 minutes:

I am getting closer to a fix and looks like asterisk does not have the right permissions.

-rw-r--r-- 1 root root 44580 2007-12-31 11:12 a2billing.php


how do I set asterisk to have permissions without compromising security?

Added after 1 hours 18 minutes:

Problem resolved

cp -rf libs_a2billing/ /var/lib/asterisk/agi-bin/.
Make sure the script is runnable
chmod +x a2billing.php


Sharing it in case someone needs it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
VoIP Billing solution


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