Hello Team

 

I have an OpenSIPs with multi home (WAN / LAN) connected to an Asterisk
(LAN). The problem I have is the following.

 

A call is coming from Asterisk to OpenSIPs LAN interface for a user
registered on OpenSIPs. That user has call forwarding enabled and OpenSIPs
receives a 302. 

 

That request is handled as follows

 

failure_route[failure]

{

        if (t_check_status("(301)|(302)"))

        {

                get_redirects("1:1");

 

                uac_replace_from("","$tu");

                uac_replace_to("","$ru");

 

                if (!ds_select_dst("1", "0"))

                {

                        send_reply("500","Unable to route");

                        exit;

                }

 

                t_relay();

  

      }

 

        rtpengine_delete();

}

 

A new INVITE is generated from OpenSIPs towards Asterisk but SDP negotiated
is the initial (OpenSIPs to Client) with the WAN IP.

 

Is there a way to correct that?

 

Thank you in advance for your support.

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to