[OpenSIPS-Users] Weird routing of ACK on INVITE

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Mar 8 18:35:54 CET 2011


Hi Ronald,

Could you post a SIP capture (from opensips server) containing the 
entire dialog ? Just to check how the route set is collected at INVITE 
time and how it is used at ACK time.

Regards,
Bogdan

Ronald Cepres wrote:
> Hi all,
>
> 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. 
>
> What could be the possible causes to this situation or did I just miss 
> something? 
>
> Here is a snippet of my opensips.cfg if this could help:
>
> ...
> if (has_totag()) {
> if (loose_route()) {
> if (is_method("INVITE")) {
> record_route();
> }
> route(RELAY);
> } else {
> if ( is_method("ACK") ) {
> route(RELAY);
> route(EXIT);
> } 
> sl_send_reply("404","Not here");
> }
> route(EXIT);
> }
>
> t_check_trans();
>
> ...
>
> if (!is_method("REGISTER|MESSAGE"))
> record_route();
>
> ...
>
> route(RELAY);
> }
>
> Any kind of help would be appreciated.
>
> Regards,
> Ronald
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 28th February 2011
OpenSIPS solutions and "know-how"




More information about the Users mailing list