[SR-Users] RFC 3860 support - Kamailio is sending SUBSCRIBE back with extra Via header

Henning Westerholt hw at skalatan.de
Thu Aug 15 08:10:35 CEST 2019

Hi Praveen,

great that you found it. About the network - make sure that the server is listen to the correct network as well. You can check e.g. with kamcmd "corex.list_sockets"



Am 15.08.19 um 06:17 schrieb Praveen Vatti:
Thank you Henning. I was able to make the reg event work. Earlier, I confused between compiling and loading the modules. Thought that just compiling the module would make themselves available. Later, understood that we have to load them in .cfg file. By loading presence_reginfo module it started working.

Now the issue I am facing is like, my server is installed in network and not receiving packets from network. But the ping between these two networks is successful.


Get Outlook for Android<https://aka.ms/ghei36>

From: Henning Westerholt <hw at skalatan.de><mailto:hw at skalatan.de>
Sent: Thursday, August 15, 2019 12:46:27 AM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org><mailto:sr-users at lists.kamailio.org>; Praveen Vatti <praveen.vatti at adtran.com><mailto:praveen.vatti at adtran.com>
Subject: Re: [SR-Users] RFC 3860 support - Kamailio is sending SUBSCRIBE back with extra Via header

Hello Praveen,

according to the docs this might help you:

"This modules publishes information about "reg"-events according to to RFC 3680."




Am 12.08.19 um 21:45 schrieb Praveen Vatti:
Today I made some progress. Though, I didn’t achieve what I am looking for but able to get 202 Accepted and NOTIFY for “presence” event. For “reg” event 489 Bad event response is received.

What I can see in the 489 response is that Allow-Events header does not contain “reg”, it just has presence, xcap-diff, presence.winfo.

Below are the modules I have tried loaded:

  1.  Presence.so
  2.  Pua.so
  3.  Presence_reginfo.so
  4.  Presence_xml.so

Could you please help me in supporting “reg” event.


From: Praveen Vatti
Sent: 09 August 2019 20:12
To: sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
Subject: RFC 3860 support - Kamailio is sending SUBSCRIBE back with extra Via header

Hi Kamailio support,

Basically, I am looking for RFC3860 support – i.e., accept SUBSCRIBE for reg event and send 200OK, NOTIFY to client.
With some browsing on Internet I came across Kamailio, which is supporting RFC3860. I have installed and attached is my CFG file.

I am sending a SUBSCRIBE request with reg event to Kamailio and it is sending back the same request with extra Via header.
Via now contains Kamailio system IP and the source of SUBSCRIBE IP.

Please help me in resolving this issue.
I have loaded db_mysql, dialplan, tm, sl, presence, presence_reginfo modules.


Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>

Henning Westerholt - https://skalatan.de/blog/<https://protect-us.mimecast.com/s/QQH2Cwp7lqsL1KMrI9lj_W?domain=skalatan.de>
Kamailio services - https://skalatan.de/services<https://protect-us.mimecast.com/s/sS5bCxkLmrhJAk6NUwbI_8?domain=skalatan.de>

Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190815/e54431e9/attachment.html>

More information about the sr-users mailing list