SIP message logging

49 views
Skip to first unread message

Maximilian Corbach

unread,
May 23, 2021, 1:46:16 PMMay 23
to JsSIP
Hi,

is there a way to log SIP directly? I want to create and Boostrap Widget where the call flow is displayed. 

Therefore I like to include all SIP Message, but there are no Event which return ACK, BYE or CANCEL Method. 

Im currently trying with these:

const eventHandlers = {
'progress': function(data){ console.log('eventHandlers', data) },
'accepted': function(data){ console.log('eventHandlers', data) },
'failed': function(data){ console.log('eventHandlers', data) },
'confirmed': function(data){ console.log('eventHandlers', data) },
'ended': function(data){ console.log('eventHandlers', data) }
};

But as mentioned the Call Flow is incomplet.

BR Max

José Luis Millán

unread,
May 25, 2021, 2:52:57 AMMay 25
to js...@googlegroups.com
Hi,

You can provide JsSIP a specific Socket implementation conforming the Socket[*] interface. Within such socket implementation you have full control on what's coming from the socket and being sent into it.


--
You received this message because you are subscribed to the Google Groups "JsSIP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jssip+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jssip/dbd8d7b0-c875-4109-ba22-f7a33e610db4n%40googlegroups.com.


--
José Luis Millán

Maximilian Corbach

unread,
Oct 29, 2021, 5:35:51 AMOct 29
to JsSIP
Dear José,

thanks for the feedback, how can I achieve this?

Any additional hints would be much appreciated.

BR Max

Iñaki Baz Castillo

unread,
Oct 29, 2021, 6:03:28 AMOct 29
to js...@googlegroups.com
Just follow what Jose said.

--
Iñaki Baz Castillo
<i...@aliax.net>
Reply all
Reply to author
Forward
0 new messages