[Users] how set timeout when connection is terminate (send BYE command)

Michal Prorok prorok at promedia.cz
Mon Oct 17 15:14:09 CEST 2005


Hello,

How can I set timeout for BYE command when connection will be terminated
(reset computer eg.).
In acc table is only INVITE+ACK, but not BYE command.

Failure route is:

failure_route[1] {

	if (t_check_status("487")) {
	break;

	};

	if (isflagset(26) && t_check_status("486")) {
		if (avp_pushto("$ruri", "s:fwdbusy")) {
			avp_delete("s:fwdbusy");
			resetflag(26);
			route(6);
			break;
		};
	};

	if (isflagset(27) && t_check_status("408")) {
		if (avp_pushto("$ruri", "s:fwdnoanswer")) {
			avp_delete("s:fwdnoanswer");
			resetflag(27);
			route(6);
			break;
		};
	};


Regards



Michal Prorok







More information about the Users mailing list