Hi all,

I have a script that cleans up hanging dialog and for some reason, executing 'kamcmd dlg.end_dlg' does not seem to work.  Below I log events of stuck calls and as you can see it just keeps logging the same call until I manually run the kamcmd either in bash shell prompt or in kamcmd cli:

2021-03-08T19:00:04.347807+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:00:04 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:01:02.531822+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:01:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:02:02.689823+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:02:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:03:02.044960+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:03:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:04:02.436588+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:04:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:05:02.685572+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:05:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:06:02.775561+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:06:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:07:01.867021+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:07:01 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:08:01.888512+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:08:01 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:09:02.146887+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:09:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:10:02.649627+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:10:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:11:01.904948+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:11:01 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:12:01.932267+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:12:01 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:13:02.428128+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:13:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:14:02.617683+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:14:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:15:01.863099+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:15:01 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:16:01.650299+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:16:01 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:17:02.338576+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:17:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:18:01.743163+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:18:01 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:19:02.257369+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:19:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:20:01.624170+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:20:01 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul

2021-03-08T19:21:02.287343+00:00 sjointgkama51 /scripts/get-call-from-hepic.sh - get-call-from-hepic: Mon Mar 8 19:21:02 UTC 2021 Found active dialog on completed call. Delete call using h_entry: 1333 h_id: 11225 on SIP Call-ID 7j5r1msitcvg9siohoul


Thoughts?


Thanks!

--
Andy Chen
Sr. Telephony Lead Engineer



*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*