Hi!
I want to parse a string. In detail, after an ENUM lookup the SIP URI is
stored in the variable enumresult. Now I want check if the domain part
of the SIP URI matches a ceratin domain and if yes, replace it with
another domain. E.g. I would like to do something like this:
Set( pos = strpos( ${enumresult}, "@1.2.3.4"))
if pos
Set(enumresult=${enumresult:0:[EMAIL PROTECTED])
Is such string handling possible inside the dialplan?
Thanks
Klaus
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users