Discussion:
[SR-Users] SCA and PRESENCE
Joel White
2014-07-08 16:26:25 UTC
Permalink
I am having an issue where I enable presence modules and the SCA module
stops working. I disable presence and SCA works fine on Polycom phones.
Does anyone know what I am missing or doing wrong?


Thank you in advance

Joel
João Vitor Arruda
2014-07-10 11:28:35 UTC
Permalink
Hi Joel,

When you say: "I enable presence modules" what you mean?
Other than loading the module itself you may have included some code in
kamailio.cfg using to handle the SUBSCRIBE messages for presence right?

Without knowing your config, one thing that crossed my mind is:
- Since both SCA and PRESENCE modules need to handle SUBSCRIBE messages
you need to be sure that you do it first using the SCA function
"sca_handle_subscribe()"
just for the ones with Event header == "call-info" or == "line-seize".
Then, for all the other SUBSCRIBE messages you can use the PRESENCE module
function.

There is an example of the code for filtering the ones to be handled by the
SCA module function here:
http://www.kamailio.org/docs/modules/devel/modules/sca.html#idp27944

You too mention that the SCA works fine on your Polycom phones, since IÂŽm
too trying to use it but having some issues, I will appreciate if you can
share (either here or by pvt message) some info like: which Polycom phone
models and firmware version you are using.

Regards,
João Vitor Arruda
Post by Joel White
I am having an issue where I enable presence modules and the SCA module
stops working. I disable presence and SCA works fine on Polycom phones.
Does anyone know what I am missing or doing wrong?
Thank you in advance
Joel
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Joel White
2014-07-14 19:57:19 UTC
Permalink
I am enabling what was in the default config for WITH_PRESENCE

When I enable WITH_PRESENCE, the Polycom phones do not show BLF

Sure, I am using SPIP 335, SPIP 601 and 650, as well as VVX 1500 and SPIP
5000

For the 601 I am running Legacy firmware 3.1.8 combined with a Bootrom of
3.1.3 rev D

For the 335, 650, and 5000 I am running firmware version 3.2.6 Combined .
I believe the Bootrom is 4.2.0

I have not started to work on auto provisioning with the VVX 1500 and have
been manually configuring them. I believe that they will work with the
3.2.6 firmware as well although I have seen many using 4.0.3 firmware with
the newer VVX models



Ask me anything and I will try to help :)
Post by João Vitor Arruda
Hi Joel,
When you say: "I enable presence modules" what you mean?
Other than loading the module itself you may have included some code in
kamailio.cfg using to handle the SUBSCRIBE messages for presence right?
- Since both SCA and PRESENCE modules need to handle SUBSCRIBE messages
you need to be sure that you do it first using the SCA function "sca_handle_subscribe()"
just for the ones with Event header == "call-info" or == "line-seize".
Then, for all the other SUBSCRIBE messages you can use the PRESENCE
module function.
There is an example of the code for filtering the ones to be handled by
http://www.kamailio.org/docs/modules/devel/modules/sca.html#idp27944
You too mention that the SCA works fine on your Polycom phones, since IÂŽm
too trying to use it but having some issues, I will appreciate if you can
share (either here or by pvt message) some info like: which Polycom phone
models and firmware version you are using.
Regards,
João Vitor Arruda
Post by Joel White
I am having an issue where I enable presence modules and the SCA module
stops working. I disable presence and SCA works fine on Polycom phones.
Does anyone know what I am missing or doing wrong?
Thank you in advance
Joel
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Jorj Bauer
2014-07-15 17:16:43 UTC
Permalink
Forgive me if this is daft - but what is your need for the Presence module?

It sounds like you're trying to enable two different technologies that do the same thing, since SCA already handles busy-lamps. I presume I'm just missing something.

-- Jorj
Post by Joel White
I am enabling what was in the default config for WITH_PRESENCE
When I enable WITH_PRESENCE, the Polycom phones do not show BLF
Sure, I am using SPIP 335, SPIP 601 and 650, as well as VVX 1500 and SPIP 5000
For the 601 I am running Legacy firmware 3.1.8 combined with a Bootrom of 3.1.3 rev D
For the 335, 650, and 5000 I am running firmware version 3.2.6 Combined . I believe the Bootrom is 4.2.0
I have not started to work on auto provisioning with the VVX 1500 and have been manually configuring them. I believe that they will work with the 3.2.6 firmware as well although I have seen many using 4.0.3 firmware with the newer VVX models
Ask me anything and I will try to help :)
Hi Joel,
When you say: "I enable presence modules" what you mean?
Other than loading the module itself you may have included some code in kamailio.cfg using to handle the SUBSCRIBE messages for presence right?
- Since both SCA and PRESENCE modules need to handle SUBSCRIBE messages you need to be sure that you do it first using the SCA function "sca_handle_subscribe()" just for the ones with Event header == "call-info" or == "line-seize". Then, for all the other SUBSCRIBE messages you can use the PRESENCE module function.
http://www.kamailio.org/docs/modules/devel/modules/sca.html#idp27944
You too mention that the SCA works fine on your Polycom phones, since I´m too trying to use it but having some issues, I will appreciate if you can share (either here or by pvt message) some info like: which Polycom phone models and firmware version you are using.
Regards,
João Vitor Arruda
I am having an issue where I enable presence modules and the SCA module stops working. I disable presence and SCA works fine on Polycom phones. Does anyone know what I am missing or doing wrong?
Thank you in advance
Joel
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Loading...