Hi Daniel,<br>
<br>
so with no node failover in the ongoing call I've got this:<br>
```<br>
kamcmd> dlg.list<br>
{<br>
h_entry: 3696<br>
h_id: 3033<br>
ref: 3<br>
call-id: x64Qy6smfdCH8keXe7rx1gfzr5-NCKH.<br>
from_uri: sip:0409828030@proxy.alex.cloud.evox.it<br>
to_uri: sip:390409828030@proxy.alex.cloud.evox.it<br>
state: 4<br>
start_ts: 1523355019<br>
init_ts: 1523355019<br>
end_ts: 0<br>
timeout: 1523355206<br>
lifetime: 187<br>
dflags: 643<br>
sflags: 0<br>
iflags: 1<br>
caller: {<br>
tag: rDGJFCeM3IW7z3P3nR74R28Zk2QwddX-<br>
contact: sip:0409828030@172.16.21.38:55236;ob<br>
cseq: 10941<br>
route_set:<br>
<sip:172.22.2.37;lr=on;ftag=rDGJFCeM3IW7z3P3nR74R28Zk2QwddX-;did=07e.9b8><br>
socket: udp:172.22.2.36:5060<br>
}<br>
callee: {<br>
tag: as1cb15e8b<br>
contact: sip:39390409828030@172.16.201.101:5060<br>
cseq: 0<br>
route_set:<br>
<sip:172.22.2.37;lr=on;ftag=rDGJFCeM3IW7z3P3nR74R28Zk2QwddX-;did=07e.ab8><br>
socket: udp:172.22.2.36:5060<br>
}<br>
profiles: {<br>
}<br>
variables: {<br>
{<br>
ru: sip:39390409828030@carrier1.cloud.evox.it<br>
}<br>
{<br>
du: sip:172.22.2.37:5060<br>
}<br>
{<br>
cgrSupplier: carrier1.cloud.evox.it<br>
}<br>
{<br>
cgrSuppliers: carrier1.cloud.evox.it,carrier2.cloud.evox.it,<br>
carrier3.cloud.evox.it<br>
}<br>
{<br>
cgrCallip: 172.16.21.38<br>
}<br>
{<br>
cgrDestination: 39390409828030<br>
}<br>
{<br>
cgrAccount: 0409828030<br>
}<br>
{<br>
cgrTenant: evox.it<br>
}<br>
{<br>
cgrReqType: *prepaid<br>
}<br>
{<br>
calleeNumber: 39390409828030<br>
}<br>
{<br>
au: 0409828030<br>
}<br>
{<br>
authType: subscriber<br>
}<br>
{<br>
cgrSubsystems: "cgr_subsystems":"*resources;*suppliers;*accounts"<br>
}<br>
{<br>
originalSourceIP: 172.16.21.38<br>
}<br>
}<br>
}<br>
```<br>
<br>
Then after the call has ended this:<br>
```<br>
kamcmd> dlg.list<br>
{<br>
h_entry: 3696<br>
h_id: 3033<br>
ref: 1<br>
call-id: x64Qy6smfdCH8keXe7rx1gfzr5-NCKH.<br>
from_uri: sip:0409828030@proxy.alex.cloud.evox.it<br>
to_uri: sip:390409828030@proxy.alex.cloud.evox.it<br>
state: 5<br>
start_ts: 1523355019<br>
init_ts: 1523355019<br>
end_ts: 1523355025<br>
timeout: 0<br>
lifetime: 187<br>
dflags: 647<br>
sflags: 0<br>
iflags: 1<br>
caller: {<br>
tag: rDGJFCeM3IW7z3P3nR74R28Zk2QwddX-<br>
contact: sip:0409828030@172.16.21.38:55236;ob<br>
cseq: 10941<br>
route_set:<br>
<sip:172.22.2.37;lr=on;ftag=rDGJFCeM3IW7z3P3nR74R28Zk2QwddX-;did=07e.9b8><br>
socket: udp:172.22.2.36:5060<br>
}<br>
callee: {<br>
tag: as1cb15e8b<br>
contact: sip:39390409828030@172.16.201.101:5060<br>
cseq: 0<br>
route_set:<br>
<sip:172.22.2.37;lr=on;ftag=rDGJFCeM3IW7z3P3nR74R28Zk2QwddX-;did=07e.ab8><br>
socket: udp:172.22.2.36:5060<br>
}<br>
profiles: {<br>
}<br>
variables: {<br>
}<br>
}<br>
```<br>
The kamailio version is always 5.2.0~dev4+0~20180408010333.1091+xenial<br>
<br>
--<br>
Aleksandar Sošić<br>
alex.sosic(at)gmail<dot>com<br>
<br>
On Mon, Apr 9, 2018 at 2:13 PM, Daniel-Constantin Mierla <<br>
notifications@github.com> wrote:<br>
<br>
> Is it staying in state 4? Previously you added an example with state 5.<br>
> State 4 means that the call was not ended yet ... If you didn't grab the<br>
> rpc output for ended dialog, do it again, i need the ref count for state 5.<br>
><br>
> There is a cleanup timeout for the cases when something on top of dialog<br>
> is not dereferencing after ending the dialog, see end_timeout parameter.<br>
><br>
> —<br>
> You are receiving this because you were mentioned.<br>
> Reply to this email directly, view it on GitHub<br>
> <https://github.com/kamailio/kamailio/issues/1274#issuecomment-379730601>,<br>
> or mute the thread<br>
> <https://github.com/notifications/unsubscribe-auth/ABPxXmm7Tef5UdXXc8-EKt8jwvwcygYjks5tm1BWgaJpZM4QAl53><br>
> .<br>
><br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1274#issuecomment-380048349">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZVnkY_5otnENfL9XzF4ZxE7MNRhdks5tnIYdgaJpZM4QAl53">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZUbMvhPzZtM6AAy3dzHcmpgUx3zRks5tnIYdgaJpZM4QAl53.gif" height="1" width="1" alt="" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1274#issuecomment-380048349"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@alexsosic in #1274: Hi Daniel,\n\nso with no node failover in the ongoing call I've got this:\n```\nkamcmd\u003e dlg.list\n{\nh_entry: 3696\nh_id: 3033\nref: 3\ncall-id: x64Qy6smfdCH8keXe7rx1gfzr5-NCKH.\nfrom_uri: sip:0409828030@proxy.alex.cloud.evox.it\nto_uri: sip:390409828030@proxy.alex.cloud.evox.it\nstate: 4\nstart_ts: 1523355019\ninit_ts: 1523355019\nend_ts: 0\ntimeout: 1523355206\nlifetime: 187\ndflags: 643\nsflags: 0\niflags: 1\ncaller: {\ntag: rDGJFCeM3IW7z3P3nR74R28Zk2QwddX-\ncontact: sip:0409828030@172.16.21.38:55236;ob\ncseq: 10941\nroute_set:\n\u003csip:172.22.2.37;lr=on;ftag=rDGJFCeM3IW7z3P3nR74R28Zk2QwddX-;did=07e.9b8\u003e\nsocket: udp:172.22.2.36:5060\n}\ncallee: {\ntag: as1cb15e8b\ncontact: sip:39390409828030@172.16.201.101:5060\ncseq: 0\nroute_set:\n\u003csip:172.22.2.37;lr=on;ftag=rDGJFCeM3IW7z3P3nR74R28Zk2QwddX-;did=07e.ab8\u003e\nsocket: udp:172.22.2.36:5060\n}\nprofiles: {\n}\nvariables: {\n{\nru: sip:39390409828030@carrier1.cloud.evox.it\n}\n{\ndu: sip:172.22.2.37:5060\n}\n{\ncgrSupplier: carrier1.cloud.evox.it\n}\n{\ncgrSuppliers: carrier1.cloud.evox.it,carrier2.cloud.evox.it,\ncarrier3.cloud.evox.it\n}\n{\ncgrCallip: 172.16.21.38\n}\n{\ncgrDestination: 39390409828030\n}\n{\ncgrAccount: 0409828030\n}\n{\ncgrTenant: evox.it\n}\n{\ncgrReqType: *prepaid\n}\n{\ncalleeNumber: 39390409828030\n}\n{\nau: 0409828030\n}\n{\nauthType: subscriber\n}\n{\ncgrSubsystems: \"cgr_subsystems\":\"*resources;*suppliers;*accounts\"\n}\n{\noriginalSourceIP: 172.16.21.38\n}\n}\n}\n```\n\nThen after the call has ended this:\n```\nkamcmd\u003e dlg.list\n{\nh_entry: 3696\nh_id: 3033\nref: 1\ncall-id: x64Qy6smfdCH8keXe7rx1gfzr5-NCKH.\nfrom_uri: sip:0409828030@proxy.alex.cloud.evox.it\nto_uri: sip:390409828030@proxy.alex.cloud.evox.it\nstate: 5\nstart_ts: 1523355019\ninit_ts: 1523355019\nend_ts: 1523355025\ntimeout: 0\nlifetime: 187\ndflags: 647\nsflags: 0\niflags: 1\ncaller: {\ntag: rDGJFCeM3IW7z3P3nR74R28Zk2QwddX-\ncontact: sip:0409828030@172.16.21.38:55236;ob\ncseq: 10941\nroute_set:\n\u003csip:172.22.2.37;lr=on;ftag=rDGJFCeM3IW7z3P3nR74R28Zk2QwddX-;did=07e.9b8\u003e\nsocket: udp:172.22.2.36:5060\n}\ncallee: {\ntag: as1cb15e8b\ncontact: sip:39390409828030@172.16.201.101:5060\ncseq: 0\nroute_set:\n\u003csip:172.22.2.37;lr=on;ftag=rDGJFCeM3IW7z3P3nR74R28Zk2QwddX-;did=07e.ab8\u003e\nsocket: udp:172.22.2.36:5060\n}\nprofiles: {\n}\nvariables: {\n}\n}\n```\nThe kamailio version is always 5.2.0~dev4+0~20180408010333.1091+xenial\n\n--\nAleksandar Sošić\nalex.sosic(at)gmail\u003cdot\u003ecom\n\nOn Mon, Apr 9, 2018 at 2:13 PM, Daniel-Constantin Mierla \u003c\nnotifications@github.com\u003e wrote:\n\n\u003e Is it staying in state 4? Previously you added an example with state 5.\n\u003e State 4 means that the call was not ended yet ... If you didn't grab the\n\u003e rpc output for ended dialog, do it again, i need the ref count for state 5.\n\u003e\n\u003e There is a cleanup timeout for the cases when something on top of dialog\n\u003e is not dereferencing after ending the dialog, see end_timeout parameter.\n\u003e\n\u003e —\n\u003e You are receiving this because you were mentioned.\n\u003e Reply to this email directly, view it on GitHub\n\u003e \u003chttps://github.com/kamailio/kamailio/issues/1274#issuecomment-379730601\u003e,\n\u003e or mute the thread\n\u003e \u003chttps://github.com/notifications/unsubscribe-auth/ABPxXmm7Tef5UdXXc8-EKt8jwvwcygYjks5tm1BWgaJpZM4QAl53\u003e\n\u003e .\n\u003e\n"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1274#issuecomment-380048349"}}}</script>