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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users