SOLVED!!
It was because i have an error on dialog behaviour. For now I solved in this
way, hope could be interesting for someone else:
*branch_route[2] {
if (is_method("INVITE") && is_audio_on_hold()){
if ( search_body("a=sendonly")){
set_dlg_flag("7");
} else {
if ( search_body("a=inactive.")){
set_dlg_flag("8");
}
}
if (is_dlg_flag_set("7") && (status=="200")){
replace_body("a=sendrecv.","a=recvonly");
} else {
if (is_dlg_flag_set("8") &&
(status=="200")){
replace_body("a=sendrecv.","a=inactive");
}
}
} else {
if (is_method("INVITE")){
reset_dlg_flag("7");
reset_dlg_flag("8");
}
}
}
onreply_route[2] {
if (is_dlg_flag_set("7") && (status=="200")){
replace_body("a=sendrecv.","a=recvonly");
} else {
if (is_dlg_flag_set("8") && (status=="200")){
replace_body("a=sendrecv.","a=inactive");
}
}
}
*
--
View this message in context:
http://opensips-open-sip-server.1449251.n2.nabble.com/Need-Hint-for-Opensips-as-UDP-TCP-Proxy-tp7582137p7582213.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users