[asterisk-users] Cutting the CallerID(RDNIS)
Chris Ramirez
cramirez at tele-onecom.com
Tue Jun 15 15:12:09 CDT 2010
What that catches though is the actual phone number not the RDNIS. Is
there any way that we can use something similar for sorting of the RDNIS?
On 6/15/2010 9:19 AM, Zeeshan Zakaria wrote:
>
> Hi,
>
> I do something similar but for outbound calls. But same should work
> for inbound calls.
>
> First catch the calls with a leading 1, then strip 1 and send them to
> your desired context or extension. I use AEL, but in regular config it
> should be something like:
>
> [incoming-calls]
> ; catch numbers with leading 1 here
> exten => _1X.,1,Goto(${EXTEN:1},1)
>
> ; numbers with no leading 1 go here
> exten => _X.,1,Noop( - - - - - Incoming call - - - - -)
>
> Zeeshan A Zakaria
>
> --
> www.ilovetovoip.com <http://www.ilovetovoip.com>
>
>> On 2010-06-15 9:27 AM, "Chris Ramirez" <cramirez at tele-onecom.com
>> <mailto:cramirez at tele-onecom.com>> wrote:
>>
>> We are having an issue with the RDNIS coming through with a leading 1
>> on some calls. I have been trying to find a way to remove the leading
>> number only if it starts with a 1 and have yet to find a solid
>> solution. If anyone else has any idea as how to do this I would
>> greatly appreciate it! Thanks.
>> --
>> *Chris Ramirez*
>> TELE-ONE COMMUNICATIONS, INC.
>> cramirez at tele-onecom.com <mailto:cramirez at tele-onecom.com>
>> 903-531-0777
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>> http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
--
*Chris Ramirez*
TELE-ONE COMMUNICATIONS, INC.
cramirez at tele-onecom.com
903-531-0777
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100615/3fd210fa/attachment.htm
More information about the asterisk-users
mailing list