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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to