Hi, how may I catch the reply of an invite? I did this but it seems is not working:
if (method=="INVITE") {
$avp(sdp_ret) = fix_nated_sdp("11");
xlog("L_ALERT","#####********###### SDP return: $avp(sdp_ret)\n");
append_hf("P-hint: sdp rewritten\r\n");
t_on_reply("REPLY_TWO");
}
onreply_route("REPLY_TWO") {
xlog("L_ALERT","ALERT: ################ $rU - $rm from $fu (IP:$si:$sp--------$di)\n");
return;
}
Any help will be appreciate it, thanks in advance.
Lucas