Hello,

I would like to verify if a specific SIP header exists, and if yes, extract
the partial content from another header.

1. Is there a way to verify if a specific header exists?
2. How do I extract data that is between the first : and the following @?
Specifically, The data looks like <sip:1234567...@10.0.0.1:5060> and I would
like to get only the 1234567890

I tried to use the CUT() command, but without success.

Thank you.

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