[Freeswitch-users] mod_fifo: agents are not ringing

Ashish gautam ashish at nms.co.in
Thu Apr 18 13:43:33 MSD 2013


Hi Michael,

fifo_member add command runs successfully and the members are added to the
fifo list. The output of the fifo list command is:

<fifo_report>
  <fifo name="cool_fifo at 10.1.30.229" consumer_count="0" caller_count="0"
waiting_count="0" importance="0" outbound_per_cycle="1" ring_timeout="60"
default_lag="30" outbound_priority="5" outbound_strategy="ringall">
    <outbound>
      <member simo="1" use_count="0" timeout="60" lag="10"
outbound-call-count="0" outbound-fail-count="0" taking-calls="1" status=""
outbound-call-total-count="2" outbound-fail-total-count="0"
logged-on-since="2013-04-16 11:49:05" manual-calls-out-count="0"
manual-calls-in-count="2" manual-calls-out-total-count="0"
manual-calls-in-total-count="2" ring-count="0" start-time="never"
stop-time="never" next-available="2013-04-16 12:23:14">user/1004 at 10.1.30.229
</member>
      <member simo="1" use_count="0" timeout="60" lag="10"
outbound-call-count="0" outbound-fail-count="0" taking-calls="1" status=""
outbound-call-total-count="0" outbound-fail-total-count="0"
logged-on-since="2013-04-16 16:00:24" manual-calls-out-count="0"
manual-calls-in-count="0" manual-calls-out-total-count="0"
manual-calls-in-total-count="0" ring-count="0" start-time="never"
stop-time="never" next-available="now">user/1003 at 10.1.30.229</member>
    </outbound>
    <callers></callers>
    <consumers></consumers>
    <bridges></bridges>
  </fifo>
</fifo_report>

Whereas I want to add members through the configuration file. When I try to
add members according to the wiki example they are not added to the fifo
list.

fscli command fifo list shows then:

<fifo_report>
  <fifo name="cool_fifo at 10.1.30.229" consumer_count="0" caller_count="0"
waiting_count="0" importance="0" outbound_per_cycle="1" ring_timeout="60"
default_lag="30" outbound_priority="5" outbound_strategy="ringall">
    <outbound></outbound>
    <callers></callers>
    <consumers></consumers>
    <bridges></bridges>
  </fifo>
</fifo_report>

How do I add members through the configuration file? my fifo.conf.xml is:

<configuration name="fifo.conf" description="FIFO Configuration">
  <fifos>
    <fifo name="cool_fifo at 10.1.30.229" importance="0">
      <member timeout="60" simo="10" lag="20">{fifo_member_wait=nowait}user/
1004 at 10.1.30.229</member>
      <member timeout="60" simo="10" lag="20">{fifo_member_wait=nowait}user/
1003 at 10.1.30.229</member>
   </fifo>
  </fifos>
</configuration>

Also in the fifo list command it shows the strategy as "ringall" whereas
the agents are being dialled one by one. Where am I wrong. Please help.

Regards,

Ashish
On Wed, Apr 17, 2013 at 8:34 PM, Michael Collins <msc at freeswitch.org> wrote:

> Ashish,
>
> Please give us the details. Saying, "It doesn't work," but not giving us
> details means we'll never be able to help you.
>
> -Michael
>
>
> On Tue, Apr 16, 2013 at 10:21 PM, Ashish gautam <ashish at nms.co.in> wrote:
>
>> Hi Michael,
>>
>> It shows not members added to the fifo.
>>
>> On Tue, Apr 16, 2013 at 8:41 PM, Michael Collins <msc at freeswitch.org>wrote:
>>
>>> try using the fs_cli fifo member command to add these. See if you get
>>> any errors. That might shed some light on what's happening.
>>> -MC
>>>
>>>
>>> On Mon, Apr 15, 2013 at 10:46 PM, Ashish gautam <ashish at nms.co.in>wrote:
>>>
>>>> Michael,
>>>>
>>>> My fifo.conf.xml is:
>>>>
>>>> <configuration name="fifo.conf" description="FIFO Configuration">
>>>>   <fifos>
>>>>     <fifo name="cool_fifo at 10.1.30.229" importance="0">
>>>>       <member timeout="60" simo="10" lag="20">user/1004 at 10.1.30.229
>>>> </member>
>>>>       <member timeout="60" simo="10" lag="20">user/1003 at 10.1.30.229
>>>> </member>
>>>>    </fifo>
>>>>   </fifos>
>>>> </configuration>
>>>>
>>>> Its according to the example shown on the wiki page. Still fifo list
>>>> shows members not added.
>>>>
>>>> --
>>>> Ashish
>>>>
>>>> On Mon, Apr 15, 2013 at 9:48 PM, Michael Collins <msc at freeswitch.org>wrote:
>>>>
>>>>> It's just a simple sofia dialstring. Here's an example:
>>>>> http://wiki.freeswitch.org/wiki/Mod_fifo#Configure_for_Agent_Callback
>>>>>
>>>>> -MC
>>>>>
>>>>>
>>>>> On Sun, Apr 14, 2013 at 10:42 PM, Ashish gautam <ashish at nms.co.in>wrote:
>>>>>
>>>>>> Thanks Michael,
>>>>>>
>>>>>> Probably the originate dialstring I am using is not correct. Can you
>>>>>> please tell what is the proper format for that?
>>>>>>
>>>>>> On Sat, Apr 13, 2013 at 12:22 AM, Michael Collins <msc at freeswitch.org
>>>>>> > wrote:
>>>>>>
>>>>>>> For some reason your agents are not actually set as members of the
>>>>>>> queue. Onhook agents will be listed in the <member> section and off-hook
>>>>>>> agents will be listed in the <consumers> section. Evidently, whatever
>>>>>>> you're doing to add the agents is not working. You may want to try
>>>>>>> explicitly adding them from the fs_cli using the fifo_member command and
>>>>>>> seeing how that goes.
>>>>>>>
>>>>>>> -MC
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Apr 11, 2013 at 9:32 PM, Ashish gautam <ashish at nms.co.in>wrote:
>>>>>>>
>>>>>>>> The output is :
>>>>>>>>
>>>>>>>>
>>>>>>>> <fifo_report>
>>>>>>>>   <fifo name="cool_fifo at 10.1.30.229" consumer_count="0"
>>>>>>>> caller_count="0" waiting_count="0" importance="0" outbound_per_cycle="1"
>>>>>>>> ring_timeout="60" default_lag="30" outbound_priority="5"
>>>>>>>> outbound_strategy="ringall">
>>>>>>>>     <outbound></outbound>
>>>>>>>>     <callers></callers>
>>>>>>>>     <consumers></consumers>
>>>>>>>>     <bridges></bridges>
>>>>>>>>   </fifo>
>>>>>>>> </fifo_report>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Apr 11, 2013 at 9:42 PM, Michael Collins <
>>>>>>>> msc at freeswitch.org> wrote:
>>>>>>>>
>>>>>>>>> What's the output of fscli command: fifo list
>>>>>>>>> cool_fifo at 10.1.30.229
>>>>>>>>>
>>>>>>>>> -MC
>>>>>>>>>
>>>>>>>>> On Thu, Apr 11, 2013 at 12:13 AM, Ashish gautam <ashish at nms.co.in>wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> Caller is played music on hold but is not connected to any of the
>>>>>>>>>> agents since no agent is ringing. I have sip users registered to FS ( they
>>>>>>>>>> are online). I have configured a SIP user as a member for the queue. But,
>>>>>>>>>> when the caller calls in, the agent doesn't ring.
>>>>>>>>>>
>>>>>>>>>> Please throw some light.
>>>>>>>>>>
>>>>>>>>>> -Ashish
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Michael S Collins
>>>>>>> Twitter: @mercutioviz
>>>>>>> http://www.FreeSWITCH.org
>>>>>>> http://www.ClueCon.com
>>>>>>> http://www.OSTAG.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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Michael S Collins
>>>>> Twitter: @mercutioviz
>>>>> http://www.FreeSWITCH.org
>>>>> http://www.ClueCon.com
>>>>> http://www.OSTAG.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
>>>>
>>>>
>>>
>>>
>>> --
>>> Michael S Collins
>>> Twitter: @mercutioviz
>>> http://www.FreeSWITCH.org
>>> http://www.ClueCon.com
>>> http://www.OSTAG.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
>>
>>
>
>
> --
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.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/20130418/9dac5e03/attachment-0001.html 


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