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
AR.
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
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@domain.com #serctl alias add 1001 sip:alex@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)
________________________________
From: serusers-bounces@lists.iptel.org on behalf of Alexandr Dubovikov Sent: Thu 5/18/2006 9:43 AM To: AR. Cc: serusers@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@iRC RusNet * mailto:shurik@start4.info AD1-UANIC * ICQ: 122351182 * http://www.start4.info
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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@domain.com #serctl alias add 1001 sip:alex@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@lists.iptel.org on behalf of Alexandr Dubovikov Sent: Thu 5/18/2006 9:43 AM To: AR. Cc: serusers@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@iRC RusNet * mailto:shurik@start4.info AD1-UANIC * ICQ: 122351182 * http://www.start4.info
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
i wasn't sure either. sorry. hope i didn't confuse matters
________________________________
From: Alexandr Dubovikov [mailto:shurik@start4.info] Sent: Thu 5/18/2006 11:58 AM To: Gould, Aaron Cc: AR.; serusers@lists.iptel.org Subject: Re: [Serusers] Can SER forward the call to another phone on busy orno answer
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@domain.com #serctl alias add 1001 sip:alex@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@lists.iptel.org on behalf of Alexandr Dubovikov Sent: Thu 5/18/2006 9:43 AM To: AR. Cc: serusers@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@iRC RusNet * mailto:shurik@start4.info AD1-UANIC * ICQ: 122351182 * http://www.start4.info
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Alexandr Dubovikov * baron@iRC RusNet * mailto:shurik@start4.info AD1-UANIC * ICQ: 122351182 * http://www.start4.info