> readsql=SELECT name FROM asterisk_sippeers WHERE name = '%477'
Not sure what database you are accessing, but have you tried the
following:
readsql=SELECT name FROM asterisk_sippeers WHERE name LIKE '%477'
--
_____________________________________________________________________
-- 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