<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    how can I remove/not send RPID and P-asserted identity?<br>
    <br>
    Opensips sends to UAC (with RPID and p-asserted), uac sends back 302
    request and that due to 302 I am doing new invite with opensips but
    in this invite I can see RPID and p-asserted.<br>
    <br>
    I am trying to remove it with remove_hf() but this does not works.<br>
    <br>
    How can I deal with this issue.<br>
    <br>
    here is a sip trace:<br>
    <br>
    <small>U opensips:5060 -&gt; UAC_PUBLIC_IP:13647<br>
      INVITE <a class="moz-txt-link-freetext" href="sip:38618108753@UAC_PUBLIC_IP:13647">sip:38618108753@UAC_PUBLIC_IP:13647</a> SIP/2.0.<br>
      Record-Route:
      <a class="moz-txt-link-rfc2396E" href="sip:opensips;lr;ftag=tarm9Ucep73Um;did=83e.cf63dc81">&lt;sip:opensips;lr;ftag=tarm9Ucep73Um;did=83e.cf63dc81&gt;</a>.<br>
      Via: SIP/2.0/UDP opensips:5060;branch=z9hG4bK96d7.e47216a1.0.<br>
      Via: SIP/2.0/UDP
      RTP_IP:5080;received=RTP_IP;rport=5080;branch=z9hG4bK3X4y2N8F54H9a.<br>
      Max-Forwards: 67.<br>
      From: "38618108758"
      <a class="moz-txt-link-rfc2396E" href="sip:38618108758@RTP_IP">&lt;sip:38618108758@RTP_IP&gt;</a>;tag=tarm9Ucep73Um.<br>
      To: <a class="moz-txt-link-rfc2396E" href="sip:38618108753@opensips">&lt;sip:38618108753@opensips&gt;</a>.<br>
      Call-ID: 5250f421-f243-1231-5695-005056b2fe3d.<br>
      CSeq: 54214780 INVITE.<br>
      Contact: <a class="moz-txt-link-rfc2396E" href="sip:mod_sofia@RTP_IP:5080">&lt;sip:mod_sofia@RTP_IP:5080&gt;</a>.<br>
      User-Agent:
      FreeSWITCH-mod_sofia/1.2.17+git~20131230T193020Z~52377f0f65~64bit.<br>
      Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
      REGISTER, REFER, NOTIFY.<br>
      Supported: timer, precondition, path, replaces.<br>
      Allow-Events: talk, hold, conference, refer.<br>
      Content-Type: application/sdp.<br>
      Content-Disposition: session.<br>
      Content-Length: 207.<br>
      X-Call_id: <a class="moz-txt-link-abbreviated" href="mailto:56c99a91-d0ef0551@172.31.1.103">56c99a91-d0ef0551@172.31.1.103</a>.<br>
      X-FS-Support: update_display,send_info.<br>
      P-Asserted-Identity: <a class="moz-txt-link-rfc2396E" href="sip:0038618108758@RTP_IP;user=phone">&lt;sip:0038618108758@RTP_IP;user=phone&gt;</a>.<br>
      Remote-Party-ID: 0038618108758
<a class="moz-txt-link-rfc2396E" href="sip:0038618108758@RTP_IP">&lt;sip:0038618108758@RTP_IP&gt;</a>;party=calling;id-type=subscriber;privacy=off;screen=yes.<br>
      .<br>
      v=0.<br>
      o=FreeSWITCH 1389081737 1389081738 IN IP4 RTP_IP.<br>
      s=FreeSWITCH.<br>
      c=IN IP4 RTP_IP.<br>
      t=0 0.<br>
      m=audio 19952 RTP/AVP 0 8 9 101 13.<br>
      a=rtpmap:101 telephone-event/8000.<br>
      a=fmtp:101 0-16.<br>
      a=ptime:30.</small><br>
    <br>
    <br>
    <small>U UAC_PUBLIC_IP:13647 -&gt; opensips:5060<br>
      SIP/2.0 302 Moved Temporarily.<br>
      To: <a class="moz-txt-link-rfc2396E" href="sip:38618108753@opensips">&lt;sip:38618108753@opensips&gt;</a>;tag=77cc99cb150aeeefi0.<br>
      From: "38618108758"
      <a class="moz-txt-link-rfc2396E" href="sip:38618108758@RTP_IP">&lt;sip:38618108758@RTP_IP&gt;</a>;tag=tarm9Ucep73Um.<br>
      Call-ID: 5250f421-f243-1231-5695-005056b2fe3d.<br>
      CSeq: 54214780 INVITE.<br>
      Via: SIP/2.0/UDP opensips:5060;branch=z9hG4bK96d7.e47216a1.0.<br>
      Via: SIP/2.0/UDP
      RTP_IP:5080;received=RTP_IP;rport=5080;branch=z9hG4bK3X4y2N8F54H9a.<br>
      Record-Route:
      <a class="moz-txt-link-rfc2396E" href="sip:opensips;lr;ftag=tarm9Ucep73Um;did=83e.cf63dc81">&lt;sip:opensips;lr;ftag=tarm9Ucep73Um;did=83e.cf63dc81&gt;</a>.<br>
      Contact: <a class="moz-txt-link-rfc2396E" href="sip:018108756@opensips">&lt;sip:018108756@opensips&gt;</a>.<br>
      Diversion: "38618108753"
      <a class="moz-txt-link-rfc2396E" href="sip:38618108753@opensips">&lt;sip:38618108753@opensips&gt;</a>;reason=unconditional.<br>
      Server: Linksys/SPA922-6.1.5(a).<br>
      Content-Length: 0.<br>
      <br>
      <br>
      U opensips:5060 -&gt; RTP_IP:5060<br>
      INVITE <a class="moz-txt-link-freetext" href="sip:30238618108756@opensips">sip:30238618108756@opensips</a> SIP/2.0.<br>
      Record-Route:
      <a class="moz-txt-link-rfc2396E" href="sip:opensips;lr;ftag=tarm9Ucep73Um;did=83e.cf63dc81">&lt;sip:opensips;lr;ftag=tarm9Ucep73Um;did=83e.cf63dc81&gt;</a>.<br>
      Via: SIP/2.0/UDP opensips:5060;branch=z9hG4bK96d7.e47216a1.1.<br>
      Via: SIP/2.0/UDP
      RTP_IP:5080;received=RTP_IP;rport=5080;branch=z9hG4bK3X4y2N8F54H9a.<br>
      Max-Forwards: 67.<br>
      From: "38618108758"
      <a class="moz-txt-link-rfc2396E" href="sip:38618108758@RTP_IP">&lt;sip:38618108758@RTP_IP&gt;</a>;tag=tarm9Ucep73Um.<br>
      To: <a class="moz-txt-link-rfc2396E" href="sip:38618108753@opensips">&lt;sip:38618108753@opensips&gt;</a>.<br>
      Call-ID: 5250f421-f243-1231-5695-005056b2fe3d.<br>
      CSeq: 54214780 INVITE.<br>
      Contact: <a class="moz-txt-link-rfc2396E" href="sip:mod_sofia@RTP_IP:5080">&lt;sip:mod_sofia@RTP_IP:5080&gt;</a>.<br>
      User-Agent:
      FreeSWITCH-mod_sofia/1.2.17+git~20131230T193020Z~52377f0f65~64bit.<br>
      Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
      REGISTER, REFER, NOTIFY.<br>
      Supported: timer, precondition, path, replaces.<br>
      Allow-Events: talk, hold, conference, refer.<br>
      Content-Type: application/sdp.<br>
      Content-Disposition: session.<br>
      Content-Length: 207.<br>
      X-Call_id: <a class="moz-txt-link-abbreviated" href="mailto:56c99a91-d0ef0551@172.31.1.103">56c99a91-d0ef0551@172.31.1.103</a>.<br>
      X-FS-Support: update_display,send_info.<br>
      P-Asserted-Identity: <a class="moz-txt-link-rfc2396E" href="sip:0038618108758@RTP_IP;user=phone">&lt;sip:0038618108758@RTP_IP;user=phone&gt;</a>.<br>
      Remote-Party-ID: 0038618108758
<a class="moz-txt-link-rfc2396E" href="sip:0038618108758@RTP_IP">&lt;sip:0038618108758@RTP_IP&gt;</a>;party=calling;id-type=subscriber;privacy=off;screen=yes.<br>
      Moved: 38618108753.<br>
      .<br>
      v=0.<br>
      o=FreeSWITCH 1389081737 1389081738 IN IP4 RTP_IP.<br>
      s=FreeSWITCH.<br>
      c=IN IP4 RTP_IP.<br>
      t=0 0.<br>
      m=audio 19952 RTP/AVP 0 8 9 101 13.<br>
      a=rtpmap:101 telephone-event/8000.<br>
      a=fmtp:101 0-16.<br>
      a=ptime:30.</small><br>
    <br>
    tnx!<br>
    <br>
    miha<br>
    <br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>