Support A2Billing :

provided by Star2Billing S.L.

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


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Repalcing + charater on called numbers with 00
PostPosted: Tue Aug 20, 2013 8:24 am 
Offline

Joined: Tue Aug 20, 2013 8:18 am
Posts: 2
I need help. am new to asterisk dialplan. when i call a number from my softphone with the + prefix character in front of the number the call wont go through i have tried all i could to in my extension file but to no success.


Top
 Profile  
 
 Post subject: Re: Repalcing + charater on called numbers with 00
PostPosted: Mon Aug 26, 2013 1:58 pm 
Offline

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

You'd need some dialplan to deal with the + and replace with 00 or 011.

Joe


Top
 Profile  
 
 Post subject: Re: Repalcing + charater on called numbers with 00
PostPosted: Sun Dec 22, 2013 11:09 am 
Offline

Joined: Sun Dec 22, 2013 11:08 am
Posts: 2
hi there

I have the same issue here, but without any success until now. Does anybody know hoe to enable international numbers with leading + sign?

Many thanks, tom


Top
 Profile  
 
 Post subject: Re: Repalcing + charater on called numbers with 00
PostPosted: Sun Dec 22, 2013 11:31 am 
Offline

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

The answer is above:

"You'd need some dialplan to deal with the + and replace with 00 or 011."

Joe


Top
 Profile  
 
 Post subject: Re: Repalcing + charater on called numbers with 00
PostPosted: Sun Dec 22, 2013 11:50 am 
Offline

Joined: Sun Dec 22, 2013 11:08 am
Posts: 2
Hi

Thanks for the reply. Of course I read it. But - maybe I should add the note that I'm new to asterisk and a2billing.

So, can you give me some more detailed information in how/where to add it?

Many thanks for supporting me, tom


Top
 Profile  
 
 Post subject: Re: Repalcing + charater on called numbers with 00
PostPosted: Sun Dec 29, 2013 9:30 pm 
Offline

Joined: Thu Apr 05, 2012 8:12 am
Posts: 48
tomhofer,

This is an example of how to add/delete digits from the dialled nr or cli:

exten => _+00XXXXXXX./_00XXX.,1,Noop(+00XXXXXXX./00XXX.)
exten => _+00XXXXXXX./_00XXX.,n,Goto(${EXTEN},3)
exten => _+X.,n,Set(CALLERID(num)=${CALLERID(num):2}) <<< This will remove two leading digits from the cli
exten => _+X.,n,Goto(${EXTEN:3},5) <<< this will remove the "+" and 2 first digits from the dialled nr


exten => _X.,n,Goto(48${EXTEN},5) <<< this will add 48 to the dialled number

I hope that helps

Marcin


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


All times are UTC


Who is online

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