<!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 text="#000000" bgcolor="#ffffff">
<tt>Hi Alexander,<br>
<br>
Have you tried to use the "s.unescape.user" transformation (NOT
the escape, but unescape) - see:<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-Tran-1-9#toc12">http://www.opensips.org/Documentation/Script-Tran-1-9#toc12</a><br>
<br>
like $(fU{s.</tt><tt>unescape.user</tt><tt>}{s.select,1,#}) ??<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 10/30/2013 01:39 PM, Alexander Mustafin wrote:
<blockquote
cite="mid:747B6B10-DE33-4408-9382-3B6CF59212BB@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Hello!
<div><br>
</div>
<div>I've got calls with FROM field looks like From: "Username"
<<a moz-do-not-send="true"
href="sip:1001%2377777777777@telnum">sip:1001%2377777777777@telnum</a>>;tag=5B353042</div>
<div>where %23 - is separator #. I need to save value before
separator and trying to use {s.select}, but this transformation
not works.</div>
<div><br>
</div>
<div>I need function with separator, because VALUE may be random,
but separator is always #.</div>
<div>I was tried to use {s.escape.user} transformation, but
unsuccessfully.</div>
<div><br>
</div>
<div>Any solutions or other ways?<br>
<div><br>
</div>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
word-wrap: break-word;">
<div>Best regards,</div>
<div>Alexander Mustafin</div>
<div><a moz-do-not-send="true"
href="mailto:mustafin.aleksandr@gmail.com">mustafin.aleksandr@gmail.com</a></div>
<div><br>
</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
</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>