Hi all,<div><br></div><div>After relaying an INVITE from my PBX to the carrier side (and after carrier responded as expected), I receive an expected ACK from my PBX with the domain part of the RURI of the ACK is the same as the IP of my OpenSIPS, which seems to be impossible to route back to the carrier side because it would just be relayed to my OpenSIPS if I try to relay it again based on the domain of the RURI. </div>
<div><div><br></div><div>What could be the possible causes to this situation or did I just miss something? </div><div><br></div><div>Here is a snippet of my opensips.cfg if this could help:</div><div><br></div><div>...</div>
<div><div>if (has_totag()) {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>if (loose_route()) {</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>if (is_method("INVITE")) {</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span><span class="Apple-tab-span" style="white-space:pre">        </span>record_route();</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>route(RELAY);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>} else {</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>if ( is_method("ACK") ) {</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span><span class="Apple-tab-span" style="white-space:pre">        </span>route(RELAY);</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>route(EXIT);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>} </div><div><span class="Apple-tab-span" style="white-space:pre">                </span>sl_send_reply("404","Not here");</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>route(EXIT);</div><div>}</div></div></div><div><br></div><div>t_check_trans();</div><div><br></div><div>...</div><div><br></div><div><div>if (!is_method("REGISTER|MESSAGE"))</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>record_route();</div></div><div><br></div><div>...</div><div><br></div><div>route(RELAY);</div><div>}</div><div><br></div><div>Any kind of help would be appreciated.</div>
<div><br></div><div>Regards,</div><div>Ronald</div><div><br></div><div><br></div>