[Serusers] forwarding unanswered call - once more

Jan Janak jan at iptel.org
Thu May 8 16:00:53 CEST 2003


On 08-05 09:51, Andrzej Radke wrote:
> The request is not forwarded to another sip address after specific time ( 
> i.e. 10 s)
> Isn't forwarded never.
> Maybe something wrong with my configuration script ??
> Could You look into my configuration file 
> http://lists.iptel.org/pipermail/serusers/2003-May/001276.html

  I just tried and it worked. Attached find a simple configuration
  file that I used. I set fr_inv_timer to 10s (default value is 120s)
  and tried to call a user. If the user didn't pick up in 10s then the 
  original call was cancelled and another invite was sent to user 7271.
    
    Jan.

-------------- next part --------------
#
# $Id: ser.cfg,v 1.18 2003/05/06 16:19:15 janakj Exp $
#
# simple quick-start config script
#

# ----------- global configuration parameters ------------------------

debug=9        # debug level (cmd line: -dddddddddd)
fork=no
log_stderror=yes	# (cmd line: -E)

check_via=no	# (cmd. line: -v)
dns=no           # (cmd. line: -r)
rev_dns=no      # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"

listen=195.37.78.191

loadmodule "./modules/tm/tm.so"

modparam("tm", "fr_inv_timer", 10)

route {
	if (method=="INVITE") {
	    t_on_failure("1"); 
	};
	t_relay();
}

failure_route[1] {
	log("!!!!!!!!!!!!!!! HIT\n");
	revert_uri(); 
	setuser("7271"); 
	append_branch(); 
	t_relay();
}

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20030508/76075db2/attachment.pgp>


More information about the sr-users mailing list