Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 1:03 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: a2billing.php returning -1 but no issues w/ Asterisk 1.6.2
PostPosted: Wed Jun 09, 2010 7:29 pm 
Offline

Joined: Sun Mar 21, 2010 4:32 pm
Posts: 18
Testing FreePBX 2.7 with Asterisk 1.6.2 and A2Billing 1.7.1. Whenever I make either an inbound DID call or outbound call the a2billing.php always ends with returning -1 although everything appears to be working correctly with billing? Is this normal, I do not see any errors or warnings in the debug logs?

I have this same setup but Asterisk 1.4.31 on my production box and it always returns 0. I restored my production a2billing database to this test machine and only changed the global and agi_conf1 version settings to 1_6. I've used my exact same install instructions on each box with exception of of the Asterisk version and replacing | with , where needed. I really want to move to this testing box but the returning -1 concerns me.

Thanks


Top
 Profile  
 
 Post subject: Re: a2billing.php returning -1 but no issues w/ Asterisk 1.6.2
PostPosted: Wed Jun 09, 2010 10:34 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Turning up the verbosity on the agi-conf may help to identify problems, and try putting the agi-conf asterisk version back to 1_4, but leave the global version as 1_6

Joe


Top
 Profile  
 
 Post subject: Re: a2billing.php returning -1 but no issues w/ Asterisk 1.6.2
PostPosted: Thu Jun 10, 2010 1:18 pm 
Offline

Joined: Sun Mar 21, 2010 4:32 pm
Posts: 18
Tried the suggestion with global 1_6 and agi-conf 1_4 but the call does not complete due to the "|" in the dial plan not being replaced with ",". Also tried these settings and changed the dial plan to replace the "|" with "," which works but still returing -1

One thing to note, I did not install the Callback daemon on the new machine but guessing this should not affect it as I'm not using it.

I've attached the a2billing debug log if that helps.


Attachments:
File comment: A2Billing Debug
debug_agi.txt [20.82 KiB]
Downloaded 626 times
Top
 Profile  
 
 Post subject: Re: a2billing.php returning -1 but no issues w/ Asterisk 1.6.2
PostPosted: Thu Jun 10, 2010 5:10 pm 
Offline

Joined: Sun Mar 30, 2008 5:52 pm
Posts: 138
I use Asterisk 1.6.2 and all calls end with "returing -1" but it has no problem to me! What's the problem you're having ending with "returing -1"?


Top
 Profile  
 
 Post subject: Re: a2billing.php returning -1 but no issues w/ Asterisk 1.6.2
PostPosted: Thu Jun 10, 2010 6:52 pm 
Offline

Joined: Sun Mar 21, 2010 4:32 pm
Posts: 18
No issues recognized so far, just concerning as it should return 0.

dbbrito wrote:
I use Asterisk 1.6.2 and all calls end with "returing -1" but it has no problem to me! What's the problem you're having ending with "returing -1"?


Top
 Profile  
 
 Post subject: Re: a2billing.php returning -1 but no issues w/ Asterisk 1.6.2
PostPosted: Sat Jun 12, 2010 8:28 pm 
Offline

Joined: Wed Mar 31, 2010 3:45 am
Posts: 132
Location: São Paulo
I had this kind of problem in the very beginning when I started to work with a2billing

It turned out that all symbolic links within the folders were not properly set, I had only to correct them in order to make it work.

Make sure your symbolic links are pointing to the right destination.

Regards,
Renato.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 18 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group