Problem with presence configuration

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with presence configuration

bay2x1
I have integrated the code from the openxcap wiki for the opensips.cfg file.  When I start opensips there is no presence request being processed by the configuration, there is no error generated on the system logs both opensips and openxcap are running.
Reply | Threaded
Open this post in threaded view
|

Re: Problem with presence configuration

Bogdan-Andrei Iancu
But do you have any SIP presence related requests going to your server?

Regards,
Bogdan

bay2x1 wrote:
> I have integrated the code from the openxcap wiki for the opensips.cfg file.  When I start opensips there is no presence request being processed by the configuration, there is no error generated on the system logs both opensips and openxcap are running.
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Problem with presence configuration

bay2x1
Using ngrep tool I was able to determine that there is no SIP presence related request going to my server.  I was thinking that PUBLISH and SUBSCRIBE request are automatically generated upon registration of a client am I correct?


Bogdan-Andrei Iancu wrote
But do you have any SIP presence related requests going to your server?

Regards,
Bogdan

bay2x1 wrote:
> I have integrated the code from the openxcap wiki for the opensips.cfg file.  When I start opensips there is no presence request being processed by the configuration, there is no error generated on the system logs both opensips and openxcap are running.
>  


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Problem with presence configuration

Iñaki Baz Castillo
El Sábado, 25 de Abril de 2009, bay2x1 escribió:
> I was thinking that PUBLISH and
> SUBSCRIBE request are automatically generated upon registration of a client
> am I correct?

No, totally no.

--
Iñaki Baz Castillo <[hidden email]>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Problem with presence configuration

bay2x1
Can you please elaborate further regarding how SUBSCRIBE and PUBLISH are generated.  I have tried using the sample code in the opensips documentation (http://opensips.org/index.php?n=Resources.OpenxcapPresConfig) but I still don't see any SIP presence related request.  I have tested the openxcap using the test.py and it has no problem.


Iñaki Baz Castillo wrote
El Sábado, 25 de Abril de 2009, bay2x1 escribió:
> I was thinking that PUBLISH and
> SUBSCRIBE request are automatically generated upon registration of a client
> am I correct?

No, totally no.

--
Iñaki Baz Castillo <ibc@aliax.net>

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Problem with presence configuration

Iñaki Baz Castillo
2009/4/27 bay2x1 <[hidden email]>:
>
> Can you please elaborate further regarding how SUBSCRIBE and PUBLISH are
> generated.  I have tried using the sample code in the opensips documentation
> (http://opensips.org/index.php?n=Resources.OpenxcapPresConfig) but I still
> don't see any SIP presence related request.  I have tested the openxcap
> using the test.py and it has no problem.

SUBSCRIBE is not generated by a proxy or server. SUBSCRIBE is sent by
users/phones wanting to subscribe to the presence of other user.
PUBLISH can be generated by an user/phone ("Hi, I'm online now!") or
by a presence user agent (i.e.: pua_usrloc module in OpenSIPS).

But sincerelly, I can't understand how you want to get OpenXCAP
running if you have no idea of how SIP/SIMPLE presence works. Before
trying to run such a complex scenario with rich presence and so, you
must read the RFC's about SIP presence (look for SIP SIMPLE RFC's in
Google). When you understand them, you can look into OpenSIPS/OpenXCAP
documentation to know how they implement these specifications. If not,
you will remain asking strange questions about all these subjects
(i.e.:  "I was thinking that PUBLISH and SUBSCRIBE request are
automatically generated upon registration of a client, am I
correct?").

Sorry, but first of all: read read read. And don't look for "magic
howto's" in Google, just read the specifications.


--
Iñaki Baz Castillo
<[hidden email]>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users