Hi, did you add a "t_on_failure" in your request route? Your route works for busy subscribers i guess? The problem is likely, that your sip-router box receives a "500 Retry later" from some endpoint (either the device or SEMS) and you have no rule for handling 500-responses:
if (t_check_status("486|408")) { You only forward to sems here, if your proxy receives a "486 Busy" or a "408 Request timeout", not if it receives any other reply. You should check, from where you receive the 500-reply; it is not generated by the sip-router proxy. Carsten 2010/8/23 Alejandro Mellado G. <amell...@inf.uct.cl>: > 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 > _________________________________ > > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > -- Carsten Bock Schomburgstr. 80 22767 Hamburg Germany Mobile +49 179 2021244 Home +49 40 34927217 Fax +49 40 34927218 mailto:cars...@bock.info _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users