Hello,

I disable the rr module and only use SIP elements for dialog match
modparam("dialog", "dlg_match_mode", 2)

Upon receipt of a BYE request, the request is correctly forwarded and the call ended but the dialog still exists with ref_count = 2
kamctl fifo dlg_list
dialog::  hash=731:5167
    state:: 3
    ref_count:: 2
    timestart:: 1394625569
    timeout:: 29082806
    callid:: 77dd7249530067080de983411e94569c@10.100.8.12:5060
    from_uri:: sip:10.100.8.12:5060
    from_tag:: as03e52e3f
    caller_contact:: sip:10.100.8.12:5060
    caller_cseq:: 102
    caller_route_set::
    caller_bind_addr:: udp:10.100.8.94:5060
    callee_bind_addr:: udp:10.100.8.94:5060
 
Do you have any idea ? Should I remove manually the dialog using a module function?

Thanks for your help

Best regards,