Peter P GMX escribió: > Hello, > > I tried the 302 redirect now in 2 different methods: > $ru = "sip:06912345...@yy.yyy.yyy.163:5062"; # rewite complete > contact address > rewritehostport("yy.yyy.yyy.163:5062"); # rewite host > and port > and then > sl_send_reply("302", "redirected"); > > In all cases OpenSIPS sends back a 302 message with the new contact > information yy.yyy.yyy.163. > The originating UA then takes the contact information into consideration > in the TO: header, however it still sends the message to the previous IP > yy.yyy.yyy.165 (OpenSIPS again) instead of 163 (Freeswitch). > > I tried this with 2 SIP clients, they both behave the same. > What am I doing wrong? > > Best regards > Peter > If the UAC's are configured to ALWAYS use .165 as outbound proxy .. no matter what you try with the 302 ... that will not run.
Trying to do loadbalancing with 302 or any other 30X code it's an error, there will be lot of situations in witch it will not run. _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users