[Freeswitch-users] Mod Fifo
abubacker
abubacker at bksystems.co.in
Mon Aug 30 21:12:36 PDT 2010
On Monday 30 August 2010 08:43 PM, Jonathan Pitcher wrote:
> Hi all,
>
> I am attempting to setup a dynamic fifo group. I actually have the
> group working and can have agents log into the que and receive calls,
> but what I have having trouble with is Caller ID on the call to the
> agent from the que.
>
> I have been looking at: http://wiki.freeswitch.org/wiki/Mod_fifo
>
> And it says that to change the caller ID to the agent you can change
> it in 2 places, one in the script that logs the agent in and secondly
> in the call that gets sent to fifo in. I have choosen the second
> option because it allows customers to change the name of the que and
> have it immediately change instead of having to force users to log in
> and log out again to see the name change take place.
>
> When the caller dialing into the que calls the que, this is what I
> return to FS.
>
> <?xml version="1.0"?>
> <document type="freeswitch/xml">
> <section name="dialplan" description="Regex/XML Dialplan">
> <context name="default">
> <extension name="SoapExtension">
> <condition field="destination_number" expression="^(.*)$">
> <action application="set"
> data="domain_name=1000076.pprd.nuvio.net" />
> <action application="set" data="origination_caller_id_name=sam" />
> <action application="set" data="fifo_music=$${hold_music}" />
> <action application="answer" />
> <action application="set" data="queue_name=${used_domain}$
> {destination_number:4}" />
> <action application="playback" data="ivr/ivr-
> hold_connect_call.wav" />
> <action application="fifo" data="ACD121 at 1000076.pprd.nuvio.net
> in" />
> </condition>
> </extension>
> </context>
> </section>
> </document>
>
> This is what fifo list shows :
>
> <fifo_report>
> <fifo name="ACD121 at 1000076.pprd.nuvio.net" consumer_count="0"
> caller_count="0" waiting_count="0" importance="0"
> outbound_per_cycle="0" outbound_priority="5"
> outbound_strategy="ringall">
> <outbound>
> <member simo="1" use_count="0" timeout="60" lag="5" outbound-
> call-count="3" outbound-fail-count="0" taking-calls="1" status=""
> outbound-call-total-count="3" outbound-fail-total-count="2" logged-on-
> since="2010-08-30 08:02:50" manual-calls-out-count="0" manual-calls-in-
> count="1" manual-calls-out-total-count="0" manual-calls-in-total-
> count="1" ring-count="0" start-time="2010-08-30 10:08:42" stop-
> time="2010-08-30 10:08:42" next-available="2010-08-30
> 10:08:48">{fd=1000076.pprd.nuvio.net,}user/638 at 1000076.pprd.nuvio.net</
> member>
> </outbound>
> <callers></callers>
> <consumers></consumers>
> <bridges></bridges>
> </fifo>
> <fifo name="cool_fifo at 208.77.12.21" consumer_count="0"
> caller_count="0" waiting_count="0" importance="0"
> outbound_per_cycle="1" outbound_priority="5"
> outbound_strategy="ringall">
> <outbound></outbound>
> <callers></callers>
> <consumers></consumers>
> <bridges></bridges>
> </fifo>
> <fifo name="manual_calls" consumer_count="0" caller_count="0"
> waiting_count="0" importance="0" outbound_per_cycle="0"
> outbound_priority="5" outbound_strategy="ringall">
> <outbound>
> <member simo="1" use_count="0" timeout="60" lag="5" outbound-
> call-count="3" outbound-fail-count="0" taking-calls="1" status=""
> outbound-call-total-count="3" outbound-fail-total-count="2" logged-on-
> since="2010-08-30 08:02:50" manual-calls-out-count="0" manual-calls-in-
> count="1" manual-calls-out-total-count="0" manual-calls-in-total-
> count="1" next-available="2010-08-30
> 10:08:48">{fd=1000076.pprd.nuvio.net,}user/638 at 1000076.pprd.nuvio.net</
> member>
> </outbound>
> <callers></callers>
> <consumers></consumers>
> <bridges></bridges>
> </fifo>
> </fifo_report>
>
>
> Now everything works like it should but I can't seem to get the
> origination_caller_id_name variable to be used in the incoming dialplan.
>
> What am I missing ?
>
> Thanks in advance,
>
> Jonathan Pitcher
>
> _______________________________________________
> 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
>
Please try this
$ fifo list_verbose
--
Best regards,
N.Abubacker ,
Associate system engineer ,
bk systems pvt ltd ,
Ph : 9144-43902701
Disclaimer: http://www.bksystems.co.in/email-policy
More information about the FreeSWITCH-users
mailing list