[OpenSIPS-Users] Opensips Route header hitch

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Feb 10 10:48:36 CET 2014


Hello,

The Route header you receive in the original INVITE does contain the IP 
of your OpenSIPS (that 85.221.xxx.xxx ) ?

(as I understand the call is rejected as "Attempt to route with 
preloaded Route's", right?)

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 17.01.2014 02:37, M.Khaled W Chehab wrote:
>
> Hi,
>
> I configure opensips with loadbalance module
>
> Scenario as follows     client(IP to IP )àopensips LBà Gw1 or Gw2
>
> I am facing a problem such opensips  is rejecting the call  when my 
> client send me an INVITE and  its header contains a " Route:"    for 
> ex Route: <sip:85.221.xx.xx;lr;ftag=160101141220907529250>
>
> I replicate my client scenario and find that happens when my client 
> has two trunks in his dialplan and opensips is second in route ,   so 
> the Route header value  will contain trunk 1 sip server ip address, 
> besides I should fix the problem from my side since  I have no control 
> on this switch
>
> How solve this  problem while I try to remove the  Route header on 
> method = invite and  ! has a to_tag but it didn't work
>
> if (is_present_hf("Route")) {
>
> remove_hf("Route");
>
> }
>
> My part that rejects the call
>
> # preloaded route checking
>
> if (loose_route()) {
>
>   xlog("L_ERR",
>
>   "Attempt to route with preloaded Route's [$fu/$tu/$ru/$ci]");
>
>   if (!is_method("ACK"))
>
>    send_reply("403","Preload Route denied");
>
>   exit;
>
> }
>
> Regards
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140210/d742ccf3/attachment.htm>


More information about the Users mailing list