<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <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">http://www.opensips.org/Resources/DocsCoreTran18</a> for more
      details on the used transformations.<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 07/12/2012 06:15 PM, asd asd wrote:
    <blockquote
cite="mid:trinity-5518ce07-9e1c-44b7-8bf9-1e867242d707-1342106159607@3capp-webde-bs28.dlan.cinetic.de"
      type="cite">
      <div style="font-family: Verdana; font-size: 12px;">
        <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">&lt;sip:user@exampel.com&gt;</a>,&lt;tel:+123456789&gt;  <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: 12px;
              line-height: 17px; border-top: 1px solid rgb(0, 0, 0);">Ihr
              WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail
              App für iPhone und Android.   <br>
              <a moz-do-not-send="true"
                href="https://produkte.web.de/freemail_mobile_startseite/"><b>https://produkte.web.de/freemail_mobile_startseite/</b></a></td>
          </tr>
        </tbody>
      </table>
      <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>