[asterisk-users] Cutting the CallerID(RDNIS)

Zeeshan Zakaria zishanov at gmail.com
Tue Jun 15 09:19:28 CDT 2010


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

On 2010-06-15 9:27 AM, "Chris Ramirez" <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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100615/8e5e5328/attachment.htm 


More information about the asterisk-users mailing list