Page 1 of 1

Inbound CallerID lookup

PostPosted: Tue Oct 18, 2011 3:21 pm
by walax
Hallo,
we have set up an inbound campaign which is working with test leads.
We are using a carrier which accepts the phone numbers in international format like 001 2345678. We are using the phone code field for 001.
But the incoming callerID is like 02345678
Is there a way to strip off the 0?

P.S: Sorry i can't tell you something about the asterisk or vicidial version at the moment. But i will... tomorrow.

PostPosted: Tue Oct 18, 2011 4:23 pm
by mflorell
admin.php version and build?

PostPosted: Wed Oct 19, 2011 3:16 am
by walax
VERSION: 2.4-336a
BUILD: 110922-1218

PostPosted: Wed Oct 19, 2011 8:22 am
by mflorell
That is the reason the DID "Clean CID Number" option was added:

Clean CID Number - This field allows you to specify a number of digits to restrict the incoming caller ID number to by putting an R in front of the number of digits, for example to restrict to the right 10 digits you would enter in R10. You can also use this feature to remove only a leading digit or digits by putting an L in front of the specific digits that you want to remove, for example to remove a 1 as the first digit you would enter in L1. Default is empty. If more than one rule is specified make sure you separate them with a space and the R will run before the L.


So you would want to put "L0" in this field to strip off the leading zero as the phone call came into your system.

PostPosted: Sat Oct 22, 2011 9:50 am
by walax
Thank you very much mflorell :D