[OpenSIPS-Users] Proxy, presence and x-lite

Alexander goal81 at gmail.com
Mon Apr 13 16:03:02 CEST 2009


  Thank you very much, it works now :)

  Also I've switched to mysql from berkeley - it seems there're some bugs in
berkeley db engine.

2009/4/13 Anca Vamanu <anca at opensips.org>

> Hi Alexander,
>
> I have looked through your configuration file and there is a big mess in
> there in the presence part :).
> Please read the presence tutorial from opensips site:
> http://www.opensips.org/index.php?n=Resources.PresenceServer. Since you
> say that you use xlite it means that you don't need support for privacy
> rules, so no xcap server. The configuration that matches your need is the
> one described at point 1 in the Configuration section. The presence part
> from your configuration file should resemble the one from this example:
> http://www.opensips.org/index.php?n=Resources.SimplePresConfig. <
> http://www.opensips.org/index.php?n=Resources.SimplePresConfig>
> To give you also some indications of what is wrong now:
> - you should set the force_active parameter in presence_xml module to 1 (
> now you set it twice, once to 1 and later to 0)
> - you don't need xcap_client module
> - it's useless to set integrated_xcap_server and xcap_table parameters in
> presence_xml module ( you shouldn't have nothing related to xcap in your
> configuration file)
>
> I noticed that you have set all the parameters for the modules, some to
> their default value. There is probably something that you don't know: in the
> modules documentation if a default value is mentioned for a parameter it
> means that the parameter already has that value, and that you should set it
> only if you what to change it.
>
> As for xlite, you have to configure it to use Presence Agent operation
> mode.
>
> regards,
> Anca
>
>
>
> Alexander wrote:
>
>>  Hi all!
>>
>>  I'm trying to make Opensips 1.4.4 work as proxy and presence server.
>> Proxy, with NAT support, seems to work - calls are redirected, voice is
>> transmitted in both directions.
>> Now I try to configure presence - it would be nice, if X-Lite shows user's
>> availability and status. So, I've got 2 questions:
>>  1) What options regarding to presence should be configured in X-Lite
>> (Peer-to-peer, Presence agent)?
>>  2) What's wrong and/or missing in my OpenSips configuration file?
>>
>>  As I see from logs, SUBSCRIBE, PUBLISH and NOTIFY messages are received
>> by OpenSips, but X-Lite does not show user's availability/status.
>>
>>  My OpenSips configuration file is attached to this messages. Note, that
>> authorization is done via db_oracle, and in presence module I try to use
>> db_berkeley. It's done due
>> to some reasons.
>>
>>  Thanks in advance!
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090413/592d385b/attachment-0001.htm 


More information about the Users mailing list