[Users] set timer for Request Timeout

Klaus Darilion klaus.mailinglists at pernau.at
Wed Aug 31 18:00:29 CEST 2005


http://openser.org/docs/modules/0.10.x/tm.html#AEN101
http://openser.org/docs/modules/0.10.x/tm.html#AEN223

does this help?

klaus

Jens Carl wrote:
> Hello all,
> 
> I have following records in the table 'usr_preferences':
> 
> username	attribute	value
> 1000		fwdbusy		sip:1001 at example.de
> 1000		fwdnoanswer	sip:1001 at 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
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
> 
> 





More information about the Users mailing list