Why not DBGet from the SIP.Registry in ASTDB? Wouldn't that be cleaner since it would only return the 1 you want instead of parsing what could be a load of sip peers?
-- William _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users