drachtio / drachtio-srf

drachtio signaling resource framework
https://drachtio.org
MIT License
168 stars 59 forks source link

Capture all SIP messages in SIP Dialogs #166

Closed miklinson closed 9 months ago

miklinson commented 10 months ago

Hi!

In drachtio-srf, is it possible to capture all SIP messages within the Dialog class, akin to the emitted events?

davehorton commented 10 months ago

Not really. For one thing, the sip messages that are captured in drachtio-srf are not complete replicas of what is sent by drachtio server. For another, this seems like a bit of complexity that may impact performance, which is the overriding goal. What is the use case you are looking at?

miklinson commented 10 months ago

Thanks for clarifying it @davehorton. We want to have an extra source of information regarding the SIP messages in NodeJS log level to have a quick visibility. Although we already have a monitoring in place for SIP messages.