[OpenSIPS-Users] URI PARSING

Premalatha Kuppan premalatha at ngintech.com
Tue Jul 6 08:29:48 CEST 2010


Thanks.

Can i call shell script from opensips.cfg ?

Iam getting error, "parse error in config file,"

Any idea ?

Please help.

Thanks,
Prem

On Fri, Jul 2, 2010 at 3:28 PM, mayamatakeshi <mayamatakeshi at gmail.com>wrote:

>
> On Fri, Jul 2, 2010 at 6:44 PM, Premalatha Kuppan <premalatha at ngintech.com
> > wrote:
>
>> Hi,
>>
>> Can anyone tell me how to parse SIP URL in Opensips.
>>
>> Iam getting request as Sip:aa_bb_ccc at opensips.org<Sip%3Aaa_bb_ccc at opensips.org>.
>> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100706/f6f6fd63/attachment.htm 


More information about the Users mailing list