Hi Max,
It sounds strange, especially that you are not doing something wrong -
better open a bug report on this.
Regards,
Bogdan
On 03/29/2012 04:54 PM, Max Mühlbronner wrote:
Hi,
i just noticed some strange problems while trying to use rtpproxy
sets. Opensips version 1.6.4-2.
if(is_method("INVITE") && !has_totag()) {
switch ($Ri) {
case "X.X.X.X":
$avp(s:rtpsets)="1";
break;
case "X.X.X.X":
$avp(s:rtpsets)="2";
break;
default:
$avp(s:rtpsets)="2";
}
}
......
if($avp(s:rtpsets) == 1){
set_rtp_proxy_set("1");
rtpproxy_offer("o");
} else {
set_rtp_proxy_set("2");
rtpproxy_offer("o");
}
Everything works fine, if i add 1 or 2 rtpproxies into the group/set,
they are randomly selected from the set which is chosen for my invite.
But if i add 3 servers into a set, not only the rtpproxies from my set
are used but every rtpproxy regardless of the setid. I did not change
anything about the script logic, just changed entries in the db. I am
able to reproduce this every time i use 3 or more Rtpproxies in one set.
Is it just me, am i doing it wrong, or could it be a bug?
Best Regards
Max M.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users