Using Presence with Valet Parking
Hello, I noticed there have been some recent improvements to mod_valet_parking regarding presence. I was wondering if anyone had used this already and could shed some light on how to subscribe to the status of a particular slot. I'm testing this with a Cisco SPA-509G and can't seem to get it working. My dialplan looks like this: <extension name="parking_slots"> <condition field="destination_number" expression="^(7[1-4])$" break="on-false"> <action application="answer"/> <action application="valet_park" data="parking_slots $1"/> </condition> </extension> The phone is sending a SUBSCRIBE to park+71@<DOMAIN> and gets a 202 Accepted response. I do have presence configured and working correctly for user extensions. When a call is transferred to 71, the parking works as expected but a NOTIFY is never sent to the phone. What am I missing? Thanks for any help! Spencer
make sure DOMAIN is the default domain set in vars.xml otherwise name the lot with @domain.com right in it. Also make sure its the most recent rev of the mod. On Sun, Oct 30, 2011 at 9:44 PM, Spencer Thomason < spencer@5ninesolutions.com> wrote:
Hello, I noticed there have been some recent improvements to mod_valet_parking regarding presence. I was wondering if anyone had used this already and could shed some light on how to subscribe to the status of a particular slot. I'm testing this with a Cisco SPA-509G and can't seem to get it working. My dialplan looks like this:
<extension name="parking_slots"> <condition field="destination_number" expression="^(7[1-4])$" break="on-false"> <action application="answer"/> <action application="valet_park" data="parking_slots $1"/> </condition> </extension>
The phone is sending a SUBSCRIBE to park+71@<DOMAIN> and gets a 202 Accepted response.
I do have presence configured and working correctly for user extensions. When a call is transferred to 71, the parking works as expected but a NOTIFY is never sent to the phone. What am I missing?
Thanks for any help!
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
-- 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
Hi Anthony, Thanks for your help! This is working great very well now. Spencer On Oct 31, 2011, at 8:03 AM, Anthony Minessale wrote:
make sure DOMAIN is the default domain set in vars.xml otherwise name the lot with @domain.com right in it. Also make sure its the most recent rev of the mod.
On Sun, Oct 30, 2011 at 9:44 PM, Spencer Thomason <spencer@5ninesolutions.com> wrote: Hello, I noticed there have been some recent improvements to mod_valet_parking regarding presence. I was wondering if anyone had used this already and could shed some light on how to subscribe to the status of a particular slot. I'm testing this with a Cisco SPA-509G and can't seem to get it working. My dialplan looks like this:
<extension name="parking_slots"> <condition field="destination_number" expression="^(7[1-4])$" break="on-false"> <action application="answer"/> <action application="valet_park" data="parking_slots $1"/> </condition> </extension>
The phone is sending a SUBSCRIBE to park+71@<DOMAIN> and gets a 202 Accepted response.
I do have presence configured and working correctly for user extensions. When a call is transferred to 71, the parking works as expected but a NOTIFY is never sent to the phone. What am I missing?
Thanks for any help!
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
-- 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
Would you mind paying the wiki tax and writing up your scenario and posting a sample config? You can starting adding content on this page, since it needs some love anyway: http://wiki.freeswitch.org/wiki/Mod_valet_park Thanks, MC On Mon, Oct 31, 2011 at 1:13 PM, Spencer Thomason < spencer@5ninesolutions.com> wrote:
Hi Anthony, Thanks for your help! This is working great very well now.
Spencer
On Oct 31, 2011, at 8:03 AM, Anthony Minessale wrote:
make sure DOMAIN is the default domain set in vars.xml otherwise name the lot with @domain.com right in it. Also make sure its the most recent rev of the mod.
On Sun, Oct 30, 2011 at 9:44 PM, Spencer Thomason < spencer@5ninesolutions.com> wrote:
Hello, I noticed there have been some recent improvements to mod_valet_parking regarding presence. I was wondering if anyone had used this already and could shed some light on how to subscribe to the status of a particular slot. I'm testing this with a Cisco SPA-509G and can't seem to get it working. My dialplan looks like this:
<extension name="parking_slots"> <condition field="destination_number" expression="^(7[1-4])$" break="on-false"> <action application="answer"/> <action application="valet_park" data="parking_slots $1"/> </condition> </extension>
The phone is sending a SUBSCRIBE to park+71@<DOMAIN> and gets a 202 Accepted response.
I do have presence configured and working correctly for user extensions. When a call is transferred to 71, the parking works as expected but a NOTIFY is never sent to the phone. What am I missing?
Thanks for any help!
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
-- 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
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
Absolutely. On Oct 31, 2011, at 1:17 PM, Michael Collins wrote:
Would you mind paying the wiki tax and writing up your scenario and posting a sample config? You can starting adding content on this page, since it needs some love anyway:
http://wiki.freeswitch.org/wiki/Mod_valet_park
Thanks, MC
On Mon, Oct 31, 2011 at 1:13 PM, Spencer Thomason <spencer@5ninesolutions.com> wrote: Hi Anthony, Thanks for your help! This is working great very well now.
Spencer
On Oct 31, 2011, at 8:03 AM, Anthony Minessale wrote:
make sure DOMAIN is the default domain set in vars.xml otherwise name the lot with @domain.com right in it. Also make sure its the most recent rev of the mod.
On Sun, Oct 30, 2011 at 9:44 PM, Spencer Thomason <spencer@5ninesolutions.com> wrote: Hello, I noticed there have been some recent improvements to mod_valet_parking regarding presence. I was wondering if anyone had used this already and could shed some light on how to subscribe to the status of a particular slot. I'm testing this with a Cisco SPA-509G and can't seem to get it working. My dialplan looks like this:
<extension name="parking_slots"> <condition field="destination_number" expression="^(7[1-4])$" break="on-false"> <action application="answer"/> <action application="valet_park" data="parking_slots $1"/> </condition> </extension>
The phone is sending a SUBSCRIBE to park+71@<DOMAIN> and gets a 202 Accepted response.
I do have presence configured and working correctly for user extensions. When a call is transferred to 71, the parking works as expected but a NOTIFY is never sent to the phone. What am I missing?
Thanks for any help!
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
-- 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
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
participants (3)
-
Anthony Minessale
-
Michael Collins
-
Spencer Thomason