Re: [asterisk-users] how to strip +1 out of incoming number

2014-10-02 Thread Steve Edwards
On Thu, Oct 2, 2014 at 10:52 AM, motty cruz wrote: Hello, our VoIP send us caller ID +1(area)(number) for instance +16024224334 is there a way to strip +1 out of caller ID? I've always done it as 2 steps to handle carrier weirdness: ; trim leading +1 from DNIS same = n,

Re: [asterisk-users] how to strip +1 out of incoming number

2014-10-02 Thread Eric Wieling
List - Non-Commercial Discussion Subject: Re: [asterisk-users] how to strip +1 out of incoming number Try the Filter function Set(cid=${FILTER(0123456789,${CALLERID(NUM)})}) On Thu, Oct 2, 2014 at 10:52 AM, motty cruz mailto:motty.c...@gmail.com>> wrote: Hello, our VoIP send us caller ID +

Re: [asterisk-users] how to strip +1 out of incoming number

2014-10-02 Thread John Kiniston
Try the Filter function Set(cid=${FILTER(0123456789,${CALLERID(NUM)})}) On Thu, Oct 2, 2014 at 10:52 AM, motty cruz wrote: > Hello, our VoIP send us caller ID +1(area)(number) for instance > +16024224334 is there a way to strip +1 out of caller ID? > > -- > Thanks for your support, > Motty > >

Re: [asterisk-users] how to strip +1 out of incoming number

2014-10-02 Thread Chris Bagnall
On 2/10/14 6:52 pm, motty cruz wrote: Hello, our VoIP send us caller ID +1(area)(number) for instance +16024224334 is there a way to strip +1 out of caller ID? ${CALLERID(num):1} should do what you're after (or :2 if you need to strip the + as well) Kind regards, Chris -- This email is made

[asterisk-users] how to strip +1 out of incoming number

2014-10-02 Thread motty cruz
Hello, our VoIP send us caller ID +1(area)(number) for instance +16024224334 is there a way to strip +1 out of caller ID? -- Thanks for your support, Motty -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com