<br><div class="gmail_quote">On Fri, Jul 2, 2010 at 6:44 PM, Premalatha Kuppan <span dir="ltr">&lt;<a href="mailto:premalatha@ngintech.com">premalatha@ngintech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br><br>Can anyone tell me how to parse SIP URL in Opensips.<br><br>Iam getting request as <a href="mailto:Sip%3Aaa_bb_ccc@opensips.org" target="_blank">Sip:aa_bb_ccc@opensips.org</a>. I need to parse &quot;aa_bb_ccc&quot; as aa,bb,cc and store it in DB.<br>

<br>Anyidea or suggestions ?<br><br></blockquote></div><br>Maybe you can use this transformation on the $rU:<br><a href="http://www.opensips.org/Resources/DocsCoreTran16#toc6">http://www.opensips.org/Resources/DocsCoreTran16#toc6</a><br>
<br>But you will need to call it 3 times, once for each token.<br><br>If the number of token varies, then I think you could ask module perl to split it to you.<br><br>br,<br>takeshi<br>