<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi Bogdan,<br/></div><div><br/></div><div>Works like a charm!<br/></div><div><br/></div><div>Thanks a lot, I would not solve this by myself. <br/></div><div><br/></div><div>Unfortunately the documentation is a little bit scrace on examples for this transformation. No blaming though ;)<br/></div><div><br/></div><div>Maybe you could add this example for others to get. <br/>
<br/></div><div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;">
<b>Gesendet:</b> Donnerstag, 12. Juli 2012 um 18:31 Uhr<br/>
<b>Von:</b> "Bogdan-Andrei Iancu" <bogdan@opensips.org><br/>
<b>An:</b> "OpenSIPS users mailling list" <users@lists.opensips.org><br/>
<b>Cc:</b> "asd asd" <xaled@web.de><br/>
<b>Betreff:</b> Re: [OpenSIPS-Users] How to get the second tel: uri in a PAI header?
<br/></div>
<div name="quoted-content">
<div style="background-color: rgb(255,255,255);">
<tt>Hi,<br/>
<br/>
Try something like :<br/>
<br/>
$(hdr(P-Asserted-Identity</tt><tt>){s.select,1,,}{nameaddr.uri}{uri.user}</tt><tt>)<br/>
<br/>
See <a class="moz-txt-link-freetext" href="http://www.opensips.org/Resources/DocsCoreTran18" target="_blank">http://www.opensips.org/Resources/DocsCoreTran18</a> for more
details on the used transformations.<br/>
<br/>
Regards,<br/>
</tt>
<pre class="moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<br/>
On 07/12/2012 06:15 PM, asd asd wrote:
<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Hi,<br/>
</div>
<div><br/>
</div>
<div>what is the best way to get the telephone number from the
second tel: uri in a PAI header?<br/>
</div>
<div><br/>
</div>
<div>I need the +123456789 string.<br/>
</div>
<div><br/>
</div>
<div>P-Asserted-Identity:
"user"<a class="moz-txt-link-rfc2396E" href="#"><sip:user@exampel.com></a>,<tel:+123456789> <br/>
</div>
<div><br/>
</div>
<div>Thanks for any hints.<br/>
</div>
</div>
<br/>
<br/>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font-family: verdana;font-size: 12.0px;line-height: 17.0px;border-top: 1.0px solid rgb(0,0,0);">Ihr
WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail
App für iPhone und Android. <br/>
<a href="https://produkte.web.de/freemail_mobile_startseite/" target="_blank"><b>https://produkte.web.de/freemail_mobile_startseite/</b></a></td>
</tr>
</tbody>
</table>
<pre><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
</div>
</div><div><br/><br/></div></div> <br><br><table cellpadding="0" cellspacing="0" border="0"><tr><td style="font-family:verdana; font-size:12px; line-height:17px;border-top:1px solid #000000">Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android. <br><a href="https://produkte.web.de/freemail_mobile_startseite/"><b>https://produkte.web.de/freemail_mobile_startseite/</b></a></td></tr></table>
</body></html>