<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Nick,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I reduced my config file to a minimum and made the easiest call flow: <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>A  --- &gt;     INVITE      --- &gt; B<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>A &lt; --- REPLY 183 with SDP  &lt; --- B<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>A ==== bothway speech ==== B<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’m using </span><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>rtpproxy_</span><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>offer in the main route,</span><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'> rtpproxy_answer </span><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>in the onreply_route.  Below you can see the config file plus logs.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I need to mention, that the RTP stream from B to A is welcome for announcements… it’s only the stream from A to B that is not ok in my eyes.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks and best regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  Marco<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>route{<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>        t_on_reply(&quot;standart&quot;);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>        xlog(&quot;L_INFO&quot;,&quot;REQUEST $rm tt=$tt ci=$ci&quot;);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>        if ($rm==&quot;INVITE&quot;)      {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>                $ru=&quot;sip:+4940835097791@**toIP**;user=phone&quot;;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>                set_rtp_proxy_set(&quot;0&quot;);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>                rtpproxy_offer(&quot;frocii&quot;);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>        }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>        if ($rm==&quot;BYE&quot;)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>                unforce_rtp_proxy();<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>        t_relay();<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>}<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>onreply_route[standart] {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>        xlog(&quot;L_INFO&quot;,&quot;REPLY $rs $rr $T_ruri (for $rm) tt=$tt ci=$ci&quot;);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>        if(has_body(&quot;application/sdp&quot;)) {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>                set_rtp_proxy_set(&quot;0&quot;);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>                rtpproxy_answer(&quot;frocii&quot;);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>        }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>}<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:46 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[29946]: REQUEST INVITE tt=&lt;null&gt; ci=NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:46 sbc-dtag-hh rtpproxy[1793]: DBUG:handle_command: received command &quot;29946_10 UIIc8,101 NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ **fromIP** 20582 c447a326;1&quot;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:46 sbc-dtag-hh rtpproxy[1793]: INFO:handle_command: new session NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ, tag c447a326;1 requested, type strong<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:46 sbc-dtag-hh rtpproxy[1793]: INFO:handle_command: new session on a port 20354 created, tag c447a326;1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:46 sbc-dtag-hh rtpproxy[1793]: INFO:handle_command: pre-filling caller's address with **fromIP**:20582<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:46 sbc-dtag-hh rtpproxy[1793]: DBUG:doreply: sending reply &quot;29946_10 20354 **myIP**#012&quot;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:46 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[29947]: REPLY 100 Giving a try sip:+4940835097791@**toIP**;user=phone (for INVITE) tt=&lt;null&gt; ci=NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:47 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[29948]: REPLY 183 Ringing sip:+4940835097791@**toIP**;user=phone (for INVITE) tt=3630908687-402466 ci=NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:47 sbc-dtag-hh rtpproxy[1793]: DBUG:handle_command: received command &quot;29948_10 LIIc8,101 NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ **toIP** 20926 c447a326;1 3630908687-402466;1&quot;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:47 sbc-dtag-hh rtpproxy[1793]: INFO:handle_command: lookup on ports 20354/20182, session timer restarted<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:47 sbc-dtag-hh rtpproxy[1793]: INFO:handle_command: pre-filling callee's address with **toIP**:20926<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:47 sbc-dtag-hh rtpproxy[1793]: DBUG:doreply: sending reply &quot;29948_10 20182 **myIP**#012&quot;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:54 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[29950]: REQUEST CANCEL tt=&lt;null&gt; ci=NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:54 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[29951]: REPLY 487 Request Terminated sip:+4940835097791@**toIP**;user=phone (for INVITE) tt=3630908687-402466 ci=NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>Jan 22 10:44:54 sbc-dtag-hh /usr/opensips/akt/sbin/opensips[29953]: REQUEST ACK tt=3630908687-402466 ci=NDdhYjlhY2Y2NDM5NzJkNjM4NjgzZDIwZTljYTc4YTQ<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> users-bounces@lists.opensips.org [mailto:users-bounces@lists.opensips.org] <b>Im Auftrag von </b>symack<br><b>Gesendet:</b> Mittwoch, 21. Januar 2015 17:11<br><b>An:</b> OpenSIPS users mailling list<br><b>Betreff:</b> Re: [OpenSIPS-Users] rtpproxy sends rtp from caller to callee before 200OK<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal>Can you please post where you are using rtpproxy_offer/_answer?​<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Nick from Toronto.<o:p></o:p></p></div><p class=MsoNormal>​<o:p></o:p></p></div></div></body></html>