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.