[Freeswitch-users] How to use alternate presence id for a fifo queue?

Travis Langhals tlanghals at gmail.com
Sat Apr 21 04:33:02 MSD 2012


Now I'm really confused, it's all of a sudden working with my original
config posted.  But further I tried to break it by changing the extension
map regex and restarting everything yet it still works????  Is the non odbc
presence info saved somewhere?

On Fri, Apr 20, 2012 at 12:38 PM, Travis Langhals <tlanghals at gmail.com>wrote:

> I'm using the server IP address for the domain in all configuration at
> this point and the BLF does work correctly when I set the key value to
> queue+park_slot1 but does not work when I set the value to park_slot1 so
> doesn't seem like it would be a domain issue.  I'm currently not using ODBC
> for presence or the force domain option, is ODBC required?  All
> configuration in the Aastra uses the IP address
>
> I'll try changing domain=* and see if it makes a difference.  I think my
> regex should be fine <exten regex="park_slot\d+" proto="queue"/> would
> match park_slot1
>
> Do you mind copying a piece of your presence_map.conf.xml config for
> comparison?
>
> Thanks for the assistance.
>
>
> On Fri, Apr 20, 2012 at 11:20 AM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> You might want to stick with the domain=* unless you know the hosts in
>> your sip packet match the $${domain} for sure.
>> it's "queue" for fifo and you need to make sure the regex matches any
>> extensions in question that you are subscribing to.
>>
>> On Fri, Apr 20, 2012 at 11:04 AM, Tim St. Pierre
>> <fs-list at communicatefreely.net> wrote:
>> > 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
>> >>
>> >
>> >
>> >
>> _________________________________________________________________________
>> > 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
>>
>>
>>
>> --
>> 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
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>> _________________________________________________________________________
>> 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/20120420/91e1169b/attachment-0001.html 


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