<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
Check out the string [1] and uri [2] transformations. For accesing a
specific header, see the $hdr variable.<br>
<br>
[1] <a class="moz-txt-link-freetext" href="http://www.opensips.org/Resources/DocsCoreTran15#toc1">http://www.opensips.org/Resources/DocsCoreTran15#toc1</a><br>
[2] <a class="moz-txt-link-freetext" href="http://www.opensips.org/Resources/DocsCoreTran15#toc17">http://www.opensips.org/Resources/DocsCoreTran15#toc17</a><br>
[3] <a class="moz-txt-link-freetext" href="http://www.opensips.org/Resources/DocsCoreVar15#toc82">http://www.opensips.org/Resources/DocsCoreVar15#toc82</a><br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
<br>
On 06/06/2012 06:03 PM, Jose Silva wrote:
<blockquote
cite="mid:CALFrS70Sxrbn+Fx3v0MrzwuRcCvv1y5f5j2aJmpJA2jFsGU43g@mail.gmail.com"
type="cite">
<div>Hello all,</div>
<div> </div>
<div>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?</div>
<div> </div>
<div>ex. </div>
<div>$var(x)= store the middle part of SIP URI userpart</div>
<div>$var(x)= store a specific parameter present on the SIP URI<br>
</div>
<div>Best Regards to all,</div>
<div>José Carlos Silva</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>