[Freeswitch-users] Call Waiting + FIFO
Chris Tunbridge
blasterjr at gmail.com
Tue Jul 29 02:53:13 MSD 2014
Michael, after talking with bkw in the chat, it seems FIFO does not support
call waiting. However he mentioned setting the LAG to a lower value, with
a LAG set to 1, and a member timeout set to 60, when i call in, and answer
the first call, then call in with a 2nd call waiting in the queue, if i
hangup the first call, it waits the entire 60 seconds of the member timeout
before ringing me again.
On Mon, Jul 28, 2014 at 3:21 PM, Chris Tunbridge <blasterjr at gmail.com>
wrote:
> Michael, when i reduce it down to 1 extension, or have 3 calls coming in
> (1 answered by each extension) the extensions never ring with Call Waiting,
> also it calls all phones at once, not a single phone if nobody is on a
> phone.
>
>
> On Mon, Jul 28, 2014 at 3:07 PM, Michael Jerris <mike at jerris.com> wrote:
>
>> Its going to call the first record returned. Note the order by to
>> understand why its picking the other record.
>>
>> On Jul 28, 2014, at 5:02 PM, Chris Tunbridge <blasterjr at gmail.com> wrote:
>>
>> After running a few test calls through and copy/pasting the sql it
>> requested, i can see that the extension is in fact int he list to be
>> called, however the system never attempts to call the extension. I have 2
>> extensions in this fifo, 101, and 600, when 101 is on a call from fifo, i
>> only see a call attempt to user/600 on the dialplan, even though the SQL
>> does in fact return both members.
>>
>>
>> On Mon, Jul 28, 2014 at 2:50 PM, Michael Jerris <mike at jerris.com> wrote:
>>
>>> The only time the next_avail would be set in the future would be after
>>> you miss or complete another call. In those cases, you get wrapup/defer
>>> time. You can adjust "lag" if you wish to reduce this amount.
>>>
>>> On Jul 28, 2014, at 4:39 PM, Chris Tunbridge <blasterjr at gmail.com>
>>> wrote:
>>>
>>> Nevermind, found the debug, the query being generated is as follows
>>>
>>> select uuid, fifo_name, originate_string, simo_count, use_count,
>>> timeout, lag, next_avail, expires, static, outbound_call_count,
>>> outbound_fail_count, hostname from fifo_outbound where taking_calls = 1 and
>>> (fifo_name = '114 at 78305e9e-a3e3-11e3-af13-0a7aafc004b2.simplitalk.com')
>>> and ((use_count+ring_count) < simo_count) and (next_avail = 0 or next_avail
>>> <= 1406579807) order by next_avail, outbound_fail_count, outbound_call_count
>>>
>>> the part of the query causing it to not return the result is the
>>> next_avail <= <timestamp>
>>>
>>> which basically
>>>
>>>
>>> On Mon, Jul 28, 2014 at 2:24 PM, Chris Tunbridge <blasterjr at gmail.com>
>>> wrote:
>>>
>>>> Which debug do i need to run to see this (i'd love to see it) it'll
>>>> call other agents, just not the one who's on the phone.
>>>>
>>>>
>>>> On Mon, Jul 28, 2014 at 1:57 PM, Michael Jerris <mike at jerris.com>
>>>> wrote:
>>>>
>>>>> Is it calling other agents or not calling anyone? If you crank up the
>>>>> debug, you can see the actual sql statements its running to find the
>>>>> appropriate agent to call.
>>>>>
>>>>> On Jul 28, 2014, at 3:39 PM, Chris Tunbridge <blasterjr at gmail.com>
>>>>> wrote:
>>>>>
>>>>> Currently Simo is set to 3, but i've set it as high as 100 and the 2nd
>>>>> call never rings through. Using MySQL via ODBC to manage the FIFO
>>>>> Members. Maybe something bugging out with that? All i know is that if i
>>>>> set simo to 20 or 100, then issue fifo list <fifo name> i see that the
>>>>> correct value.
>>>>>
>>>>>
>>>>> On Mon, Jul 28, 2014 at 1:13 PM, Michael Jerris <mike at jerris.com>
>>>>> wrote:
>>>>>
>>>>>> If you call the phone directly multiple times and its working like
>>>>>> you want, then thats already working. You just need to set simo=x where x
>>>>>> is the number of calls you want to send to that agent at a time.
>>>>>>
>>>>>> On Jul 28, 2014, at 3:03 PM, Chris Tunbridge <blasterjr at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>> So by multiple calls are you talking call waiting? its already
>>>>>> enabled, if i call the extension directly call waiting is functioning, or
>>>>>> are you saying that i need to configure the same extension multiple times
>>>>>> on the same device (Ext 1/2 on Cisco, or line 1/2 on aastra) .
>>>>>>
>>>>>>
>>>>>> On Mon, Jul 28, 2014 at 12:09 PM, Michael Jerris <mike at jerris.com>
>>>>>> wrote:
>>>>>>
>>>>>>> First, you need to have the phone configured to allow multiple
>>>>>>> calls, then you would use the "simo" attribute on the agents to have
>>>>>>> mod_fifo deliver multiple calls at the same time.
>>>>>>>
>>>>>>> On Jul 27, 2014, at 2:17 AM, Chris Tunbridge <blasterjr at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>> I have a script that creates fifo's on the fly, and at one point i
>>>>>>> had it worked with call waiting, but i don't remember what i did at that
>>>>>>> time, nor what changed (months and months ago) however, i cannot seem to
>>>>>>> get Calls in FIFO to trigger call waiting on the phones that are set as
>>>>>>> Members of that FIFO Queue.
>>>>>>>
>>>>>>> Basically if i have 2 calls come in, and i answer one, i want the
>>>>>>> 2nd call to ring through to my phone (as well as others) even though i am
>>>>>>> already on a call, Call Waiting currently works if i dial directly to the
>>>>>>> device (say extension to extension calling) or even by routing a call
>>>>>>> straight to an extension, then trying a second call to that extension.
>>>>>>>
>>>>>>> I have tested this with the same results on the following
>>>>>>>
>>>>>>> Aastra 6757i (Firmware 2.6.2019 and 3.3.something)
>>>>>>> Cisco SPA525G2
>>>>>>> Polycom SoundPoint IP 550
>>>>>>> Jitsi SoftClient
>>>>>>> X-Lite Soft Client.
>>>>>>>
>>>>>>> The behavior is the same regardless of the endpoint, i even tried
>>>>>>> creating loopbacks in order to trick the system, but from what i can tell,
>>>>>>> the server isn't even attempting to call the phone that's currently busy.
>>>>>>>
>>>>>>> The problem is that we have clients who get off one call, and have
>>>>>>> to wait 30+ seconds (fifo_member_timeout) before they can answer the next
>>>>>>> call, I've tried adjusting lag and it seems to have no impact.
>>>>>>>
>>>>>>> I'm working on getting a wireshark of this behavior, but i just
>>>>>>> wanted to reach out and see if the current behavior is in fact the correct
>>>>>>> one, and if not, or if there's a solution what i can do about it.
>>>>>>>
>>>>>>> Have i overlooked something ridiculously small?
>>>>>>>
>>>>>>> Here's what my fifo list <id> looks like
>>>>>>> http://pastebin.freeswitch.com/22943
>>>>>>>
>>>>>>> Please let me know if you need anymore information.
>>>>>>>
>>>>>>> _________________________________________________________________________
>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _________________________________________________________________________
>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _________________________________________________________________________
>>>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _________________________________________________________________________
>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>>
>> _________________________________________________________________________
>> 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
>>
>>
>>
>> _________________________________________________________________________
>> 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/20140728/b4403f60/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list