Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 9:38 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Failover Trunk Removes 011 prefix
PostPosted: Thu May 15, 2014 10:49 am 
Offline

Joined: Wed Aug 28, 2013 10:40 am
Posts: 6
Hi,

When one trunk was trying to dial a number, it includes 011 prefix, then that trunk fails, it will go to the next failover trunk. However, the next dial strips out the 011... How can I change it so it doesn't do that?

This is the log:

Quote:
[May 15 16:52:42] NOTICE[25420]: channel.c:4176 __ast_read: Dropping incompatible voice frame on SIP/204.11.xxx.xxx-00031689 of format ulaw since our native format has changed to 0x8 (alaw)
-- SIP/voipvoip_new_out-00031688 is making progress passing it to SIP/204.11.xxx.xxx-00031682
-- Executing [852580xxxxx@custom-a2billing:3] AGI("SIP/204.11.xxx.xxx-00031689", "a2billing.php,1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
-- <SIP/204.11.192.133-00031689> Playing 'music.gsm' (language 'en')
-- SIP/voipvoip_new_out-00031688 is making progress passing it to SIP/204.11.xxx.xxx-00031682
-- AGI Script Executing Application: (DIAL) Options: (SIP/hgc_out/011918049148000,60,RrL(2147483647:61000:30000))
> Limit Data for this call:
> timelimit = 2147483647 ms (2147483.647 s)
> play_warning = 61000 ms (61.000 s)
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000 ms (30.000 s)
> start_sound =
> warning_sound = timeleft
> end_sound =
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/hgc_out/011918049148000
== Everyone is busy/congested at this time (1:0/0/1)
-- AGI Script Executing Application: (DIAL) Options: (SIP/voipvoip_new_out/918049148000,60,RrL(2147483647:61000:30000))
> Limit Data for this call:
> timelimit = 2147483647 ms (2147483.647 s)
> play_warning = 61000 ms (61.000 s)
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000 ms (30.000 s)
> start_sound =
> warning_sound = timeleft
> end_sound =



Top
 Profile  
 
 Post subject: Re: Failover Trunk Removes 011 prefix
PostPosted: Sat May 17, 2014 9:00 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Always remove the 011 using the agi-conf, and add it back on in the trunk if you need to for that carrier.

Joe


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


All times are UTC


Who is online

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