Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 2:43 pm
Voice Broadcast System


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 ] 
Auto Dialer Software


All times are UTC


Who is online

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