Hello Everybody!<br><br>I have a problem with my opensips.<br>When my opensis receives an INVITE request I see this invite in loop. The opensips forwards the packet to the destination, but it seds to itself too. <br>The $du variable is null.<br>


Someone had this problem ?<br>Follow the INVITE:<br><br>INVITE <a href="mailto:sip%3A1603551199895348@113.105.152.32">sip:1603551199895348@113.105.152.32</a> SIP/2.0.<br>Record-Route: &lt;sip:187.63.32.75;lr=on;ftag=1b424d42&gt;.<br>

Record-Route: &lt;sip:187.63.32.75;lr=on;ftag=1b424d42;did=ce9.e0cffe26&gt;.<br>Record-Route: &lt;sip:187.63.32.75;lr=on;ftag=1b424d42;did=ce9.d0cffe26&gt;.<br>Record-Route: &lt;sip:187.63.32.75;lr=on;ftag=1b424d42;did=ce9.c0cffe26&gt;.<br>

Record-Route: &lt;sip:187.63.32.75;lr=on;ftag=1b424d42;did=ce9.b0cffe26&gt;.<br>Via: SIP/2.0/UDP 187.63.32.75;branch=z9hG4bK32a7.f79bca05.3.<br>Via: SIP/2.0/UDP 187.63.32.75;branch=z9hG4bK32a7.e79bca05.0.<br>Via: SIP/2.0/UDP 187.63.32.75;branch=z9hG4bK32a7.d79bca05.0.<br>

Via: SIP/2.0/UDP 187.63.32.75;branch=z9hG4bK32a7.c79bca05.0.<br>Via: SIP/2.0/UDP 187.63.32.75;branch=z9hG4bK32a7.b79bca05.0.<br>Via: SIP/2.0/UDP 192.168.10.115:22106;received=200.170.196.78;branch=z9hG4bK-d8754z-39689860e3472677-1---d8754z-;rport=22106.<br>

Max-Forwards: 65.<br>Contact: &lt;<a href="http://sip:1000@200.170.196.78:22106">sip:1000@200.170.196.78:22106</a>&gt;.<br>To: &quot;1551199895348&quot;&lt;<a href="mailto:sip%3A1551199895348@sip.dnsdinamico.com.br">sip:1551199895348@sip.dnsdinamico.com.br</a>&gt;.<br>

From: &quot;1000&quot;&lt;<a href="mailto:sip%3A1000@sip.dnsdinamico.com.br">sip:1000@sip.dnsdinamico.com.br</a>&gt;;tag=1b424d42.<br>Call-ID: MDllZGQ4MWM1YWJiZWVjM2UyZjIyMWY4MzI0OWI1MmM..<br>CSeq: 1 INVITE.<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<br>

Content-Type: application/sdp.<br>User-Agent: eyeBeam release 1102q stamp 51689.<br>Content-Length: 319.<br>.<br>v=0.<br>o=- 4 2 IN IP4 192.168.10.115.<br>s=CounterPath eyeBeam 1.5.<br>c=IN IP4 192.168.10.115.<br>t=0 0.<br>

m=audio 29588 RTP/AVP 107 0 8 18 101.<br>a=alt:1 1 : PFKVP/Yo 4DIwVv1r 192.168.10.115 29588.<br>a=fmtp:18 annexb=yes.<br>a=fmtp<br><br>Follow my route[RELAY]:<br>route[ROUTE_RELAY] {<br><br>        t_on_reply(&quot;ONREPLY&quot;);<br>

        if (!t_relay()) {<br>                sl_reply_error();<br>        };<br><br>        exit;<br>};<br><br><br>My main route:<br>  if (!is_method(&quot;REGISTER&quot;)) {<br>                record_route();<br><br>        } else {<br>

                if (!www_authorize(&quot;<a href="http://sip.dnsdinamico.com.br">sip.dnsdinamico.com.br</a>&quot;, &quot;subscriber&quot;)) {<br>                        www_challenge(&quot;<a href="http://sip.dnsdinamico.com.br">sip.dnsdinamico.com.br</a>&quot;, &quot;0&quot;);<br>

                        sl_send_reply(&quot;200&quot;, &quot;OK&quot;);<br>                        exit;<br>                 };<br>        save(&quot;location&quot;);<br>        exit;<br>        };<br><br>        if (is_method(&quot;CANCEL&quot;)) {<br>

                if (t_check_trans()) {<br>                        route(ROUTE_RELAY);<br>                }<br>        }<br>        if (is_method(&quot;INVITE&quot;)) {<br>                route(ROUTE_AUTHENTICATE);<br>                route(ROUTE);<br>

        }<br>       route(ROUTE_RELAY);<br>}<br><br>Regards,<br>-- <br>Wesley Volcov<br>Email: <a href="mailto:wesleyvolcov@gmail.com">wesleyvolcov@gmail.com</a><br>Messenger: <a href="mailto:volcov@live.com">volcov@live.com</a><br>

Mobile: +55 11 9989-5348<br>Website: <a href="http://volcov.blogspot.com">http://volcov.blogspot.com</a><br>