Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 10:06 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: failover not working
PostPosted: Mon Apr 04, 2016 8:07 pm 
Offline

Joined: Sun Dec 27, 2009 8:39 pm
Posts: 80
Seem to be having an issue where failover is not occuring.

We have multiple providers (A,B,C,D)
Number we are calling is 1222333444

If we go to rate simulator for the customer we get a match on dialprefix of 1222333 and it shows the rate on Provider B.

Check rates enter the prefix 1222333 we get 1 rate using Provider A trunk (most specific prefix)
Check rates under the prefix 1222 we get 917 records with Provider A/B/C/D

However, when the call is actually dialed, we see the call being sent to provider A. Provider A is returning a 503, and then the call fails.

failover_lc_prefix is set to Yes
failover_recursive_limit is set to 3
trunks don't have failover specified to force it to go back to lcr (based on above parameters)

Any ideas why the trunks are not retrying with a different trunk?

Code:
[2016-04-04 13:08:10] VERBOSE[19970][C-00039da0] pbx.c:     -- Executing [12223334444@a2billing:1] NoOp("SIP/4229402458-0003c820", "***11 Digit NANPA Call") in new stack
[2016-04-04 13:08:10] VERBOSE[19970][C-00039da0] pbx.c:     -- Executing [12223334444@a2billing:2] Goto("SIP/4229402458-0003c820", "a2billing-limit,12223334444,1") in new stack
[2016-04-04 13:08:10] VERBOSE[19970][C-00039da0] res_agi.c:     -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[2016-04-04 13:08:11] VERBOSE[19970][C-00039da0] res_agi.c:     -- AGI Script Executing Application: (DIAL) Options: (SIP/zzz-providera/12223334444,90,r)
[2016-04-04 13:08:11] VERBOSE[19970][C-00039da0] netsock2.c:   == Using SIP RTP TOS bits 184
[2016-04-04 13:08:11] VERBOSE[19970][C-00039da0] netsock2.c:   == Using SIP RTP CoS mark 5
[2016-04-04 13:08:11] VERBOSE[19970][C-00039da0] app_dial.c:     -- Called SIP/zzz-providera/12223334444
[2016-04-04 13:08:11] VERBOSE[26713][C-00039da0] chan_sip.c:     -- Got SIP response 503 "Service Unavailable" back from 8.8.8.8:5060
[2016-04-04 13:08:11] VERBOSE[19970][C-00039da0] app_dial.c:     -- SIP/zzz-providera-0003c821 is circuit-busy
[2016-04-04 13:08:11] VERBOSE[19970][C-00039da0] app_dial.c:   == Everyone is busy/congested at this time (1:0/1/0)
[2016-04-04 13:08:11] VERBOSE[19970][C-00039da0] res_agi.c:     -- <SIP/4229402458-0003c820>AGI Script a2billing.php completed, returning 4
[2016-04-04 13:08:11] VERBOSE[19970][C-00039da0] pbx.c:   == Spawn extension (a2billing-limit, 12223334444, 17) exited non-zero on 'SIP/4229402458-0003c820'


Thanks in advance,
Carlos


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 14 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