<!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">
    Hi David,<br>
    <br>
    &nbsp;&nbsp;&nbsp; On other soft-switches I've worked with in the past I have been
    able to do this. Some of the PBX's which specifically use the Invite
    URI rather than to TO include Asterisk, Zultys and a few others and
    also Gateways such as a Quintum.<br>
    <br>
    Regards,<br>
    David<br>
    <br>
    On 12/10/2010 5:24 PM, David Ponzone wrote:
    <blockquote cite="mid:157B0F19-E2AD-4B3E-9772-69CE015BE966@ipeva.fr"
      type="cite">I really don't think it is as:
      <div>1/ i was not able to find a parameter to alter the INVITE URI</div>
      <div>2/ FS itself has a parameter to change the behaviour and use
        the SIP To instead of the INVITE URI as the destination_number,
        so it would tend to prove that it's the other party's job to use
        the right field.</div>
      <div><br>
      </div>
      <div>David (Allen, I am not talking to myself :) ), can you give
        us some examples of PBXs who rely only on the INVITE URI ?</div>
      <div>Are you sure they don't have a parameter to change that ?</div>
      <div><br>
        <div apple-content-edited="true"> <span
            class="Apple-style-span" style="border-collapse: separate;
            color: rgb(0, 0, 0); font-family: Helvetica; font-size:
            14px; 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;">
            <div style="word-wrap: break-word;"><span
                class="Apple-style-span" style="border-collapse:
                separate; color: rgb(0, 0, 0); font-family: Helvetica;
                font-size: 14px; 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;">
                <div style="word-wrap: break-word;">
                  <div><font class="Apple-style-span" face="'Helvetica
                      Neue'"><font class="Apple-style-span"
                        color="#1c00ff">David Ponzone &nbsp;</font><font
                        class="Apple-style-span" color="#000000"
                        size="3"><span class="Apple-style-span"
                          style="font-size: 12px;">Direction Technique</span></font></font></div>
                  <div><font class="Apple-style-span" face="'Helvetica
                      Neue'"><font class="Apple-style-span" size="3"><span
                          class="Apple-style-span" style="font-size:
                          13px;">email: <a moz-do-not-send="true"
                            href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div>
                  <div><font class="Apple-style-span" face="'Helvetica
                      Neue'"><font class="Apple-style-span" size="3"><span
                          class="Apple-style-span" style="font-size:
                          13px;">tel: &nbsp; &nbsp; &nbsp;01 74 03 18 97</span></font></font></div>
                  <div><font class="Apple-style-span" face="'Helvetica
                      Neue'"><font class="Apple-style-span" size="3"><span
                          class="Apple-style-span" style="font-size:
                          13px;">gsm: &nbsp; 06 66 98 76 34</span></font></font></div>
                  <div><font class="Apple-style-span" face="'Helvetica
                      Neue'"><br>
                    </font></div>
                  <div><font class="Apple-style-span" color="#1c00ff"
                      face="'Helvetica Neue'">Service Client<span
                        class="Apple-converted-space">&nbsp;</span></font><font
                      class="Apple-style-span" face="'Helvetica Neue'"><font
                        class="Apple-style-span" color="#ff0000">IP</font></font><font
                      class="Apple-style-span" color="#1c00ff"
                      face="'Helvetica Neue'">eva</font></div>
                  <div><font class="Apple-style-span" color="#1c00ff"
                      face="'Helvetica Neue'"><span
                        class="Apple-style-span" style="color: rgb(0, 0,
                        0); font-family: Helvetica;">
                        <div><font class="Apple-style-span"
                            face="'Helvetica Neue'"><font
                              class="Apple-style-span" size="3"><span
                                class="Apple-style-span"
                                style="font-size: 13px;">tel: &nbsp; &nbsp; &nbsp;0811
                                46 26 26</span></font></font></div>
                        <div><font class="Apple-style-span"
                            face="'Helvetica Neue'" size="3"><span
                              class="Apple-style-span" style="font-size:
                              13px;">
                              <div style="margin: 0px; font: 10px Arial;
                                color: rgb(0, 34, 243);"><span
                                  style="text-decoration: underline;"><a
                                    moz-do-not-send="true"
                                    href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span
                                  style="color: rgb(101, 104, 149);">&nbsp;
                                  -&nbsp; &nbsp;<span style="color: rgb(0, 34,
                                    243); text-decoration: underline;"><a
                                      moz-do-not-send="true"
                                      href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div>
                              <div style="margin: 0px; font: 10px Arial;
                                color: rgb(0, 34, 243);"><span
                                  class="Apple-style-span"
                                  style="text-decoration: underline;"><br>
                                </span></div>
                              <div style="margin: 0px; font: 10px Arial;
                                color: rgb(0, 34, 243);"><span
                                  class="Apple-style-span">
                                  <div style="margin: 0px; text-align:
                                    justify; font: 10px Arial; color:
                                    rgb(192, 192, 192);"><i>Ce message
                                      et toutes les pi&egrave;ces jointes sont
                                      confidentiels et &eacute;tablis &agrave;
                                      l'intention exclusive de ses
                                      destinataires. Toute utilisation
                                      ou diffusion non autoris&eacute;e est
                                      interdite. Tout message
                                      &eacute;lectronique est susceptible
                                      d'alt&eacute;ration.&nbsp;</i><b><i>IPeva</i></b><i>&nbsp;d&eacute;cline
                                      toute responsabilit&eacute; au titre de
                                      ce message s'il a &eacute;t&eacute; alt&eacute;r&eacute;,
                                      d&eacute;form&eacute; ou falsifi&eacute;. Si vous
                                      n'&ecirc;tes pas destinataire de ce
                                      message, merci de le d&eacute;truire
                                      imm&eacute;diatement et d'avertir
                                      l'exp&eacute;diteur.</i></div>
                                  <div style="text-decoration:
                                    underline; text-align: justify;"><font
                                      class="Apple-style-span"
                                      color="#c0c0c0"><i><br>
                                      </i></font></div>
                                </span></div>
                            </span></font></div>
                      </span></font></div>
                </div>
              </span><br class="Apple-interchange-newline">
            </div>
          </span><br class="Apple-interchange-newline">
        </div>
        <br>
        <div>
          <div>Le 12/10/2010 &agrave; 07:18, Michael Collins a &eacute;crit :</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">Ah, I was reading too much into that.<br>
            <br>
            If I understand correctly you need to send the INVITE to the
            actual endpoint, but you need the target URI be the same as
            the URI in the To: field? Is that even legal in SIP? (Not
            that legal matters since vendors do whatever they want
            anyway...)<br>
            <br>
            -MC<br>
            <br>
            <div class="gmail_quote">On Mon, Oct 11, 2010 at 3:59 PM,
              David Allen <span dir="ltr">&lt;<a moz-do-not-send="true"
                  href="mailto:thedjallen@gmail.com">thedjallen@gmail.com</a>&gt;</span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
                0.8ex; border-left: 1px solid rgb(204, 204, 204);
                padding-left: 1ex;"> Hi Michael,<br>
                <br>
                Its a SIP UA that registers locally to Freeswitch.<br>
                <br>
                Regards,<br>
                <font color="#888888">David<br>
                </font>
                <div>
                  <div class="h5"><br>
                    On Tue, Oct 12, 2010 at 9:51 AM, Michael Collins
                    &lt;<a moz-do-not-send="true"
                      href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;
                    wrote:<br>
                    &gt; What is a "dynamically registered SIP user"?<br>
                    &gt; -MC<br>
                    &gt;<br>
                    &gt; On Thu, Oct 7, 2010 at 10:32 PM, David Allen
                    &lt;<a moz-do-not-send="true"
                      href="mailto:thedjallen@gmail.com">thedjallen@gmail.com</a>&gt;
                    wrote:<br>
                    &gt;&gt;<br>
                    &gt;&gt; &nbsp;Hi,<br>
                    &gt;&gt;<br>
                    &gt;&gt; I'm trying to send multiple Direct Indial
                    Numbers down to a dynamically<br>
                    &gt;&gt; registered SIP User. I need to ensure that
                    both the To and Target URI<br>
                    &gt;&gt; contain the direct Indial number. I'm able
                    to modify the SIP TO Header<br>
                    &gt;&gt; of a call that is sent to them like below:<br>
                    &gt;&gt;<br>
                    &gt;&gt; &lt;action application="bridge"<br>
                    &gt;&gt;
                    data="sofia/external/56778977%${domain}^61390009000"/&gt;<br>
                    &gt;&gt;<br>
                    &gt;&gt; which sends the request as:<br>
                    &gt;&gt;<br>
                    &gt;&gt;<br>
                    &gt;&gt;
                    ------------------------------------------------------------------------<br>
                    &gt;&gt;<br>
                    &gt;&gt; &nbsp; &nbsp;INVITE <a moz-do-not-send="true"
                      href="http://sip:56778977@192.168.22.2:5061"
                      target="_blank">sip:56778977@192.168.22.2:5061</a>
                    SIP/2.0<br>
                    &gt;&gt;<br>
                    &gt;&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP
                    202.0.155.73;rport;branch=z9hG4bKXeND9cHtgKF2j<br>
                    &gt;&gt;<br>
                    &gt;&gt; &nbsp; &nbsp;Max-Forwards: 69<br>
                    &gt;&gt;<br>
                    &gt;&gt; &nbsp; &nbsp;From: "0390001000" &lt;<a
                      moz-do-not-send="true"
                      href="mailto:sip%3A0390001000@192.168.2.200">sip:0390001000@192.168.2.200</a>&gt;;tag=K4HHaZ9v1H07Q<br>
                    &gt;&gt;<br>
                    &gt;&gt; &nbsp; &nbsp;To: &lt;<a moz-do-not-send="true"
                      href="mailto:sip%3A61390009000@192.168.2.200">sip:61390009000@192.168.2.200</a>&gt;<br>
                    &gt;&gt;<br>
                    &gt;&gt; &nbsp;But in order to maintain compatability
                    with a number of PBX's/VoIP<br>
                    &gt;&gt; devices on the market, I need to be able to
                    send the invite to the<br>
                    &gt;&gt; dynamically registered SIP user, however
                    have it set the Target URI and<br>
                    &gt;&gt; To as the same contact number like below:<br>
                    &gt;&gt;<br>
                    &gt;&gt;<br>
                    &gt;&gt;
                    ------------------------------------------------------------------------<br>
                    &gt;&gt;<br>
                    &gt;&gt; &nbsp; &nbsp;INVITE <a moz-do-not-send="true"
                      href="http://sip:61390009000@192.168.22.2:5061"
                      target="_blank">sip:61390009000@192.168.22.2:5061</a>
                    SIP/2.0<br>
                    &gt;&gt;<br>
                    &gt;&gt; &nbsp; &nbsp;Via: SIP/2.0/UDP
                    202.0.155.73;rport;branch=z9hG4bKXeND9cHtgKF2j<br>
                    &gt;&gt;<br>
                    &gt;&gt; &nbsp; &nbsp;Max-Forwards: 69<br>
                    &gt;&gt;<br>
                    &gt;&gt; &nbsp; &nbsp;From: "0390001000" &lt;<a
                      moz-do-not-send="true"
                      href="mailto:sip%3A0390001000@192.168.2.200">sip:0390001000@192.168.2.200</a>&gt;;tag=K4HHaZ9v1H07Q<br>
                    &gt;&gt;<br>
                    &gt;&gt; &nbsp; &nbsp;To: &lt;<a moz-do-not-send="true"
                      href="http://sip:61390009000@192.168.22.2:5061"
                      target="_blank">sip:61390009000@192.168.22.2:5061</a>&gt;<br>
                    &gt;&gt;<br>
                    &gt;&gt; Is there a way to do this setting via
                    variables? I can't seem to find<br>
                    &gt;&gt; any details for it.<br>
                    &gt;&gt;<br>
                    &gt;&gt; Thanks<br>
                    &gt;&gt;<br>
                    &gt;&gt; David<br>
                    &gt;&gt;<br>
                    &gt;&gt;
                    _______________________________________________<br>
                    &gt;&gt; FreeSWITCH-users mailing list<br>
                    &gt;&gt; <a moz-do-not-send="true"
                      href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
                    &gt;&gt; <a moz-do-not-send="true"
                      href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                      target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                    &gt;&gt; UNSUBSCRIBE:<a moz-do-not-send="true"
                      href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                      target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                    &gt;&gt; <a moz-do-not-send="true"
                      href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                    &gt;<br>
                    &gt;<br>
                    &gt; _______________________________________________<br>
                    &gt; FreeSWITCH-users mailing list<br>
                    &gt; <a moz-do-not-send="true"
                      href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
                    &gt; <a moz-do-not-send="true"
                      href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                      target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                    &gt; UNSUBSCRIBE:<a moz-do-not-send="true"
                      href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                      target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                    &gt; <a moz-do-not-send="true"
                      href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                    &gt;<br>
                    &gt;<br>
                    <br>
                    _______________________________________________<br>
                    FreeSWITCH-users mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
                    <a moz-do-not-send="true"
                      href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                      target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                    UNSUBSCRIBE:<a moz-do-not-send="true"
                      href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                      target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                    <a moz-do-not-send="true"
                      href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                  </div>
                </div>
              </blockquote>
            </div>
            <br>
            _______________________________________________<br>
            FreeSWITCH-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>