<div dir="ltr">Leopoldo,<div><br></div><div>This sounds quite honestly insane - I know of GPON FTTH endpoints (triple-play boxes etc) handling this properly, so it is not a general issue to justify such approach, rather the endpoint handling this as a direct IP call due to its config possibly - but call presentation is an ENDPOINT preference at the end of the day, it does not justify for killing a standard on the server. If you already tried using/sending the proper Caller-ID presentation headers (as Daniel pointed, also in previous instances of this case) I would suggest handling this horrible exception outside of the CE (start a separate middleware Kamailio instance to try take care of this unlikely transformation towards the peer, or use another b2bua toward the endpoints) without jeopardizing the SPCE core functionality and without breaking SIP for all the properly implemented endpoints.</div>

</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span style="font-family:Arial"><div style="font-size:13px;color:rgb(119,119,119)">

<font><span style="font-family:Arial;color:rgb(119,119,119)"><br></span></font></div><div style="font-size:13px;color:rgb(119,119,119)"><font><span style="font-family:Arial;color:rgb(119,119,119)"><br></span></font></div>

<div style="font-size:13px"><font color="#666666"><span style="font-family:Arial">Lorenzo Mangani</span></font></div><div style="font-size:13px"><font color="#666666"><div style="font-size:x-small"><br></div><div style="font-size:x-small">

HOMER / PCAPTURE DEV TEAM</div><div style="font-size:x-small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px"><span style="font-family:Arial"><div style="font-size:x-small"><font size="1" color="#666666">Desk: +31 20 8080468 / +1 202-632-7227</font></div>

</span></span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px"><span style="font-family:Arial"><div style="font-size:x-small"><font size="1" color="#666666">Mobile: +31 6 4603-2730</font></div>

<div style="font-size:x-small"><font size="1" color="#666666"><br></font></div></span></span></div></font></div><div style="font-size:x-small"><font size="1" color="#666666"><span style="font-family:Arial">QXIP BV - Capture Engineering</span></font></div>

<div style="font-size:x-small"><font size="1" color="#666666"><span style="font-family:Arial">Amsterdam, The Netherlands</span></font></div><div style="font-size:x-small"><font size="1" color="#666666"><span style="font-family:Arial"><a href="mailto:get@pcapture.com">get@pcapture.com</a></span></font></div>

<div style="font-size:x-small"><br></div></span></span><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span style="font-family:Arial"><div style="font-size:x-small"><br></div><div style="font-size:x-small">

<br></div></span></span></div></div>
<br><br><div class="gmail_quote">On Sun, Jul 13, 2014 at 11:37 AM, Leopoldo Iglesia <span dir="ltr"><<a href="mailto:liglesia@por-aire.es" target="_blank">liglesia@por-aire.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>they are GPON specific FTTH endpoints,
      no way to mod them. Provider specific.<br>
      <br>
      Call work, but caller ID is taken from Contact, so  NGCP-LB is
      displayed. I need wo swap From  - Contact fields to manage this
      issue.<br>
      <br>
      <br>
      El 13/07/2014 11:34, Lorenzo Mangani escribió:<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div>Leopoldo,</div>
        <div><br>
        </div>
        Rather than helping you break the switch and staying cryptic -
        what are those endpoints specifically, and do you have some
        traces to share for successful and failing calls?
        <div class="gmail_extra">
          <div>
            <div dir="ltr"><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span style="font-family:Arial">
                  <div style="font-size:13px;color:rgb(119,119,119)"><font><span style="font-family:Arial;color:rgb(119,119,119)"><br>
                      </span></font></div>
                  <div style="font-size:13px;color:rgb(119,119,119)"><font><span style="font-family:Arial;color:rgb(119,119,119)">Best,</span></font></div>
                  <div style="font-size:13px;color:rgb(119,119,119)"><font><span style="font-family:Arial;color:rgb(119,119,119)"><br>
                      </span></font></div>
                  <div style="font-size:13px"><font color="#666666"><span style="font-family:Arial">Lorenzo Mangani</span></font></div>
                  <div style="font-size:13px"><font color="#666666">
                      <div style="font-size:x-small"><br>
                      </div>
                      <div style="font-size:x-small">HOMER / PCAPTURE
                        DEV TEAM</div>
                      <div style="font-size:x-small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px"><span style="font-family:Arial">
                            <div style="font-size:x-small">
                              <font size="1" color="#666666">Desk: +31
                                20 8080468 / <a href="tel:%2B1%20202-632-7227" value="+12026327227" target="_blank">+1 202-632-7227</a></font></div>
                          </span></span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px"><span style="font-family:Arial">
                            <div style="font-size:x-small">
                              <font size="1" color="#666666">Mobile: +31
                                6 4603-2730</font></div>
                            <div style="font-size:x-small"><font size="1" color="#666666"><br>
                              </font></div>
                          </span></span></div>
                    </font></div>
                  <div style="font-size:x-small"><font size="1" color="#666666"><span style="font-family:Arial">QXIP
                        BV - Capture Engineering</span></font></div>
                  <div style="font-size:x-small"><font size="1" color="#666666"><span style="font-family:Arial">Amsterdam,
                        The Netherlands</span></font></div>
                  <div style="font-size:x-small"><font size="1" color="#666666"><span style="font-family:Arial"><a href="mailto:get@pcapture.com" target="_blank">get@pcapture.com</a></span></font></div>
                  <div style="font-size:x-small"><br>
                  </div>
                </span></span><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span style="font-family:Arial">
                  <div style="font-size:x-small"><br>
                  </div>
                  <div style="font-size:x-small">
                    <br>
                  </div>
                </span></span></div>
          </div>
          <br>
          <br>
          <div class="gmail_quote">On Sun, Jul 13, 2014 at 11:28 AM,
            Leopoldo Iglesia <span dir="ltr"><<a href="mailto:liglesia@por-aire.es" target="_blank">liglesia@por-aire.es</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <div>There is no other way with this endpoints, as the
                  network manager told. I have to swap Sip header
                  fields. <br>
                  But, I already created a custom tt2 with
                  Contact=<sip:$Ri> ... and no modifications at
                  all when calling.<br>
                  <br>
                  Don´t know why.<br>
                  <br>
                  El 13/07/2014 11:23, Lorenzo Mangani escribió:<br>
                </div>
                <div>
                  <div>
                    <blockquote type="cite">
                      <div dir="ltr">
                        <div><font face="arial, helvetica, sans-serif">Leopoldo,</font></div>
                        <div><font face="arial, helvetica, sans-serif"><br>
                          </font></div>
                        <div><font face="arial, helvetica, sans-serif">SEMS
                            supports modifying the Contact header as
                            shown in their example sbcprofile.conf </font><span style="font-family:arial,helvetica,sans-serif">(which will likely be the
                            wrong approach as well as the easiest way to
                            demolish your routing when not done
                            properly) but since the underlying SIP issue
                            is not clear to you either apparently so
                            far, I would strongly suggest investigating
                            other options first - having the Caller ID
                            in the contact header surely outlines an
                            issue with your setup/endpoints and not the
                            CE. This being said:</span></div>
                        <div><font face="arial, helvetica, sans-serif"><br>
                          </font></div>
                        <div><font face="arial, helvetica, sans-serif"><span style="color:rgb(0,136,0);white-space:pre-wrap">#Contact=<sip:$Ri></span><br>
                          </font></div>
                        <div><span style="color:rgb(0,136,0);white-space:pre-wrap"><font face="arial, helvetica, sans-serif"><br>
                            </font></span></div>
                        <div><font color="#000000" face="arial,
                            helvetica, sans-serif"><span style="white-space:pre-wrap">Link: <a href="https://github.com/sipwise/sems/blob/master/apps/sbc/etc/transparent.sbcprofile.conf" target="_blank">https://github.com/sipwise/sems/blob/master/apps/sbc/etc/transparent.sbcprofile.conf</a></span><br>


                          </font></div>
                        <div class="gmail_extra"><font face="arial,
                            helvetica, sans-serif"><br>
                          </font></div>
                        <div class="gmail_extra"><br clear="all">
                          <div>
                            <div dir="ltr"><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span style="font-family:Arial">
                                  <div style="font-size:13px;color:rgb(119,119,119)">
                                    <font><span style="font-family:Arial;color:rgb(119,119,119)">Best,</span></font></div>
                                  <div style="font-size:13px;color:rgb(119,119,119)"><font><span style="font-family:Arial;color:rgb(119,119,119)"><br>
                                      </span></font></div>
                                  <div style="font-size:13px"><font color="#666666"><span style="font-family:Arial">Lorenzo
                                        Mangani</span></font></div>
                                  <div style="font-size:13px"><font color="#666666">
                                      <div style="font-size:x-small"><br>
                                      </div>
                                      <div style="font-size:x-small">
                                        HOMER / PCAPTURE DEV TEAM</div>
                                      <div style="font-size:x-small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px"><span style="font-family:Arial">
                                            <div style="font-size:x-small"><font size="1" color="#666666">Desk:
                                                <a href="tel:%2B31%2020%208080468" value="+31208080468" target="_blank">+31 20 8080468</a> / <a href="tel:%2B1%20202-632-7227" value="+12026327227" target="_blank">+1
                                                  202-632-7227</a></font></div>
                                          </span></span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px"><span style="font-family:Arial">
                                            <div style="font-size:x-small"><font size="1" color="#666666">Mobile:
                                                <a href="tel:%2B31%206%204603-2730" value="+31646032730" target="_blank">+31 6 4603-2730</a></font></div>
                                            <div style="font-size:x-small"><font size="1" color="#666666"><br>
                                              </font></div>
                                          </span></span></div>
                                    </font></div>
                                  <div style="font-size:x-small"><font size="1" color="#666666"><span style="font-family:Arial">QXIP
                                        BV - Capture Engineering</span></font></div>
                                  <div style="font-size:x-small"><font size="1" color="#666666"><span style="font-family:Arial">Amsterdam,

                                        The Netherlands</span></font></div>
                                  <div style="font-size:x-small"><font size="1" color="#666666"><span style="font-family:Arial"><a href="mailto:get@pcapture.com" target="_blank">get@pcapture.com</a></span></font></div>
                                  <div style="font-size:x-small"><br>
                                  </div>
                                </span></span><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><span style="font-family:Arial">
                                  <div style="font-size:x-small"><br>
                                  </div>
                                  <div style="font-size:x-small"> <br>
                                  </div>
                                </span></span></div>
                          </div>
                          <br>
                          <br>
                          <div class="gmail_quote">On Sun, Jul 13, 2014
                            at 11:04 AM, Leopoldo Iglesia <span dir="ltr"><<a href="mailto:liglesia@por-aire.es" target="_blank">liglesia@por-aire.es</a>></span>
                            wrote:<br>
                            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi!<br>
                              <br>
                              I´m trying to modify Contact header info
                              in SEMS config, but no working. I´m with
                              2.8 sipwise.<br>
                              I need to change, cause the endpoint
                              requires from user ID to decode Caller ID
                              on the contact header.<br>
                              <br>
                              Sip issues... don´t know why is done this
                              way, but I need to change it. Other
                              operators are doing so, so it seems SBC
                              can do it.<br>
                              <br>
                              Any help on this?<br>
                              <br>
                              Thanks<br>
                              <br>
                              <br>
                              <br>
_______________________________________________<br>
                              Spce-user mailing list<br>
                              <a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
                              <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
                            </blockquote>
                          </div>
                          <br>
                        </div>
                      </div>
                    </blockquote>
                    <br>
                  </div>
                </div>
              </div>
              <br>
              _______________________________________________<br>
              Spce-user mailing list<br>
              <a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
              <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
<br></blockquote></div><br></div>