Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sun Aug 25, 2019 6:39 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to strip DID prefix?
PostPosted: Mon Oct 22, 2007 9:50 am 
Offline

Joined: Mon Aug 20, 2007 9:18 am
Posts: 5
Hi,
I've purchased some DIDs from a provider and they are sent to my IP in the following format: 2016108XXXXXXXX.
I would like to sell the same DIDs in my a2blilling platform but need to strip the first 7-digits. So the above DID (2016108XXXXXXXX) should appear to my clients as (XXXXXXXX).
I would be grateful if any of you good people out there could help me out.
Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 23, 2007 6:04 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
This is basic Asterisk functionality. See the first couple of paragraphs here.

To strip the first 7 digits from the dialed number you would use ${EXTEN:7}


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