We’re using the siptrace module today to mirror traffic using HEP. But I see 
value in having the possibility to dump sip to a local file as well.

Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: David Villasmil <[email protected]>
Sent: Friday, May 8, 2026 10:11:41 PM
To: Kamailio (SER) - Users Mailing List <[email protected]>
Cc: zhaobin <[email protected]>; Martin Nyström <[email protected]>
Subject: Re: [SR-Users] Re: add sip messages to kamailio log


CAUTION: This email originated from outside the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


Have you looked at homer?

Regards,

David Villasmil
email: [email protected]<mailto:[email protected]>



On Fri, May 8, 2026 at 5:27 PM Martin Nyström via sr-users 
<[email protected]<mailto:[email protected]>> wrote:
Replying to myself I just realised there is a sipdump module that could be used 
for this exact scenario, right?



/M
From: Martin Nyström 
<[email protected]<mailto:[email protected]>>
Date: Friday, 8 May 2026 at 16:41
To: Kamailio (SER) - Users Mailing List 
<[email protected]<mailto:[email protected]>>
Cc: zhaobin <[email protected]<mailto:[email protected]>>; Yuriy G 
<[email protected]<mailto:[email protected]>>
Subject: Re: [SR-Users] Re: add sip messages to kamailio log

I am also curious on this topic, if there is another way than $mb which can be 
quite tedious to get right since you have to add it not only to route {} but 
also request_route, reply_route etc.

It would be nice if there was something similar to sip_trace that captures and 
logs all messages.



/M
From: Yuriy G via sr-users 
<[email protected]<mailto:[email protected]>>
Date: Friday, 8 May 2026 at 13:50
To: Kamailio (SER) - Users Mailing List 
<[email protected]<mailto:[email protected]>>
Cc: zhaobin <[email protected]<mailto:[email protected]>>; Yuriy G 
<[email protected]<mailto:[email protected]>>
Subject: [SR-Users] Re: add sip messages to kamailio log


CAUTION: This email originated from outside the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


doesn't $mb variable works for you?

you can call it like:

xinfo("Message received $mb\n");

пт, 8 мая 2026 г. в 12:36, zhaobin via sr-users 
<[email protected]<mailto:[email protected]>>:
Hi:
   I want add sip messages to kamailio log,for example sip INVITE.
   If kamailio have some config option can do this,or some modules can
same.Thank you.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]<mailto:[email protected]>
To unsubscribe send an email to 
[email protected]<mailto:[email protected]>
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]<mailto:[email protected]>
To unsubscribe send an email to 
[email protected]<mailto:[email protected]>
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to