Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 25, 2024 8:07 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: a2billing drops calls
PostPosted: Sat Sep 15, 2007 8:46 pm 
Offline

Joined: Sat Sep 15, 2007 7:01 pm
Posts: 5
heres the problem
1. when calling in to a2 billing no problem
2. when calling out it hang up after 5 secs.

when i type the sip show peers here is the info.

9329146857/9329146857 69.35.122.229 D N 12321 OK (1474 ms)

---------------------------------------------------------
)
Sep 15 15:04:38 WARNING[2495]: chan_sip.c:1228 retrans_pkt: Maximum retries exceeded on transmission [email protected] for seqno 24336 (Critical Response)
Sep 15 15:04:38 WARNING[2495]: chan_sip.c:1245 retrans_pkt: Hanging up call [email protected] - no reply to our critical packet.
newa2billing.php|2: file:Class.RateEngine.php - line:1219 - -> dialstatus : ANSWER, answered time is 9
newa2billing.php|2:
newa2billing.php|2: file:Class.RateEngine.php - line:1223 - [USEDRATECARD=0]
newa2billing.php|2: file:Class.RateEngine.php - line:801 - ft2c_package_offer : 0 ; 18000 ; 0
newa2billing.php|2: file:Class.RateEngine.php - line:817 - :[ID_CARD_PACKAGE_OFFER yang : 9]:[0]
newa2billing.php|2: file:Class.RateEngine.php - line:873 - [CC_asterisk_stop QUERY = INSERT INTO cc_call (uniqueid,sessionid,username,nasipaddress,starttime,sessiontime, calledstation, terminatecause, stoptime, calledrate, sessionbill, calledcountry, calledsub, destination, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buyrate, buycost, id_card_package_offer) VALUES ('1189883058.272', 'SIP/9329146857-b6e00610', '9329146857', '', CURRENT_TIMESTAMP - INTERVAL 9 SECOND , '9', '13052056671', 'ANSWER', now(), '0.065', '+0.065', '', '', 'florida', '1', '5', '26247', '3', '3053570361', '0', '0.015', '0.015', '0')]
newa2billing.php|2: file:Class.RateEngine.php - line:876 - [CC_asterisk_stop 1.1: SQL: DONE : result=1]
newa2billing.php|2: file:Class.RateEngine.php - line:893 - [CC_asterisk_stop 1.2: SQL: UPDATE cc_card SET credit= credit-0.065 , redial='13052056671' , lastuse=now(), nbused=nbused+1 WHERE username='9329146857']
newa2billing.php|2: file:Class.RateEngine.php - line:898 - UPDATE cc_trunk SET secondusedreal = secondusedreal + 9 WHERE id_trunk='3'
newa2billing.php|2: file:Class.RateEngine.php - line:902 - UPDATE cc_tariffplan SET secondusedreal = secondusedreal + 9 WHERE id='5'
newa2billing.php|2: this card reseller is0
newa2billing.php|2: line:916 - INSERT INTO cc_reseller_call(id_call,resellerid,parent_resellerid,sellrate,sellfee ,buyrate,buycost) values(3491,0,0,'0.065','+0.065','0.015','0.015')
newa2billing.php|2: file:newa2billing.php - line:314 - [a2billing account stop]
newa2billing.php|2: file:Class.A2Billing.php - line:762 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse-1 WHERE username='9329146857']
-- AGI Script newa2billing.php completed, returning 0
db01*CLI> Sep 15 15:04:21 NOTICE[23960]: rtp.c:331 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 208.51.154.52
No such command 'Sep' (type 'help' for help)

Please let me know what im doin wrong.
P.S all of the clients on the basic internet are fine.
Its the client on the satellite.
M Broome


Top
 Profile  
 
 Post subject: Re: a2billing drops calls
PostPosted: Sat Sep 15, 2007 10:38 pm 
Offline

Joined: Thu Oct 19, 2006 9:56 am
Posts: 300
Location: Athens, Greece
This is never an a2billing problem.
A2billing is the application that counts the time, picks the destination. It is asterisk that handles the SIP/RTP parts. It is critical that you (all) understand this when you try to locate the problem.

I can guess that you have a typical NAT problem. Check your network configuration, is the * box or the client behind a NAT. If so, what do you do to transverse it?
Is "canreinvite" allowed? Is the other part of the call (trunk) SIP, too?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 16, 2007 6:28 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
It could very well be a NAT issue as xrg suggests but with recent versions of Asterisk 1.2 I've had troubles too.

The 'no reply to our critical packet' 'hanging up call' is something I've seen with customers on very laggy connections. There also seem to be a large number of hard phones out there that don't comply with Asterisk's new expectations.

There's a fix here for Asterisk 1.2.24. I've not checked against Asterisk 1.4.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Voice Broadcast System


All times are UTC


Who is online

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