Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 9:16 am
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Failed to execute a2billing.php
PostPosted: Thu Aug 20, 2009 3:00 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Hi Guys,

I have Asterisk 1.6 + FreePBX + A2B v.1.4.1 installed. Calls can be made perfectly through Asterisk but A2Billing dialing fails due to message: -- Got SIP response 400 "Bad Request - 'Malformed/Missing URL'" back from 20.30.40.50
Here is full verbose:


Quote:
-- Called Level3/14174444444,60,HRrL(26080000:61000:30000)-- Got SIP response 400 "Bad Request - 'Malformed/Missing URL'" back from 10.20.30.40
-- SIP/Level3-083c6a40 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- AGI Script Executing Application: (StopMixMonitor) Options: ((null))
-- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)
== End MixMonitor Recording SIP/5060-082564f0
-- Got SIP response 400 "Bad Request - 'Malformed/Missing URL'" back from 10.20.30.40
-- <SIP/5060-082564f0> Playing 'prepaid-enter-dest.gsm' (language 'en')
-- <SIP/5060-082564f0>AGI Script a2billing.php completed, returning -1


Because calls can be made through Asterisk this is definitly an A2Billing issue. Could the dial string be the problem?
Thanks


Top
 Profile  
 
 Post subject: Re: Failed to execute a2billing.php
PostPosted: Thu Aug 20, 2009 6:41 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
This is really odd. I did a sip debug on and this is what I found in dial command which is really odd. Why is A2Billing sending all those extra parameters to provider?

-- Called Level3/14174445555,60,HRgrL(26080000:61000:30000)
<--- SIP read from UDP://66.6.137.12:5060 --->
SIP/2.0 400 Bad Request - 'Malformed/Missing URL'

Via: SIP/2.0/UDP 20.30.40.50:5060;branch=z9hG4bK526975f6;rport
From: "1100" <sip:[email protected]>;tag=as5ded0248
To: <sip:1417444555,60,HRgrL(26080000:61000:30000)@66.6.137.12>;tag=5DAC9694-2176;tag=5DAC9694-2176
Date: Thu, 20 Aug 2009 18:18:00 GMT
Call-ID: [email protected]
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 102 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=100
Content-Length: 0

So, obviously the Cisco-SIPGatewya IOS-12.x does understand what "sip:1417444555,60,HRgrL(26080000:61000:30000)@66.6.137.12" while it should actually be, "sip:[email protected]"

Thanks in advance


Top
 Profile  
 
 Post subject: Re: Failed to execute a2billing.php
PostPosted: Thu Aug 20, 2009 10:25 pm 
Offline

Joined: Sun Mar 12, 2006 2:49 pm
Posts: 954
Location: Barcelona
it might depends with version of Asterisk you use, I will advice that you use the following format
|60|HRrL(%timeout%:61000:30000)

and then set correctly the asterisk version :
asterisk_version 1_6
or
asterisk_version 1_4


Cheers,
/Areski


Top
 Profile  
 
 Post subject: Re: Failed to execute a2billing.php
PostPosted: Thu Aug 20, 2009 10:31 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Hi Areski,

I tried both formats but the result was the same. Why does AGI send the parameter to SIP Provider anyways? That has not been the case in A2B v.1.3.x as I just checked. It seems that the parameter is fine too but the AGI has to stop short of sending Asterisk Timeout parameter to SIP Provider because they will only need a number@their-ip and that's it.

Thanks for the input. The posts I made are SIP debugs and full verbose. Please check again, and you will notice what I mean.

In conclusion:

Quote:
-- AGI Script Executing Application: (DIAL) Options: (SIP/Level3/14166356574,60,HRrL(109000:61000:30000)) == Using SIP RTP CoS mark 5
-- Called Level3/14166356574,60,HRrL(109000:61000:30000)
-- Got SIP response 400 "Bad Request - 'Malformed/Missing URL'" back from 66.6.137.12
-- SIP/Level3-08280960 is circuit-busy



The proper sytax should be:
-- Called Level3/14166356574

and NOT:
-- Called Level3/14166356574,60,HRrL(109000:61000:30000)


Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3
VoIP Billing solution


All times are UTC


Who is online

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