<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      yes what you needed was the fromdomain parameter on Asterisk side.<br>
      <br>
      Daniel<br>
      <br>
      <br>
      <br>
      <br>
      On 07/08/2014 03:53 PM, Jorge Fresneda - Ibersontel wrote:<br>
    </div>
    <blockquote cite="mid:53BBF7E3.6000306@ibersontel.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hello Daniel,<br>
      <br>
          The same configuration on a SPCE 2.4 works correctly. Anyway,
      I added the "fromdomain" parameter in the subscriber siptrunk and
      now works fine. <br>
      <br>
      Thank you very much for your help. <br>
      regards <br>
      Jorge<br>
      <br>
      <br>
      <div class="moz-cite-prefix">El 08/07/2014 14:18, Daniel Grotti
        escribió:<br>
      </div>
      <blockquote cite="mid:53BBE1B0.8010902@sipwise.com" type="cite">
        <meta http-equiv="Context-Type" content="text/html;
          charset=ISO-8859-1">
        <div class="moz-cite-prefix">Hi,<br>
          as you can see the first INVITE from PBX to SPCE already
          contains the wrong domain:<br>
          <br>
          <br>
          U 2014/07/08 14:05:39.167669 120.22.33.1:5060 ->
          130.22.33.1:5060<br>
          INVITE <a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:sip:91991991@130.22.33.1">sip:91991991@130.22.33.1</a>
          SIP/2.0.<br>
          Via: SIP/2.0/UDP
          192.168.1.130:5060;branch=z9hG4bK6c17aae0;rport.<br>
          Max-Forwards: 70.<br>
****************************************************************<br>
          From: "918569853" <a moz-do-not-send="true"
            class="moz-txt-link-rfc2396E"
            href="mailto:sip:918569853@192.168.1.130"><sip:918569853@192.168.1.130></a>;tag=as2c87f9bb.<br>
****************************************************************<br>
          To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
            href="mailto:sip:91991991@130.22.33.1"><sip:91991991@130.22.33.1></a>.<br>
          Contact: <a moz-do-not-send="true"
            class="moz-txt-link-rfc2396E"
            href="mailto:sip:918569853@192.168.1.130"><sip:918569853@192.168.1.130></a>.<br>
          Call-ID: <a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:445d1a9e64ab7292230b44ff783896d0@192.168.1.130">445d1a9e64ab7292230b44ff783896d0@192.168.1.130</a>.<br>
          CSeq: 102 INVITE.<br>
          User-Agent: Asterisk PBX 1.6.0.26-FONCORE-r78.<br>
          Date: Tue, 08 Jul 2014 12:05:39 GMT.<br>
          Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
          NOTIFY, INFO.<br>
          Supported: replaces, timer.<br>
          Content-Type: application/sdp.<br>
          Content-Length: 325.<br>
          <br>
          <br>
          <br>
          He's putting his private IP as FROM domain.<br>
          This is a client issue.<br>
          <br>
          Daniel<br>
          <br>
          <br>
          <br>
          <br>
          On 07/08/2014 02:10 PM, Jorge Fresneda - Ibersontel wrote:<br>
        </div>
        <blockquote cite="mid:53BBDFC9.1090400@ibersontel.com"
          type="cite">Hello Daniel, <br>
          <br>
          <br>
          Attached you will find a document. "Txt" with the trace of a
          call. <br>
          <br>
          The ips correspond to: <br>
          <br>
          192.168.1.130 - pbx <br>
          120.22.33.1 - IP public (nat pbx) <br>
          130.22.33.1 - SPCE <br>
          221.27.89.2 - carrier <br>
          <br>
          Thanks, <br>
          Regards <br>
          Jorge <br>
          <br>
          <br>
          El 08/07/2014 14:00, Daniel Grotti escribió: <br>
          <blockquote type="cite">Hi, <br>
            SCPE doesn't change from user in peer preferences, just from
            Display <br>
            name and from user. <br>
            <br>
            I still don't understand what it the scenario. <br>
            Can I see the SIP capure bewteen <br>
            <br>
            Client -> SPCE -> Peer <br>
            <br>
            I'd like  to see the how the FROM looks like in the INVITE
            between <br>
            Client and SPCE and between SPCE and Peer. <br>
            <br>
            Thanks. <br>
            Daniel <br>
            <br>
            <br>
            <br>
            On 07/07/2014 11:37 AM, Jorge Fresneda - Ibersontel wrote: <br>
            <blockquote type="cite">Hi, <br>
              <br>
              If, from the PBX I receive "wrong" from. But if another
              log PBX <br>
              sipwise 2.4 (instead of 2.8), it works correctly. I need
              configure a <br>
              "fromdomain" parameter on siptrunk PBX --> SPCE ?? <br>
              <br>
              Regards, <br>
              Jorge <br>
              <br>
              El 07/07/2014 10:51, Daniel Grotti escribió: <br>
              <blockquote type="cite">Hi, <br>
                it's just a guess. <br>
                Do you really receive the INVITE from your subscriber
                with the "wrong" <br>
                FROM domain ? <br>
                If so, this is something you need to change on
                subscriber side. <br>
                Don't know which parameter you need to set, don't know
                even the client. <br>
                <br>
                Daniel <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                On 07/07/2014 10:44 AM, Jorge Fresneda - Ibersontel
                wrote: <br>
                <blockquote type="cite">Hi Daniel, <br>
                  <br>
                  What parameter need to look to change this within the
                  subscriber? <br>
                  <br>
                  Regards <br>
                  Jorge <br>
                  <br>
                  El 07/07/2014 10:27, Daniel Grotti escribió: <br>
                  <blockquote type="cite">Hi, <br>
                    looks like your subscriber is setting that From
                    domain. <br>
                    Usually, if you register a client to a domain, the
                    From should look <br>
                    like <br>
                    as you said: <br>
                    <br>
                    from: <sip:91111111@SCPE_DOMAIN> <br>
                    to: <sip: 922222222@<SPCE_DOMAIN> <br>
                    <br>
                    before going to the PEER: <br>
                    <br>
                    from: <sip:91111111@SCPE_DOMAIN> <br>
                    to: <sip: 922222222@<PEER_IP> <br>
                    <br>
                    <br>
                    Daniel <br>
                    <br>
                    <br>
                    <br>
                    <br>
                    <br>
                    On 07/07/2014 10:18 AM, Jorge Fresneda - Ibersontel
                    wrote: <br>
                    <blockquote type="cite">Hi Daniel, <br>
                      <br>
                      The problem is not with the CLI, it is with the @
                      your-domain. For <br>
                      example: <br>
                      <br>
                      <br>
                      Sipwise Address: 120.23.1.1 <br>
                      Address PBX (subscriber): 192.168.1.2 <br>
                      <br>
                      When I launch a call from the field is as follows:
                      <br>
                      <br>
                      from: <a moz-do-not-send="true"
                        class="moz-txt-link-rfc2396E"
                        href="mailto:sip:91111111@192.168.1.2"><sip:91111111@192.168.1.2></a>
                      <br>
                      to: <sip: 922222222@<carrier_ip> <br>
                      <br>
                      <br>
                      The from should be <a moz-do-not-send="true"
                        class="moz-txt-link-rfc2396E"
                        href="mailto:sip:91111111@120.23.1.1"><sip:91111111@120.23.1.1></a>
                      for the carrier to <br>
                      accept <br>
                      calls. <br>
                      <br>
                      <br>
                      Thanks <br>
                      Regards, <br>
                      Jorge <br>
                      <br>
                      <br>
                      <br>
                      El 07/07/2014 10:12, Daniel Grotti escribió: <br>
                      <blockquote type="cite">Hi, <br>
                        could this be the issue ? <br>
                        <br>
                        <br>
                            From the habndbook: <br>
                        <br>
                               If you do NOT authenticate against a peer
                        host, then the <br>
                        caller <br>
                        CLI is <br>
                        put into the From and P-Asserted-Identity
                        headers, e.g. "+4312345" <br>
                        <a moz-do-not-send="true"
                          class="moz-txt-link-rfc2396E"
                          href="mailto:sip:+4312345@your-domain.com"><sip:+4312345@your-domain.com></a>.
                        If you DO authenticate, then the <br>
                        From <br>
                        header is "+4312345"
                        <sip:your_peer_auth_user@your_peer_auth_realm>
                        <br>
                        and <br>
                        the P-Asserted-Identity header is as usual like
                        <br>
                        <a moz-do-not-send="true"
                          class="moz-txt-link-rfc2396E"
                          href="mailto:sip:+4312345@your-domain.com"><sip:+4312345@your-domain.com></a>.
                        So for presenting the correct CLI in <br>
                        CLIP no screening scenarios, your peering
                        provider needs to extract <br>
                        the <br>
                        correct user either from the From Display-Name
                        or from the <br>
                        P-Asserted-Identity URI-User. <br>
                        <br>
                        <br>
                        <br>
                        Otherwise please give us more information about
                        your peer <br>
                        configuration <br>
                        and the call scenario. <br>
                        <br>
                        Daniel <br>
                        <br>
                        <br>
                        <br>
                        On 07/07/2014 10:04 AM, Jorge Fresneda -
                        Ibersontel wrote: <br>
                        <blockquote type="cite">Hello, <br>
                          <br>
                          I have a problem in version 2.8 with outgoing
                          calls. In the from <br>
                          field  goes "source@ <pbx_ip>"  instead
                          of  "source@ <sipwise_ip>". <br>
                          <br>
                          What may be because this problem? <br>
                          <br>
                          Thank you very much. <br>
                          Regards <br>
                          Jorge <br>
                          <br>
                          _______________________________________________

                          <br>
                          Spce-user mailing list <br>
                          <a moz-do-not-send="true"
                            class="moz-txt-link-abbreviated"
                            href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
                          <br>
                          <a moz-do-not-send="true"
                            class="moz-txt-link-freetext"
                            href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
                          <br>
                        </blockquote>
                        _______________________________________________
                        <br>
                        Spce-user mailing list <br>
                        <a moz-do-not-send="true"
                          class="moz-txt-link-abbreviated"
                          href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
                        <br>
                        <a moz-do-not-send="true"
                          class="moz-txt-link-freetext"
                          href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
                        <br>
                      </blockquote>
                      _______________________________________________ <br>
                      Spce-user mailing list <br>
                      <a moz-do-not-send="true"
                        class="moz-txt-link-abbreviated"
                        href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
                      <br>
                      <a moz-do-not-send="true"
                        class="moz-txt-link-freetext"
                        href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
                      <br>
                    </blockquote>
                    _______________________________________________ <br>
                    Spce-user mailing list <br>
                    <a moz-do-not-send="true"
                      class="moz-txt-link-abbreviated"
                      href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
                    <br>
                    <a moz-do-not-send="true"
                      class="moz-txt-link-freetext"
                      href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
                    <br>
                  </blockquote>
                  _______________________________________________ <br>
                  Spce-user mailing list <br>
                  <a moz-do-not-send="true"
                    class="moz-txt-link-abbreviated"
                    href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
                  <br>
                  <a moz-do-not-send="true"
                    class="moz-txt-link-freetext"
                    href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
                  <br>
                </blockquote>
                _______________________________________________ <br>
                Spce-user mailing list <br>
                <a moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
                <br>
                <a moz-do-not-send="true" class="moz-txt-link-freetext"
                  href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
                <br>
              </blockquote>
              <br>
              _______________________________________________ <br>
              Spce-user mailing list <br>
              <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
              <br>
              <a moz-do-not-send="true" class="moz-txt-link-freetext"
                href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
              <br>
            </blockquote>
            <br>
            _______________________________________________ <br>
            Spce-user mailing list <br>
            <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
              href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
            <br>
            <a moz-do-not-send="true" class="moz-txt-link-freetext"
              href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
            <br>
          </blockquote>
          <br>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
Spce-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
</pre>
        </blockquote>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Spce-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>