[SR-Users] Invite replies

Lucas Alvarez lucasaa at gmail.com
Thu Jun 16 16:33:44 CEST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110616/94354ba5/attachment.htm>


More information about the sr-users mailing list