Hi,
Thanks for your feedback.
This is my conf:
softphone <----> Kamailio <------>
Asterisk <----------> 2 DeskPhones ( user100 and user101)
- softphone sends Register to Kamailio which sends it to Asterisk. Everythin is OK.
- softphone sends Subscribe to Kamailio to see user100 and
user101presence. (BLF keys on softphone)
- asterisk sends publishes to Kamailio when user100 and user101
try to call together
- Kamailio well receives the publish requests
- the first time that call between user100 and user101, the BLF
keys are OK on softphone.
- for the following calls, for example, if user100 calls user101,
only the user101 state changes on BLF keys on softphone
- idem if user101 calls user100, only user100 key on softphone
changes state
- if we wait for expiration time of publish request, the first call is OK.
It seems that the db table "presentity" is not flushed or updated
Any help, please
|
Ludovic,
Can you please describe a bit more on your scheme?It's really not clear to me what means 1st call, 2nd call and how the scheme os overall looking.And some logs/packets would be also helpful.
Le mar. 4 mars 2025 à 18:02, Ludovic GRANGE via sr-users <sr-users@lists.kamailio.org> a écrit :
__________________________________________________________Hi,
I'm having a problem managing the presence between Kamailio and Asterisk.
I have configured Kamailio as a presence server.
Asterisk sends presence information via publishing sip request.
My softphone which uses Kamailio as a presence server and as a proxy has 2 BLFs configured.
On a first call, the presence status is displayed on the 2 keys. But for the 2nd call, only the extension receiving the call has its status changed on the BLF.
Via sngrep, the Publishing requests arrive on Kamailio but the DB is not updated because the e-tag does not match.
If I wait until the end of the expiry period (60s for the test), the DB is flushed and the 1st call works again.
Could you please help me?
Thank you
Translated with DeepL.com (free version)
--
Bien cordialement,
Ludovic Grange
Administrateur systèmes & réseaux
ludovic.grange@prosoluce.fr
05 31 61 62 25
www.prosoluce.fr
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
--
Best regards,Ihor (Igor)
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!