[Serusers] phone hunt

Greg Fausak lgfausak at august.net
Wed Feb 4 18:05:01 CET 2004


if your script contains:


you can then create a 'function':

failure_route[1] {
	# us this line to just forward to another phone.
	rewriteuri("sip:nextphone at domain.com");

	# or, more complicated, use this recursively:
	# use alias table to contain next phone to hunt to:
	# your could even create another table, like alias, called
	# huntgroup.
	t_reply("486", "busy here");

you can even create another table in the database, say called huntgroup,
and do a lookup("huntgroup");


>Does any of you have any experience with setting up the phone hunt 
>system? I am trying to set it up but no luck so far. What I would like 
>to happen is this: call comes in, first phone rings. After so many 
>seconds it's being redirected to another phone and so on and so forth. 
>After the fourth phone i want to redirect the call to my voicemail.
>I tried looking through archieves but I couldn't find anything. Do you 
>guys have any suggestions?
>  Srbo Cvetkovic                  | CityNet, Inc.		
>  srbo at city-net.com            | Pittsburgh, PA	
>  voice: 412.481.5406         | fax: 412.431.1315
>Serusers mailing list
>serusers at lists.iptel.org

More information about the sr-users mailing list