[Freeswitch-users] How to use alternate presence id for a fifo queue?
Tim St. Pierre
fs-list at communicatefreely.net
Fri Apr 20 20:04:56 MSD 2012
I'm also using the Aastra phones, and I had to use the presence map to
make things work.
proto="queue" is correct.
My regex is a bit different, as my parking slots have slightly different
naming conventions, but it works.
You may want to look at the subscriptions to make sure the domains
match. Are you using ODBC for sofia? If so, you can look in the
sip_subscriptions table and see the domain that was subscribed to. That
domain has to be the same as the domain you use in the presence map.
Also in your sofia profile, there is an option to force subscription
domain. Are you using that? You don't have to if the domains match.
With the Aastra phones, the domain used in the subscribe and also in
invites is whatever you put in sip proxy and sip registrar (still
haven't figured out which is which). Are you using your SIP domain, or
an IP address? If you are using an IP address, make the proxy and
registrar fields the SIP domain, and put the IP address and port in the
outbound proxy section.
Hope that's helpful.
-Tim
Travis Langhals wrote:
> I added <param name="presence-proto-lookup" value="true"/> to my sip
> interface config and modified presence_map.conf.xml as follows but
> still no luck. I tried proto="queue", proto="queue+", proto="fifo"
> and restarted freeswitch between each test. My fifos are named
> park_slot1, park_slot2, etc.
>
> <configuration name="presence_map.conf" description="PRESENCE MAP">
> <domains>
> <domain name="$${domain}">
> <exten regex="park_slot\d+" proto="queue"/>
> </domain>
> </domains>
> </configuration>
>
>
> On Thu, Apr 19, 2012 at 7:24 PM, Anthony Minessale
> <anthony.minessale at gmail.com <mailto:anthony.minessale at gmail.com>> wrote:
>
> look in tree for the installed presence_map.conf.xml
>
>
> its a series of ext range regex vs protos
>
>
> you must also set the sofia profile param presence-proto-lookup to
> true
>
>
>
> On Thu, Apr 19, 2012 at 4:00 PM, Travis Langhals
> <tlanghals at gmail.com <mailto:tlanghals at gmail.com>> wrote:
> > I've setup a fifo park queue based off the example at
> > http://wiki.freeswitch.org/wiki/Park_%26_Retrieve and am trying
> to use the
> > Aastra BLF/Xfer key to interface with it. The parking fifo
> queue works
> > great but I have to use two keys, one for BLF to subscribe to
> > queue+<fifo_name> and another for speed dial/tranfer to <fifo_name>.
> >
> > Is there any way to remove the need to have the queue+ prefix
> needed to
> > subscribe to the fifo presence so that I can just use a single
> BLF/Xfer key
> > point to <fifo_name>?
> >
> > I found this thread that mentions using the map proto feature to
> eliminate
> > the need for the prefix but cannot find anything information
> relating to
> > such a feature.
> >
> http://jira.freeswitch.org/browse/FS-2831?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
> >
> >
> _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org <mailto: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
> <mailto: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
> >
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> <mailto:MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> <mailto:sip%3A888 at conference.freeswitch.org>
> googletalk:conf+888 at conference.freeswitch.org
> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:+19193869900 <tel:%2B19193869900>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto: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
> <mailto: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
>
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list