[Freeswitch-users] sip_presence Table

Gerald Weber gerald.weber at besharp.at
Mon Oct 15 12:16:48 MSD 2012


Hi all,

playing around with the sip presence feature, i noticed that the sip_presence table in share_presence.db is always empty.

I've set the following parameters in my internal.xml :
<param name="manage-presence" value="true"/>
<param name="send-presence-on-register" value="true"/>
<param name="presence-probe-on-register" value="true"/>
<param name="presence-proto-lookup" value="true"/>
<param name="manage-shared-appearance" value="true"/>
<param name="dbname" value="share_presence"/>
<param name="presence-hosts" value="$${domain}"/>
<param name="force-register-domain" value="$${domain}"/>
<param name="force-register-db-domain" value="$${domain}"/>

My dialplan contains:

    <extension name="dw2xxx">
     <condition field="destination_number" expression="^(200[0-9])$">
        <action application="set" data="presence_id=$1@$${domain}"/>
        <action application="export" data="dialed_extension=$1"/>
        <action application="bridge" data="user/${dialed_extension}@${domain_name}"/>
     </condition>
    </extension>


When i make a call from 2001 to 2000, i see 2 rows in sip_dialogs. So i think presence is basically working.

But whats the purpose of sip_presence ?

Where, for example, does a
"presence in 2000 at 192.168.20.73  away Away" go ?
would i see this in any table ?

thanks&regards,
gw


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121015/ccd159d3/attachment-0001.html 


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