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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141002/6110a4b0/attachment.html>
Chris Bagnall
2014-Oct-02 18:00 UTC
[asterisk-users] how to strip +1 out of incoming number
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 from 100% recycled electrons
John Kiniston
2014-Oct-02 18:08 UTC
[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 <motty.cruz at gmail.com> 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 > > -- > _____________________________________________________________________ > -- 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 >-- A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. ---Heinlein -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141002/89e1b45c/attachment.html>
Reasonably Related Threads
- Asterisk pin code for out-going international calls (safeguard against fraud)
- Asterisk pin code for out-going international calls (safeguard against fraud)
- Dial and start music on hold after timeout
- Any way of creating a file to write to from the dialplan, or must I use AGI?
- Dial and start music on hold after timeout