I am trying to use the FILTER() function to strip out "/" from a CID
name.  I have the following in my extensions.conf where I want to
perform the filtering:

exten => s,n,Set(NAME=${FILTER(\x20-\x2e\x30-\7d,${DIAL_NAME})})

However, when ${DIAL_NAME} is, say, "J & J DOE" the string resulting
from the FILTER() is " &  ".  It would appear that only the first range
is being considered.  Do I have the syntax for FILTER() correct?  If so,
is the result that I am seeing the intended behavior or a bug?

Cheers,
b.

Attachment: signature.asc
Description: OpenPGP digital signature

--
_____________________________________________________________________
-- 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

Reply via email to