[Serusers] Can SER forward the call to another phone on busy orno answer

Alexandr Dubovikov shurik at start4.info
Thu May 18 20:58:37 CEST 2006


On Thu, May 18, 2006 at 12:47:23PM -0500, Gould, Aaron wrote:
> i created an alias that allowed ser to contact (ring) 2 phones when a phone (invite) was received by ser
>  
> it was something like....
>  
> #serctl alias add 1001 sip:aaron at domain.com
> #serctl alias add 1001 sip:alex at domain.com
>  
> ....can't remember if the "sip:" is requiered or not....just try it
>  
> if you dial 1001 from another sip ua then both ua's where "aaron" and "alex" are registered (contact uri) will be contacted (ring'ed)
>  

I am not sure that he has asked about this. 



he should just added two blocks in your ser.cfg and make reroute 

t_on_failure("1");
t_on_reply("1");


failure_route[1] {
        xlog("L_NOTICE", "FAILURE_ROUTE\n");
        revert_uri();
        append_branch();
        append_hf("P-hint: REROUTE ON FAILURE\r\n");

	.......
	location("alias"); # <-  change it!!!
	.....
}


onreply_route[1]
{
	append_hf("P-hint: REROUTE ON BUSY\r\n");

        log("**************** ONREPLY ROUTE start  ******************\n");
        if (status =~ "486")
        {
		location("alias"); # <- change it !!!!!!!!!!!
				   
                log("*********** BUSY ******************\n");
        };
	.......
}


> 
> ________________________________
> 
> From: serusers-bounces at lists.iptel.org on behalf of Alexandr Dubovikov
> Sent: Thu 5/18/2006 9:43 AM
> To: AR.
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] Can SER forward the call to another phone on busy orno answer
> 
> 
> 
> On Thu, May 18, 2006 at 09:02:08PM +0800, AR. wrote:
> > Dear ALL
> >
> >    Can SER forward the call to another phone on busy or no answer ?
> >    and How to do that ? Which module should be used ?
> >    thanks
> 
> module tm.
> on_failure_route block
> 
> 
> --
> Alexandr Dubovikov * baron at iRC RusNet * mailto:shurik at start4.info
>     AD1-UANIC      *  ICQ: 122351182  *  http://www.start4.info
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> 

-- 
Alexandr Dubovikov * baron at iRC RusNet * mailto:shurik at start4.info
    AD1-UANIC      *  ICQ: 122351182  *  http://www.start4.info




More information about the sr-users mailing list