Max M. - 2012-03-30

If i change the part where i set the rtpproxy, so i am not setting static values but i am using the avp instead it works perfectly and only rtpproxies from my set are chosen. But this behavior seems like a bug to me, or is there something wrong in the script logic?

if($avp(s:rtpsets) == 1){
set_rtp_proxy_set("$avp(s:rtpsets)");
rtpproxy_offer("o");
} else {
set_rtp_proxy_set("$avp(s:rtpsets)");
rtpproxy_offer("o");
}