I prefer using FILTER() so if somehow CallerID arrived with something nasty it will be filtered out.
From: [email protected] [mailto:[email protected]] On Behalf Of John Kiniston Sent: Thursday, October 02, 2014 2:09 PM To: Asterisk Users Mailing 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 <[email protected]<mailto:[email protected]>> 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
-- _____________________________________________________________________ -- 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
