Hello all,
I have following records in the table 'usr_preferences':
username attribute value 1000 fwdbusy sip:1001@example.de 1000 fwdnoanswer sip:1001@example.de
I use these records to get the functionallity of "Call Forwarding - Busy" and "Call Forwarding - No Answer" into the OpenSer - server.
I use a failure_route to act on the SIP - messages "Request Timeout (408)" and "Busy(486)" and forward the INVITE - message to the URI saved in the table 'usr_preferences'. See my snippet of the openser.cfg:
----snip ---
failure_route[1] { if (isflagset(27) && t_check_error(408)) { if (avp_pushto("$ruri", "s:fwdnoanswer")) { avp_delete("s:fwdnoanswer"); resetflag(27); route(6); break; }; }; if (isflagset(26) && t_check_error(486)) { if (avp_pushto("$ruri", "s:fwdbusy")) { avp_delete("s:fwdbusy"); resetflag(26); route(6); break; }; };
};
----snap ---
These configuration works fine. Is there a possibillity to set a timer for the phone after the server receives the message "Request Timeout" from the phone? Or can I let the server ring for example five times and generate the message?
Greetings Jens