Thanks for the info. Initially I was trying to mimic the Asterisk parking behavior and show the status of a call in a slot. I'll rework this using fifo. Spencer On Jan 17, 2011, at 9:07 AM, Anthony Minessale wrote:
yes using fifo for parking is the more elegant solution. the valet_parking is more for people who miss the asterisk flavored parking.
On Mon, Jan 17, 2011 at 11:00 AM, S W <steve.d.ward@gmail.com> wrote:
Travis:
Here is something that might interest you. I use 509gs, and I have some of them set up with BLF/speeddials set up on "parking slots". If no call is in the slot, you just press the button to park the call. If you want to retrieve a call from the slot, press that same button. Following is the config I use to be able to park calls and have BLF/speed dials.
In autoconf/fifo.conf.xml : ------------------------------------- <fifo name="ParkingSlot1@$${domain}" importance="0"/> -------------------------------------
In dialplan, e.g. 100_parking_slots.xml :
<extension name="parking_slots"> <condition field="destination_number" expression="^(ParkingSlot\d+)$" break="on-false"> <!-- Get count of callers in the specified parking slot (fifo) --> <action inline="true" application="set" data="slot_count=${fifo(count $1@$${domain})}"/> <action inline="true" application="set" data="slot_count=${slot_count:-3:2}"/> </condition> <condition field="${slot_count}" expression="^\:0$" break="always"> <!-- For FIFO count of 0: place the caller into the FIFO (actions are --> <!-- executed). --> <!-- fifo settings for parking fifos --> <action application="unset" data="fifo_chime_list"/> <action application="set" data="fifo_chime_freq=0"/> <!-- Parked callers listen to MOH --> <action application="fifo" data="${destination_number}@$$ {domain} in undef local_stream://moh"/> <!-- This hangup should never happen. --> <action application="hangup"/> <!-- For non-zero FIFO count: connect the caller to the parked channel --> <!-- (remove the channel from the FIFO and bridge it to the caller using --> <!-- fifo ... out) --> <anti-action application="fifo" data="${destination_number}@$${domain} out nowait"/> <!-- This hangup should never happen --> <anti-action application="hangup"/> </condition> </extension>
And here is an example SPA509g config (I actually use this):
fnc=blf+sd;sub=ParkingSlot1@$PROXY;ext=ParkingSlot1@$PROXY
Note that, above, my FreeSWITCH box that runs the fifo code above is the $PROXY to which my 509g is also registered, etc.
Let me know if you have any questions on that; I hope it helps.
On Mon, Jan 17, 2011 at 10:29 AM, Brian West <brian@freeswitch.org> wrote:
I think he wants BLF status of a lot on a key. That I don't think is there. /b On Jan 17, 2011, at 9:01 AM, Travis Kemen wrote:
BLF works fine here with valet parking using polycom/snom phones.
Travis
On Sun, Jan 16, 2011 at 6:15 PM, Spencer Thomason <spencer@5ninesolutions.com
wrote:
Hello all, Is it possible to use BLFs with valet parking? Basically I have several Linksys SPA 509G phones and after a call is parked, I'd like use use a speed dial/BLF key on the phone to pickup the call. I do have presence configured and working with the extensions.
Thanks, Spencer
_______________________________________________ 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
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_______________________________________________ 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