On Fri, Jul 2, 2010 at 6:44 PM, Premalatha Kuppan
<[email protected]>wrote:

> Hi,
>
> Can anyone tell me how to parse SIP URL in Opensips.
>
> Iam getting request as 
> Sip:[email protected]<sip%[email protected]>.
> I need to parse "aa_bb_ccc" as aa,bb,cc and store it in DB.
>
> Anyidea or suggestions ?
>
>
Maybe you can use this transformation on the $rU:
http://www.opensips.org/Resources/DocsCoreTran16#toc6

But you will need to call it 3 times, once for each token.

If the number of token varies, then I think you could ask module perl to
split it to you.

br,
takeshi
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to