<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Muhammad,<br>
      <br>
      I don't know what the remote carrier is using for their RTP.&nbsp; I
      set a custom nortpproxy_str to try and avoid this (instead of
      leaving it as the default a=nortpproxy:yes).&nbsp; Is it correct for
      them to leave our custom a=schipmangled:yes record in the SDP?&nbsp; I
      have had problems with the "f" flag and failover routing
      (basically rewrites the IP in the SDP twice like this
      yyy.yyy.yyy.yyyyyy.yyy.yyy.yyy).&nbsp; Is there an easy way for me to
      just remove the a=schipmangle:yes in my onreply_route?<br>
      <br>
      Thanks,<br>
      Seth<br>
      <br>
      On 2/14/2013 8:28 PM, Muhammad Shahzad wrote:<br>
    </div>
    <blockquote
cite="mid:CAFZQphyL-+ajU8m-EPVEiGjChxu45s3wEqME4XH-SVCuB0_vDA@mail.gmail.com"
      type="cite">You mean both you and your carrier are using their own
      rtp-proxy? If so, then simply add "f" flag to rtpproxy_offer |
      rtpproxy_answer. Which will allow you can you carrier to create a
      chain of rtp-proxy together. See flags description here,<br>
      <br>
      <a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/devel/rtpproxy.html#id292744">http://www.opensips.org/html/docs/modules/devel/rtpproxy.html#id292744</a><br>
      <br>
      Thank you.<br>
      <br>
      <br>
      <div class="gmail_quote">On Fri, Feb 15, 2013 at 2:18 AM, Seth
        Schultz <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:sschultz@scholarchip.com" target="_blank">sschultz@scholarchip.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
          <br>
          I am having a problem with RTPProxy where in the reply, the
          remote carrier is sending the "nortpproxy_str" in the reply
          SDP (example below). &nbsp;I would like to know what the best way
          is to detect this, and remove it from the sip message before
          calling rtpproxy_answer function, because rtpproxy_answer will
          fail if the nortpproxy_str already exists in the SDP.<br>
          <br>
          Thanks in advance,<br>
          Seth<br>
          <br>
          U 2013/02/14 19:32:21.142567 yyy.yyy.yyy.yyy:5060 -&gt;
          xxx.xxx.xxx.xxx:5060<br>
          INVITE <a class="moz-txt-link-abbreviated" href="mailto:sip:19999999999@xxx.xxx.xxx.xxx">sip:19999999999@xxx.xxx.xxx.xxx</a> SIP/2.0<br>
          Via: SIP/2.0/UDP yyy.yyy.yyy.yyy:5060;branch=z9hG4bK2d9e.187ebf5.0<br>
          Max-Forwards: 69<br>
          From: "Unknown" <a class="moz-txt-link-rfc2396E" href="mailto:sip:19999999999@yyy.yyy.yyy.yyy">&lt;sip:19999999999@yyy.yyy.yyy.yyy&gt;</a>;tag=33XjNy6SQZrQS<br>
          To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:19999999999@yyy.yyy.yyy.yyy">&lt;sip:19999999999@yyy.yyy.yyy.yyy&gt;</a><br>
          Call-ID: 004c5840-f1aa-1230-9c93-6320dec8e883<br>
          CSeq: 40108106 INVITE<br>
          Contact: &lt;sip:yyy.yyy.yyy.yyy;did=3901.59b3bb21&gt;<br>
          User-Agent: FS1<br>
          Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE,
          INFO, REGISTER, REFER, NOTIFY<br>
          Supported: timer, precondition, path, replaces<br>
          Allow-Events: talk, hold, refer<br>
          Content-Type: application/sdp<br>
          Content-Disposition: session<br>
          Content-Length: 247<br>
          P-Call-Type: Notification<br>
          X-FS-Support: update_display,send_info<br>
          Remote-Party-ID: "Unknown" <a class="moz-txt-link-rfc2396E" href="mailto:sip:19999999999@yyy.yyy.yyy.yyy">&lt;sip:19999999999@yyy.yyy.yyy.yyy&gt;</a>;party=calling;screen=yes;privacy=off<br>
          <br>
          v=0<br>
          o=FreeSWITCH 1360855702 1360855703 IN IP4 yyy.yyy.yyy.yyy<br>
          s=FreeSWITCH<br>
          c=IN IP4 yyy.yyy.yyy.yyy<br>
          t=0 0<br>
          m=audio 40562 RTP/AVP 0 8 3 101<br>
          a=rtpmap:101 telephone-event/8000<br>
          a=fmtp:101 0-16<br>
          a=silenceSupp:off - - - -<br>
          a=ptime:20<br>
          a=schipmangled:yes &nbsp;&lt;--- rtpproxy added this on initial
          invite<br>
          <br>
          ...<br>
          <br>
          U 2013/02/14 19:32:37.425606 xxx.xxx.xxx.xxx:5060 -&gt;
          yyy.yyy.yyy.yyy:5060<br>
          SIP/2.0 200 OK<br>
          Via: SIP/2.0/UDP yyy.yyy.yyy.yyy:5060;branch=z9hG4bK2d9e.187ebf5.0<br>
          From: "Unknown" <a class="moz-txt-link-rfc2396E" href="mailto:sip:19999999999@yyy.yyy.yyy.yyy">&lt;sip:19999999999@yyy.yyy.yyy.yyy&gt;</a>;tag=33XjNy6SQZrQS<br>
          To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:19999999999@yyy.yyy.yyy.yyy">&lt;sip:19999999999@yyy.yyy.yyy.yyy&gt;</a>;tag=SDs07f299-gK0e9f2e8d<br>
          Call-ID: 004c5840-f1aa-1230-9c93-6320dec8e883<br>
          CSeq: 40108106 INVITE<br>
          Accept: application/sdp, application/isup, application/dtmf,
          application/dtmf-relay, &nbsp;multipart/mixed<br>
          Contact: &lt;sip:xxx.xxx.xxx.xxx;did=39.60d51ef&gt;<br>
          Allow: INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS<br>
          Require: timer<br>
          Supported: timer<br>
          Session-Expires: 7200;refresher=uas<br>
          Content-Length: 259<br>
          Content-Disposition: session; handling=required<br>
          Content-Type: application/sdp<br>
          <br>
          v=0<br>
          o=Sonus_UAC 7607 20874 IN IP4 xxx.xxx.xxx.xxx<br>
          s=SIP Media Capabilities<br>
          c=IN IP4 xxx.xxx.xxx.xxx<br>
          t=0 0<br>
          m=audio 29772 RTP/AVP 0 101<br>
          a=rtpmap:101 telephone-event/8000<br>
          a=fmtp:101 0-16<br>
          a=silenceSupp:off - - - -<br>
          a=schipmangled:yes &nbsp;&lt;--- they sent this back in the 200 OK
          reply<br>
          a=ptime:20<br>
          a=sendrecv<br>
          <br>
          <br>
          _______________________________________________<br>
          Users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Muhammad
        Shahzad</span><br
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">------------------------------</span><span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">-----</span><br
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">CISCO
        Rich Media Communication Specialist (CRMCS)</span><br
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">CISCO
        Certified Network Associate (CCNA)</span><br
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Cell:&nbsp;+49
        176 99 83 10 85</span><br
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">MSN:&nbsp;</span><a
        moz-do-not-send="true" href="mailto:shari_786pk@hotmail.com"
style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"
        target="_blank">shari_786pk@hotmail.com</a><br
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Email:&nbsp;</span><a
        moz-do-not-send="true" href="mailto:shaheryarkh@googlemail.com"
style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"
        target="_blank">shaheryarkh@googlemail.com</a>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>
    <br>
  </body>
</html>