Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 12:23 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: How to removed the +1 from inbound caller ID
PostPosted: Wed Feb 13, 2008 9:41 pm 
Offline

Joined: Tue Dec 11, 2007 3:11 pm
Posts: 8
My inbound carrier now is adding the +1 to the beginning of the caller ID.

"Our carriers have switched over to the E164 standard for caller IDs, because of this caller IDs will all have a preceding "+1". "

This causes the CallerID no longer to work to reconize on persons accounts.

How do I remote the +1, from the beginning of the caller ID.

Thank you


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 14, 2008 1:58 am 
Offline

Joined: Fri Oct 27, 2006 6:17 pm
Posts: 161
maybe something like that?

exten => x,n,Set(CALLERID(num)=${CALLERID(num):2})

this remove the 2 first caracters from the callerid.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 14, 2008 3:17 pm 
Offline

Joined: Tue Dec 11, 2007 3:11 pm
Posts: 8
That was the answer,
Thank you

for NewBees'

It goes into extensions_a2billing.conf
Before the AGI Call
exten => _X.,n,Set(CALLERID(num)=${CALLERID(num):2})


[custom-a2billing]
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,Set(CALLERID(num)=${CALLERID(num):2})
exten => _X.,n,DEADAGI(a2billing.php|1)
exten => _X.,n,Hangup

This works of all of your inbound providers add the +1,


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 14, 2008 4:38 pm 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
You know - I thought about doing the opposite and forcing everyone to use the +countrycode%number% scheme since it will be more acceptable for international. Then for whichever access number or trunk they come in from instead of subtracting the couple digits, sometimes you need to add them. (this really helps when doing callback, and users don't know how to enter their callback number in their file - this allows them to all use same structure)

+15612223333 for US
or
+20123282222 for Egypt

for example even if maybe in the US we get only the 5612223333 we just add the +1, and in a place like egypt where the ID may come in as 012328222 we know to subtract "0" and add "+20" then if people are traveling and dial a different access number, then their callerID on file will still be good.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 14, 2008 8:59 pm 
Offline

Joined: Tue Jun 20, 2006 3:23 pm
Posts: 153
If callerID doesn't follow the E164 convention then your calls will not pass through VoIP carrier (it will be rejected), as it is still in development, now its ok.

If you authenticate your user by callerid and callerid is coming as E164 format, so you just add user's callerid in a2b CALLERIDLIST AS +17258575734

So, you can still recognize users.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 25, 2008 5:24 pm 
Offline

Joined: Wed Apr 16, 2008 4:39 pm
Posts: 31
krzykat wrote:
You know - I thought about doing the opposite and forcing everyone to use the +countrycode%number% scheme since it will be more acceptable for international. Then for whichever access number or trunk they come in from instead of subtracting the couple digits, sometimes you need to add them. (this really helps when doing callback, and users don't know how to enter their callback number in their file - this allows them to all use same structure)

+15612223333 for US
or
+20123282222 for Egypt

for example even if maybe in the US we get only the 5612223333 we just add the +1, and in a place like egypt where the ID may come in as 012328222 we know to subtract "0" and add "+20" then if people are traveling and dial a different access number, then their callerID on file will still be good.



HI,

Just want to ask how do you subtract 0 and add "+20"?

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 
Auto Dialer Software


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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group