Tricky rollover Dial Plan Question
Hi All, Thanks for your help as always. I have a CISCO 504G four line phone. I don't think the model is particularly relevant, just that it is a multi-line phone. Issue one: If line 1 is busy, I want new calls to be directed to line 2. If 1 and 2 are in use, ring on 3 and then line 4. I think this means call waiting will need to be disabled so that each will ring busy, enabling rollover. Also, I don't want lines 2, 3 and 4 to all ring if 1 is busy. I think I just use continue_on_fail=true and hangup_after_bridge=true, then route to Line 1, then 2, 3 and 4. Issue two: I have 6 phones in a call group and I need the call group to ring each phone like explained in issue one. I cannot for the life of me figure out how to "layer" devices to failover independently when dialed in a group. That is to say, when a call comes in it should be bridged to all 6 phones on the lowest available line button. Whoever answers first gets to call and all other lines return to ready state. Any thoughts would be greatly appreciated. Sean
1) I guess one person uses that phone. With that in mind, one extension (both on FS and on the phone) will do. If you need to route different DIDs you can do that on that some extension (not map DIDs to exts 1-1). You can just set Line Key 2,3,4 to Ext 1 and they will blink and phone will ring if another call comes in, during first call. In this case call waiting needs to be enabled. No complicated dialplan is needed, default one will do. If you disable CW, phone will send 486 response immediately if on call, so you use continue_on_fail=USER_BUSY. 2) You can use something like <action application="bridge" data="${group_call(${group_name}@ ${domain_name}+A)}"/> in the dialplan and <group name="finance"> <users> <user id="111" type="pointer"/> <user id="184" type="pointer"/> <user id="119" type="pointer"/> </users> </group> in the directory. This is scalable, you can easily set ring/hunt groups this way, just create and edit them in the directory. With regards to the buttons, that's really just configuration of the phone. Join irc channel (#freeswitch on irc.freenode.net) if you have additional questions. On Sun, Nov 25, 2012 at 6:21 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:
Hi All,****
** **
Thanks for your help as always.****
** **
I have a CISCO 504G four line phone. I don’t think the model is particularly relevant, just that it is a multi-line phone.****
** **
*Issue one:*
If line 1 is busy, I want new calls to be directed to line 2. If 1 and 2 are in use, ring on 3 and then line 4. I think this means call waiting will need to be disabled so that each will ring busy, enabling rollover. Also, I don’t want lines 2, 3 and 4 to all ring if 1 is busy.****
** **
I think I just use continue_on_fail=true and hangup_after_bridge=true, then route to Line 1, then 2, 3 and 4.****
** **
*Issue two:*
I have 6 phones in a call group and I need the call group to ring each phone like explained in issue one. I cannot for the life of me figure out how to “layer” devices to failover independently when dialed in a group.** **
** **
That is to say, when a call comes in it should be bridged to all 6 phones on the lowest available line button. Whoever answers first gets to call and all other lines return to ready state.****
** **
Any thoughts would be greatly appreciated.****
** **
Sean****
** **
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
THANK YOU SO MUCH Ognjen. The solution is so simple and is exactly what I needed. With the amount of reading and research I really have done, it always surprises me to find the SIMPLEST things that I totally missed out on. Sometimes I feel like the well driller trying to figure out where to drill to fix the leaking dam. Of course, your solution to #1 makes #2 a complete non-issue. It is just standard group calling. Thank you for your response. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Ognjen Seslija Sent: Sunday, November 25, 2012 4:59 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Tricky rollover Dial Plan Question 1) I guess one person uses that phone. With that in mind, one extension (both on FS and on the phone) will do. If you need to route different DIDs you can do that on that some extension (not map DIDs to exts 1-1). You can just set Line Key 2,3,4 to Ext 1 and they will blink and phone will ring if another call comes in, during first call. In this case call waiting needs to be enabled. No complicated dialplan is needed, default one will do. If you disable CW, phone will send 486 response immediately if on call, so you use continue_on_fail=USER_BUSY. 2) You can use something like <action application="bridge" data="${group_call(${group_name}@${domain_name}+A)}"/> in the dialplan and <group name="finance"> <users> <user id="111" type="pointer"/> <user id="184" type="pointer"/> <user id="119" type="pointer"/> </users> </group> in the directory. This is scalable, you can easily set ring/hunt groups this way, just create and edit them in the directory. With regards to the buttons, that's really just configuration of the phone. Join irc channel (#freeswitch on irc.freenode.net) if you have additional questions. On Sun, Nov 25, 2012 at 6:21 AM, Sean Devoy <sdevoy@bizfocused.com> wrote: Hi All, Thanks for your help as always. I have a CISCO 504G four line phone. I don't think the model is particularly relevant, just that it is a multi-line phone. Issue one: If line 1 is busy, I want new calls to be directed to line 2. If 1 and 2 are in use, ring on 3 and then line 4. I think this means call waiting will need to be disabled so that each will ring busy, enabling rollover. Also, I don't want lines 2, 3 and 4 to all ring if 1 is busy. I think I just use continue_on_fail=true and hangup_after_bridge=true, then route to Line 1, then 2, 3 and 4. Issue two: I have 6 phones in a call group and I need the call group to ring each phone like explained in issue one. I cannot for the life of me figure out how to "layer" devices to failover independently when dialed in a group. That is to say, when a call comes in it should be bridged to all 6 phones on the lowest available line button. Whoever answers first gets to call and all other lines return to ready state. Any thoughts would be greatly appreciated. Sean _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Ognjen Seslija
-
Sean Devoy