Hello,
For somebody else that would reach here with the same issues, one of the problem was that Kamailio does not accept its own messages coming on the loopback interface (strange, no ?).
The solution is described in the post bellow.
https://lists.kamailio.org/pipermail/sr-users/2015-September/089879.html
Cheers,
Adrian
From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Adrian Tabacioiu
Sent: Wednesday, December 2, 2020 11:23 AM
To: 'Henning Westerholt' <hw@skalatan.de>; 'Kamailio (SER) - Users Mailing List' <sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] REGINFO events not sending
Hello Henning,
I receive presence notifications are working, I activated presence using “WITH_PRESENCE” define.
Is there anything else I should do for reginfo ?
On the internet I don’t find other examples than smsops project which seams very particular, and documentation is very thin.
Thanks,
Adrian
From: Henning Westerholt <hw@skalatan.de>
Sent: Friday, November 27, 2020 9:58 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Cc: Adrian Tabacioiu <adi.tabacioiu@c-s.ro>
Subject: RE: [SR-Users] REGINFO events not sending
Hello Adrian,
are you also doing the usual presence stuff in your config, e.g. handling subscriptions of the users?
The module documentation not much extensive, I would suggest to search for some examples how to use it. There might be also something in the kamailio repository or can be found on the net.
Cheers,
Henning
From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Adrian Tabacioiu
Sent: Thursday, November 26, 2020 12:16 PM
To: 'Kamailio (SER) - Users Mailing List' <sr-users@lists.kamailio.org>
Subject: [SR-Users] REGINFO events not sending
Hello,
Does anybody has used with success the reginfo modules ?
I added lines bellow in configuration, and tried different variations,
Even if my subscribe for “reginfo” events is accepted (with 202 OK), I receive no notification when respective user registers.
Nor do I get the xml body in the first notification.
Added in my config:
loadmodule "presence_reginfo.so"
loadmodule "pua_reginfo.so"
modparam("pua_reginfo", "default_domain", "192.168.60.65")
modparam("pua_reginfo", "server_address", "sip:reginfo@192.168.60.65")
modparam("pua_reginfo", "publish_reginfo", 1)
Thank you in advance,
Adrian