[OpenSIPS-Users] dlg_end_dlg in early state

Jan D. j-doedel at zonnet.nl
Sun Aug 19 16:22:52 CEST 2012


I want to remove some dialogs that keep behind in early state. So I look up
the dialog:

opensipsctl fifo dlg_list
dialog::  hash=398:1598398942
        state:: 2
        user_flags:: 2
        timestart:: 0
        timeout:: 0
        ....

And after this I try to end the dialog:

opensipsctl fifo dlg_end_dlg 398 1598398942

There is no (error) output but the dialog is not removed.

If I go to debug level:

DBG:dialog:mi_terminate_dlg: h_entry 4059 h_id 1997122598
DBG:dialog:lookup_dlg: ref dlg 0x7fb6166a0690 with 1 -> 3
DBG:dialog:lookup_dlg: dialog id=1997122598 found on entry 4059
DBG:dialog:dlg_end_dlg: cannot terminate a dialog in EARLY or UNCONFIRMED
state
DBG:dialog:unref_dlg: unref dlg 0x7fb6166a0690 with 1 -> 2
DBG:mi_fifo:mi_parse_node: end of input tree
DBG:mi_fifo:mi_fifo_server: done parsing the mi tree
DBG:dialog:internal_mi_print_dlgs: printing 0 dialogs, idx=0, cnt=0

In fact an error would be expected (cannot terminate a dialog in EARLY or
UNCONFIRMED state), but it would be nicer if we can remove the early dialogs
too?

Any ideas how to fix this?

gr.

Jan



--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/dlg-end-dlg-in-early-state-tp7581297.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list