Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 2:06 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Send 404 not 603 on DID with no destination
PostPosted: Wed Apr 30, 2014 6:09 pm 
Offline

Joined: Wed Apr 30, 2014 6:02 pm
Posts: 1
Hi Guys

Been using A2Billing for a while now with no issues.

We have just started using a new provider for DID's and are having an issue with them retrying calls to DID's we have not yet assigned.

Is there any way to change the behaviour of asterisk/a2billing so that it will return a 404 instead of a 603

Currently I see the following in the asterisk cli and my provider sees a 603 returned

-- Executing [**********@a2billing-did:1] AGI("SIP/******-00060881", "a2billing.php,3,did") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
-- <SIP/******-00060881>AGI Script a2billing.php completed, returning 4
== Spawn extension (a2billing-did, ***********, 1) exited non-zero on 'SIP/******-00060881'


Any ideas would be very helpful

Regards


Top
 Profile  
 
 Post subject: Re: Send 404 not 603 on DID with no destination
PostPosted: Sun Jun 15, 2014 1:05 am 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
Hello fibres,

Here is a little tip that might help.

If the number of the un-assigned DIDs is not big, you can arrange to catch those cases on the Asterisk dialplan level before calling the A2billing.

Once you catch it, try :
1) Ending the call with Hangup(1)
or
2) Sending it to a non-existing extension Goto(some-nowhere)

Hope this helps.


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 24 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