<div dir="ltr"><div id="gt-src-tools"><div id="gt-src-tools-l"><div style="display:inline-block" id="gt-input-tool"><div id="itamenu"><span class=""></span></div></div></div></div>   <div id="gt-res-content" class=""><div dir="ltr" style="zoom:1">

<span id="result_box" class="" lang="en"><span class="">Hi</span><span class="">,</span> <span class="">I have the same</span> <span class="">problem,</span> <span class="">did you</span> <span class="">solve?</span></span></div>

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/4 Rodrigo Ferreira <span dir="ltr">&lt;<a href="mailto:rsferreira08@gmail.com" target="_blank">rsferreira08@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">I think I found the problem ..<div><br></div><div>Looking at my SIP Messages, the VIA and the Contact headers doesnt have my INVALID IP, it shows me my VALID IP.</div><div><br></div><div>But I dont know how to set that, im doing the fixes for nated contacts. </div>


<div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div class="im"><div><br></div><div><br></div>Atenciosamente.<div>Eng.° Rodrigo Ferreira</div><div>ITIL v3 Certified</div><div>

<br></div></div><div>
<a href="http://br.linkedin.com/pub/rodrigo-ferreira/31/757/901" target="_blank"><img src="http://www.tharringtonsmith.com/files/linkedin-icon.jpg" height="19" width="96"></a><br></div></div></div><div><div class="h5">
<br><br><div class="gmail_quote">2013/10/4 Rodrigo Ferreira <span dir="ltr">&lt;<a href="mailto:rsferreira08@gmail.com" target="_blank">rsferreira08@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><div class="gmail_extra"><div>I&#39;m running out of ideas ..</div><div><br></div><div>My rtpproxy is fine</div><div><br></div><div>Oct  4 09:10:02 opensips /sbin/opensips[5019]: INFO:rtpproxy:rtpp_test: rtp proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt; found, support for it enabled</div>



<div>Oct  4 09:10:02 opensips /sbin/opensips[5020]: INFO:rtpproxy:rtpp_test: rtp proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt; found, support for it enabled</div><div>Oct  4 09:10:02 opensips /sbin/opensips[5018]: INFO:rtpproxy:rtpp_test: rtp proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt; found, support for it enabled</div>



<div>Oct  4 09:10:02 opensips /sbin/opensips[5022]: INFO:rtpproxy:rtpp_test: rtp proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt; found, support for it enabled</div><div>Oct  4 09:10:02 opensips /sbin/opensips[5023]: INFO:rtpproxy:rtpp_test: rtp proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt; found, support for it enabled</div>



<div>Oct  4 09:10:02 opensips /sbin/opensips[5017]: INFO:rtpproxy:rtpp_test: rtp proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt; found, support for it enabled</div><div>Oct  4 09:10:02 opensips /sbin/opensips[5016]: INFO:rtpproxy:rtpp_test: rtp proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt; found, support for it enabled</div>



<div><br></div><div><br></div><div>and here is my opensips.cfg,</div><div><br></div><div>####### Global Parameters #########</div><div><br></div><div>debug=3</div><div>log_stderror=no</div><div>log_facility=LOG_LOCAL0</div>



<div><br></div><div>fork=yes</div><div>children=4</div><div><br></div><div>/* uncomment the following lines to enable debugging */</div><div>#debug=6</div><div>#fork=no</div><div>#log_stderror=yes</div><div><br></div><div>



/* uncomment the next line to enable the auto temporary blacklisting of</div><div>   not available destinations (default disabled) */</div><div>#disable_dns_blacklist=no</div><div><br></div><div>/* uncomment the next line to enable IPv6 lookup after IPv4 dns</div>



<div>   lookup failures (default disabled) */</div><div>#dns_try_ipv6=yes</div><div><br></div><div>/* comment the next line to enable the auto discovery of local aliases</div><div>   based on revers DNS on IPs */</div><div>



auto_aliases=no</div><div><br></div><div><br></div><div>listen=udp:###.###.###.###:5060  </div><div><br></div><div><br></div><div>disable_tcp=yes</div><div><br></div><div>db_default_url=&quot;mysql://opensips:opensipsrw@localhost/opensipsmysql://###:###@###/opensips&quot;</div>



<div><br></div><div>####### Modules Section ########</div><div><br></div><div>#set module path</div><div>mpath=&quot;/lib64/opensips/modules/&quot;</div><div><br></div><div>#### SIGNALING module</div><div>loadmodule &quot;signaling.so&quot;</div>



<div><br></div><div>#### StateLess module</div><div>loadmodule &quot;sl.so&quot;</div><div><br></div><div>#### Transaction Module</div><div>loadmodule &quot;tm.so&quot;</div><div>modparam(&quot;tm&quot;, &quot;fr_timer&quot;, 5)</div>



<div>modparam(&quot;tm&quot;, &quot;fr_inv_timer&quot;, 30)</div><div>modparam(&quot;tm&quot;, &quot;restart_fr_on_each_reply&quot;, 0)</div><div>modparam(&quot;tm&quot;, &quot;onreply_avp_mode&quot;, 1)</div><div><br></div>



<div>#### Record Route Module</div><div>loadmodule &quot;rr.so&quot;</div><div>/* do not append from tag to the RR (no need for this script) */</div><div>modparam(&quot;rr&quot;, &quot;append_fromtag&quot;, 0)</div><div>


<br>
</div><div>#### MAX ForWarD module</div><div>loadmodule &quot;maxfwd.so&quot;</div><div><br></div><div>#### SIP MSG OPerationS module</div><div>loadmodule &quot;sipmsgops.so&quot;</div><div><br></div><div>#### FIFO Management Interface</div>



<div>loadmodule &quot;mi_fifo.so&quot;</div><div>modparam(&quot;mi_fifo&quot;, &quot;fifo_name&quot;, &quot;/tmp/opensips_fifo&quot;)</div><div>modparam(&quot;mi_fifo&quot;, &quot;fifo_mode&quot;, 0666)</div><div><br></div>



<div><br></div><div>#### URI module</div><div>loadmodule &quot;uri.so&quot;</div><div>modparam(&quot;uri&quot;, &quot;use_uri_table&quot;, 0)</div><div><br></div><div>#### MYSQL module</div><div>loadmodule &quot;db_mysql.so&quot;</div>



<div><br></div><div>#### USeR LOCation module</div><div>loadmodule &quot;usrloc.so&quot;</div><div>modparam(&quot;usrloc&quot;, &quot;nat_bflag&quot;, &quot;NAT&quot;)</div><div>modparam(&quot;usrloc&quot;, &quot;db_mode&quot;,   2)</div>



<div>modparam(&quot;usrloc&quot;, &quot;db_url&quot;,</div><div>        &quot;mysql://####:####@######/opensips&quot;) </div><div><br></div><div>#### REGISTRAR module</div><div>loadmodule &quot;registrar.so&quot;</div><div>



modparam(&quot;registrar&quot;, &quot;tcp_persistent_flag&quot;, &quot;TCP_PERSISTENT&quot;)</div><div>modparam(&quot;registrar&quot;, &quot;received_avp&quot;, &quot;$avp(received_nh)&quot;)</div><div>/* uncomment the next line not to allow more than 10 contacts per AOR */</div>



<div>#modparam(&quot;registrar&quot;, &quot;max_contacts&quot;, 10)</div><div><br></div><div>#### ACCounting module</div><div>loadmodule &quot;acc.so&quot;</div><div>/* what special events should be accounted ? */</div><div>



modparam(&quot;acc&quot;, &quot;early_media&quot;, 0)</div><div>modparam(&quot;acc&quot;, &quot;report_cancels&quot;, 0)</div><div>/* by default we do not adjust the direct of the sequential requests.</div><div>   if you enable this parameter, be sure the enable &quot;append_fromtag&quot;</div>



<div>   in &quot;rr&quot; module */</div><div>modparam(&quot;acc&quot;, &quot;detect_direction&quot;, 0)</div><div>modparam(&quot;acc&quot;, &quot;failed_transaction_flag&quot;, &quot;ACC_FAILED&quot;)</div><div>/* account triggers (flags) */</div>



<div>modparam(&quot;acc&quot;, &quot;db_flag&quot;, &quot;ACC_DO&quot;)</div><div>modparam(&quot;acc&quot;, &quot;db_missed_flag&quot;, &quot;ACC_MISSED&quot;)</div><div>modparam(&quot;acc&quot;, &quot;db_url&quot;,</div>



<div>        &quot;mysql://opensips:opensipsrw@localhost/opensipsmysql://###:###@###/opensips&quot;) </div><div><br></div><div>#### AUTHentication modules</div><div>loadmodule &quot;auth.so&quot;</div><div>loadmodule &quot;auth_db.so&quot;</div>



<div>modparam(&quot;auth_db&quot;, &quot;calculate_ha1&quot;, yes)</div><div>modparam(&quot;auth_db&quot;, &quot;password_column&quot;, &quot;password&quot;)</div><div>modparam(&quot;auth_db&quot;, &quot;db_url&quot;,</div>



<div>        &quot;mysql://opensips:opensipsrw@localhost/opensipsmysql://###:###@###/opensips&quot;) </div><div>modparam(&quot;auth_db&quot;, &quot;load_credentials&quot;, &quot;&quot;)</div><div><br></div><div>#### ALIAS module</div>



<div>loadmodule &quot;alias_db.so&quot;</div><div>modparam(&quot;alias_db&quot;, &quot;db_url&quot;,</div><div>        &quot;mysql://opensips:opensipsrw@localhost/opensipsmysql://###:###@###/opensips&quot;) </div><div><br>



</div><div>#### DOMAIN module</div><div>loadmodule &quot;domain.so&quot;</div><div>modparam(&quot;domain&quot;, &quot;db_url&quot;,</div><div>        &quot;mysql://opensips:opensipsrw@localhost/opensipsmysql://###:###@###/opensips&quot;) </div>



<div>modparam(&quot;domain&quot;, &quot;db_mode&quot;, 1)   # Use caching</div><div>modparam(&quot;auth_db|usrloc|uri&quot;, &quot;use_domain&quot;, 1)</div><div><br></div><div>#### DIALOG module</div><div>loadmodule &quot;dialog.so&quot;</div>



<div>modparam(&quot;dialog&quot;, &quot;dlg_match_mode&quot;, 1)</div><div>modparam(&quot;dialog&quot;, &quot;default_timeout&quot;, 21600)  # 6 hours timeout</div><div>modparam(&quot;dialog&quot;, &quot;db_mode&quot;, 2)</div>



<div>modparam(&quot;dialog&quot;, &quot;db_url&quot;,</div><div>        &quot;mysql://opensips:opensipsrw@localhost/opensipsmysql://###:###@###/opensips&quot;) </div><div><br></div><div>####  NAT modules</div><div>loadmodule &quot;nathelper.so&quot;</div>



<div>modparam(&quot;nathelper&quot;, &quot;natping_interval&quot;, 10)</div><div>modparam(&quot;nathelper&quot;, &quot;ping_nated_only&quot;, 1)</div><div>modparam(&quot;nathelper&quot;, &quot;received_avp&quot;, &quot;$avp(received_nh)&quot;)</div>



<div>modparam(&quot;nathelper&quot;, &quot;natping_socket&quot;, &quot;###.###.###.###:5060&quot;)</div><div>modparam(&quot;nathelper&quot;, &quot;sipping_from&quot;, &quot;sip:pinger@###.###.###.###&quot;)</div><div>modparam(&quot;nathelper&quot;, &quot;sipping_method&quot;, &quot;OPTIONS&quot;)</div>



<div><br></div><div>loadmodule &quot;rtpproxy.so&quot;</div><div>modparam(&quot;rtpproxy&quot;, &quot;rtpproxy_sock&quot;, &quot;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&quot;) </div><div><br>


</div><div>####  DIALPLAN module</div>
<div>loadmodule &quot;dialplan.so&quot;</div><div>modparam(&quot;dialplan&quot;, &quot;db_url&quot;,</div><div>        &quot;mysql://opensips:opensipsrw@localhost/opensipsmysql://###:###@###/opensips&quot;) </div><div><br>



</div><div>####  DYNAMMIC ROUTING module</div><div>loadmodule &quot;drouting.so&quot;</div><div>modparam(&quot;drouting&quot;, &quot;db_url&quot;,</div><div>        &quot;mysql://opensips:opensipsrw@localhost/opensipsmysql://###:###@###/opensips&quot;) </div>



<div><br></div><div><br></div><div>####### Routing Logic ########</div><div><br></div><div># main request routing logic</div><div><br></div><div>route{</div><div>        force_rport();</div><div>        if (nat_uac_test(&quot;23&quot;)) {</div>



<div>                if (is_method(&quot;REGISTER&quot;)) {</div><div>                        fix_nated_register();</div><div>                        setbflag(NAT);</div><div>                } else {</div><div>                        fix_nated_contact();</div>



<div>                        setflag(NAT);</div><div>                }</div><div>        }</div><div><br></div><div><br></div><div>        if (!mf_process_maxfwd_header(&quot;10&quot;)) {</div><div>                sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);</div>



<div>                exit;</div><div>        }</div><div><br></div><div>        if (has_totag()) {</div><div>                # sequential request withing a dialog should</div><div>                # take the path determined by record-routing</div>



<div>                if (loose_route()) {</div><div><br></div><div>                        # validate the sequential request against dialog</div><div>                        if ( $DLG_status!=NULL &amp;&amp; !validate_dialog() ) {</div>



<div>                                xlog(&quot;In-Dialog $rm from $si (callid=$ci) is not valid according to dialog\n&quot;);</div><div>                                ## exit;</div><div>                        }</div><div>



<br></div><div>                        if (is_method(&quot;BYE&quot;)) {</div><div>                                setflag(ACC_DO); # do accounting ...</div><div>                                setflag(ACC_FAILED); # ... even if the transaction fails</div>



<div>                        } else if (is_method(&quot;INVITE&quot;)) {</div><div>                                # even if in most of the cases is useless, do RR for</div><div>                                # re-INVITEs alos, as some buggy clients do change route set</div>



<div>                                # during the dialog.</div><div>                                record_route();</div><div>                        }</div><div><br></div><div>                        if (check_route_param(&quot;nat=yes&quot;))</div>



<div>                                setflag(NAT);</div><div><br></div><div>                        # route it out to whatever destination was set by loose_route()</div><div>                        # in $du (destination URI).</div>



<div>                        route(relay);</div><div>                } else {</div><div><br></div><div>                        if ( is_method(&quot;ACK&quot;) ) {</div><div>                                if ( t_check_trans() ) {</div>



<div>                                        # non loose-route, but stateful ACK; must be an ACK after</div><div>                                        # a 487 or e.g. 404 from upstream server</div><div>                                        t_relay();</div>



<div>                                        exit;</div><div>                                } else {</div><div>                                        # ACK without matching transaction -&gt;</div><div>                                        # ignore and discard</div>



<div>                                        exit;</div><div>                                }</div><div>                        }</div><div>                        sl_send_reply(&quot;404&quot;,&quot;Not here&quot;);</div>



<div>                }</div><div>                exit;</div><div>        }</div><div><br></div><div>        # CANCEL processing</div><div>        if (is_method(&quot;CANCEL&quot;))</div><div>        {</div><div>                if (t_check_trans())</div>



<div>                        t_relay();</div><div>                exit;</div><div>        }</div><div><br></div><div>        t_check_trans();</div><div><br></div><div>        if ( !(is_method(&quot;REGISTER&quot;)  || is_from_gw() ) ) {</div>



<div><br></div><div>                if (is_from_local())</div><div>                {</div><div><br></div><div>                        # authenticate if from local subscriber</div><div>                        # authenticate all initial non-REGISTER request that pretend to be</div>



<div>                        # generated by local subscriber (domain from FROM URI is local)</div><div>                        if (!proxy_authorize(&quot;&quot;, &quot;subscriber&quot;)) {</div><div>                                proxy_challenge(&quot;&quot;, &quot;0&quot;);</div>



<div>                                exit;</div><div>                        }</div><div>                        if (!db_check_from()) {</div><div>                                sl_send_reply(&quot;403&quot;,&quot;Forbidden auth ID&quot;);</div>



<div>                                exit;</div><div>                        }</div><div><br></div><div>                        consume_credentials();</div><div>                        # caller authenticated</div><div><br>



</div><div>                } else {</div><div>                        # if caller is not local, then called number must be local</div><div><br></div><div>                        if (!is_uri_host_local()) {</div><div>                                send_reply(&quot;403&quot;,&quot;Rely forbidden&quot;);</div>



<div>                                exit;</div><div>                        }</div><div>                }</div><div><br></div><div>        }</div><div><br></div><div>        # preloaded route checking</div><div>        if (loose_route()) {</div>



<div>                xlog(&quot;L_ERR&quot;,</div><div>                &quot;Attempt to route with preloaded Route&#39;s [$fu/$tu/$ru/$ci]&quot;);</div><div>                if (!is_method(&quot;ACK&quot;))</div><div>                        sl_send_reply(&quot;403&quot;,&quot;Preload Route denied&quot;);</div>



<div>                exit;</div><div>        }</div><div><br></div><div>        # record routing</div><div>        if (!is_method(&quot;REGISTER|MESSAGE&quot;))</div><div>                record_route();</div><div><br></div>



<div>        # account only INVITEs</div><div>        if (is_method(&quot;INVITE&quot;)) {</div><div><br></div><div>                # create dialog with timeout</div><div>                if ( !create_dialog(&quot;B&quot;) ) {</div>



<div>                        send_reply(&quot;500&quot;,&quot;Internal Server Error&quot;);</div><div>                        exit;</div><div>                }</div><div><br></div><div>                setflag(ACC_DO); # do accounting</div>



<div>        }</div><div><br></div><div><br></div><div>        if (!is_uri_host_local()) {</div><div>                append_hf(&quot;P-hint: outbound\r\n&quot;);</div><div><br></div><div>                route(relay);</div>



<div>        }</div><div><br></div><div>        # requests for my domain</div><div><br></div><div>        if (is_method(&quot;PUBLISH|SUBSCRIBE&quot;))</div><div>        {</div><div>                sl_send_reply(&quot;503&quot;, &quot;Service Unavailable&quot;);</div>



<div>                exit;</div><div>        }</div><div><br></div><div>        if (is_method(&quot;REGISTER&quot;))</div><div>        {</div><div>                fix_nated_register();</div><div>                fix_nated_contact();</div>



<div>                # authenticate the REGISTER requests</div><div>                if (!www_authorize(&quot;&quot;, &quot;subscriber&quot;))</div><div>                {</div><div>                        www_challenge(&quot;&quot;, &quot;0&quot;);</div>



<div>                        exit;</div><div>                }</div><div><br></div><div>                if (!db_check_to())</div><div>                {</div><div>                        sl_send_reply(&quot;403&quot;,&quot;Forbidden auth ID&quot;);</div>



<div>                        exit;</div><div>                }</div><div><br></div><div>                if ( 0 ) setflag(TCP_PERSISTENT);</div><div><br></div><div>                if (!save(&quot;location&quot;))</div><div>



                        sl_reply_error();</div><div><br></div><div>                exit;</div><div>        }</div><div><br></div><div>        if ($rU==NULL) {</div><div>                # request with no Username in RURI</div>



<div>                sl_send_reply(&quot;484&quot;,&quot;Address Incomplete&quot;);</div><div>                exit;</div><div>        }</div><div><br></div><div><br></div><div>        # apply DB based aliases</div><div>        alias_db_lookup(&quot;dbaliases&quot;);</div>



<div><br></div><div><br></div><div>        # apply transformations from dialplan table</div><div>        dp_translate(&quot;0&quot;,&quot;$rU/$rU&quot;);</div><div><br></div><div><br></div><div>        if ($rU=~&quot;^\+[1-9][0-9]+$&quot;) {</div>



<div><br></div><div>                if (!do_routing(&quot;0&quot;)) {</div><div>                        send_reply(&quot;500&quot;,&quot;No PSTN Route found&quot;);</div><div>                        exit;</div><div>                }</div>



<div><br></div><div>                route(relay);</div><div>                exit;</div><div>        }</div><div><br></div><div><br></div><div>        # do lookup with method filtering</div><div>        if (!lookup(&quot;location&quot;,&quot;m&quot;)) {</div>



<div>                if (!db_does_uri_exist()) {</div><div>                        send_reply(&quot;420&quot;,&quot;Bad Extension&quot;);</div><div>                        exit;</div><div>                }</div><div><br>


</div>
<div>                t_newtran();</div><div>                t_reply(&quot;404&quot;, &quot;Not Found&quot;);</div><div>                exit;</div><div>        }</div><div><br></div><div>        if (isbflagset(NAT)) setflag(NAT);</div>



<div><br></div><div>        # when routing via usrloc, log the missed calls also</div><div>        setflag(ACC_MISSED);</div><div>        route(relay);</div><div>}</div><div><br></div><div><br></div><div>route[relay] {</div>



<div>        # for INVITEs enable some additional helper routes</div><div>        if (is_method(&quot;INVITE&quot;)) {</div><div>                if(nat_uac_test(&quot;127&quot;)){</div><div>                        # Usuario identificado como atras de nat</div>



<div>                        xlog(&quot;Usuario atras de nat em handle nat&quot;);</div><div>                        fix_nated_contact();</div><div>                }</div><div>                if (isflagset(NAT)) {</div><div>



                        rtpproxy_offer(&quot;ro&quot;);</div><div>                }</div><div><br></div><div>                t_on_branch(&quot;per_branch_ops&quot;);</div><div>                t_on_reply(&quot;handle_nat&quot;);</div>



<div>                t_on_failure(&quot;missed_call&quot;);</div><div>        }</div><div><br></div><div>        if (isflagset(NAT)) {</div><div>                add_rr_param(&quot;;nat=yes&quot;);</div><div>                }</div>



<div><br></div><div>        if (!t_relay()) {</div><div>                send_reply(&quot;500&quot;,&quot;Internal Error&quot;);</div><div>        };</div><div>        exit;</div><div>}</div><div><br></div><div><br></div>


<div>
<br></div><div><br></div><div>branch_route[per_branch_ops] {</div><div>        xlog(&quot;new branch at $ru\n&quot;);</div><div>}</div><div><br></div><div><br></div><div>onreply_route[handle_nat] {</div><div>#       if (nat_uac_test(&quot;1&quot;))</div>



<div>#               fix_nated_contact();</div><div>#       if ( isflagset(NAT) )</div><div>#               rtpproxy_answer(&quot;ro&quot;);</div><div>#       xlog(&quot;incoming reply\n&quot;);</div><div><br></div><div>


# Recebemos resposta do pacote</div>
<div>        xlog(&quot;incoming reply\n&quot;);</div><div><br></div><div>        # Verificamos aqui se esta requisicao possui SDP</div><div>        if(is_method(&quot;ACK&quot;) &amp;&amp; has_body(&quot;application/sdp&quot;)){</div>



<div>                # Atendemos no rtpproxy</div><div>                rtpproxy_answer();</div><div><br></div><div>        }else if(has_body(&quot;application/sdp&quot;)){</div><div>                # possuindo sdp vamos re-escrever a informacao</div>



<div>                #fix_nated_sdp(&quot;2&quot;);</div><div>                rtpproxy_offer();</div><div>        }</div><div><br></div><div><br></div><div>        # Vamos tentar identificar se o usuario esta atras de nat</div>



<div>        # executamos neste nivel pois aqui sera executado</div><div>        # no momento que recebemos resposta, assim garantimos</div><div>        # que em todos os casos manipularemos o nat</div><div>        if(nat_uac_test(&quot;127&quot;)){</div>



<div>                # Usuario identificado como atras de nat</div><div>                xlog(&quot;Usuario atras de nat em handle nat&quot;);</div><div>                fix_nated_contact();</div><div>        }</div><div><br>



</div><div>}</div><div><br></div><div><br></div><div>failure_route[missed_call] {</div><div>        if (t_was_cancelled()) {</div><div>                exit;</div><div>        }</div><div><br></div><div>        # uncomment the following lines if you want to block client</div>



<div>        # redirect based on 3xx replies.</div><div>        ##if (t_check_status(&quot;3[0-9][0-9]&quot;)) {</div><div>        ##t_reply(&quot;404&quot;,&quot;Not found&quot;);</div><div>        ##      exit;</div><div>



        ##}</div><div><br></div><div><br></div><div>}</div><div><br></div><div><br></div><div><br></div><div>local_route {</div><div>        if (is_method(&quot;BYE&quot;) &amp;&amp; $DLG_dir==&quot;UPSTREAM&quot;) {</div>



<div><br></div><div>                acc_db_request(&quot;200 Dialog Timeout&quot;, &quot;acc&quot;);</div><div><div><br></div><div>        }</div><div>}</div><div><br></div><div><br></div><div><br></div><div><br>
</div><div>Atenciosamente.</div>
<div>Eng.° Rodrigo Ferreira</div><div>ITIL v3 Certified</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div><div>2013/10/4 Rodrigo Ferreira &lt;<a href="mailto:rsferreira08@gmail.com" target="_blank">rsferreira08@gmail.com</a>&gt;</div>



<div>Yes I did Mike,</div><div><br></div><div>and my SIP messages are ok. </div><div><br></div><div>I will take a look at your tutorial.</div><div><br></div><div>tks</div><div><br></div><div><br></div><div><br></div><div>



Atenciosamente.</div><div>Eng.° Rodrigo Ferreira</div><div>ITIL v3 Certified</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div><div>2013/10/3 Mike Tesliuk &lt;<a href="mailto:mike@ultra.net.br" target="_blank">mike@ultra.net.br</a>&gt;</div>



<div>Did you try to made some debug rodrigo ? maybe some rule is missing on your route script</div><div><br></div><div>i made a tutorial over version 1.9 that you can check</div><div><br></div><div>[portugues] <a href="http://opensips.com.br/wiki/index.php?title=Opensips_NAT_Script_com_RTPproxy" target="_blank">http://opensips.com.br/wiki/index.php?title=Opensips_NAT_Script_com_RTPproxy</a></div>



<div>[english] <a href="http://opensips.com.br/wiki/index.php?title=Oopensips_Nat_script_with_RTPPROXY_-_English" target="_blank">http://opensips.com.br/wiki/index.php?title=Oopensips_Nat_script_with_RTPPROXY_-_English</a></div>


<div><br>
</div><div><br></div><div><br></div><div><br></div><div>2013/10/3 Rodrigo Ferreira &lt;<a href="mailto:rsferreira08@gmail.com" target="_blank">rsferreira08@gmail.com</a>&gt;</div><div>Hi guys,</div><div><br></div><div>After a long time without using Opensips (almost a year) I tried to install the opensips 1.10 and everything went well BUT when I make a call, there&#39;s no audio, I know that is something because of NAT, but I have the nathelper and rtpproxy configuration on my opensips.cfg.</div>



<div><br></div><div>There&#39;s anything else that I could take a look at?</div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div>Atenciosamente.</div><div>Eng.° Rodrigo Ferreira</div><div>ITIL v3 Certified</div>



<div><br></div><div><br></div><div><br></div></div><div><div>_______________________________________________</div><div>Users mailing list</div><div><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a></div>


<div><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
<div><br></div><div><br></div><div><br></div><div>_______________________________________________</div><div>Users mailing list</div><div><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a></div>


<div><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
<div><br></div><div><br></div></div></div></div>
</blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>rickygm<br><br><a href="http://gnuforever.homelinux.com">http://gnuforever.homelinux.com</a>
</div>