Eric Cooper wrote:
On Wed, Jul 02, 2014 at 05:00:47PM -0700, John Kiniston wrote:How about using the FILTER function to strip out anything you don't like from the CALLERID variables? Set(CIDNAME=${FILTER(A-Z,${CALLERID(NAME)})}) Set(CIDNUM=${FILTER(0-9,${CALLERID(NUM)})})Thanks for the suggestion; I'll try it. I'm still bothered that I can't figure out how to reliably quote the characters rather than just stripping them out.
I have found that this varies from version to version The parser in 1.4 is quite different than in 1.8 or 11 I ran into this with MSQL commands within the dialplan Escapes (\) single and double quotes are not uniform from 1.4 through 11. YMMV John Novack -- Dog is my Co-pilot -- _____________________________________________________________________ -- 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
