[Freeswitch-users] Tricky rollover Dial Plan Question

Sean Devoy sdevoy at bizfocused.com
Mon Nov 26 22:50:42 MSK 2012


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 at lists.freeswitch.org
[mailto:freeswitch-users-bounces at 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 at 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 at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121126/ec9af57c/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list