[SR-Users] How to send "bye" to caller when callee abruptly terminates (Connection reset by peer)

Pranathi Venkatayogi pvenkatayogi at cyracom.com
Thu Dec 21 20:53:27 CET 2017


Hi,
  Currently when callee abruptly closes the connection (TCP RST), Kamailio does not send “BYE” to the caller. Caller is left to believe that he is talking to the callee.
  What is best way to solve this?

  I have attempted using tcpops module to track connection RSTs and then send $dlg_bye in event_route[tcp:reset] .
  In the event_route, I can access only these - $conid , $Ri , $Rp , $si , $sp and $proto variable and do not know how to get to the dlg this connection belongs.

  Questions: How do I load the dialog associated with this conid? Is there a way to enumerate all dialogs?

Thanks in advance,
Pranathi.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171221/6f5a8678/attachment.html>


More information about the sr-users mailing list