Hi'
I'm trying to forward the call to voicemail on sems when the time of
response is out. When the user isn't in location, the forward to
voicemail work very fine ( $rc = -1 ). But failure_route, doesn't work
and send message "500 Retry Later".
I'm using kamailio 3.0.2 and I'm probing with:
modparam("tm", "fr_timer", 10)
modparam("tm", "fr_inv_timer", 15)
...
...
failure_route[FAIL_ONE] {
#!ifdef WITH_NAT
if (is_method("INVITE")
&& (isbflagset("6") || isflagset(5))) {
unforce_rtp_proxy();
}
#!endif
if (t_is_canceled()) {
exit;
}
if (t_check_status("486|408")) {
revert_uri();
avp_db_load("$ruri","$avp(s:email_address)/$email_scheme");
append_hf("P-App-Name: myvoicemail\r\n");
append_hf("P-App-Param:
Email-Address=$avp(s:email_address)\r\n");
rewritehostport("sems_host:5080");
append_branch();
t_relay();
}
}
Thanks.
--
Saluda Atte,
Alejandro Mauricio Mellado Gatica
Escuela de Ingeniería Informática
Universidad Católica de Temuco
_________________________________