[OpenSIPS-Users] Script variable manipulation

Vlad Paiu vladpaiu at opensips.org
Wed Jun 6 17:07:04 CEST 2012


Hello,

Check out the string [1] and uri [2] transformations. For accesing a 
specific header, see the $hdr variable.

[1] http://www.opensips.org/Resources/DocsCoreTran15#toc1
[2] http://www.opensips.org/Resources/DocsCoreTran15#toc17
[3] http://www.opensips.org/Resources/DocsCoreVar15#toc82

Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com


On 06/06/2012 06:03 PM, Jose Silva wrote:
> Hello all,
> I'm using opensipps 1.5.3 and I'm not understanding how I can store a 
> substring of a header/SIP URI on a script variable. I have searched 
> the documentation and it seams that this is not possible, can you confirm?
> ex.
> $var(x)= store the middle part of SIP URI userpart
> $var(x)= store a specific parameter present on the SIP URI
> Best Regards to all,
> José Carlos Silva
>
>
> _______________________________________________
> 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/20120606/79a5837e/attachment.htm>


More information about the Users mailing list