Hello,

This feature is only available in OpenSIPS 1.8, so if you want to terminate early dialogs, you need to update your OpenSIPS.
See [1] .

[1] http://www.opensips.org/Main/Ver180#toc20

Regards

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com


On 08/19/2012 05:22 PM, Jan D. wrote:
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.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to