[SR-Users] Invite replies

Iñaki Baz Castillo ibc at aliax.net
Sun Jun 19 20:49:24 CEST 2011


2011/6/16 Lucas Alvarez <lucasaa at gmail.com>:
> 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.


Where is the t_relay() call?
And, which is the problem? does the reply arrives to kamailio or not?


-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the sr-users mailing list