[sr-dev] [kamailio/kamailio] Load dialogs from db at runtime, without restarting kamailio (#1274)

alexsosic notifications at github.com
Tue Apr 10 13:16:23 CEST 2018


Yes shure,

but in the case i mentioned above there's a problem that some dialogs are
cleared on call end and some remain in state 5 and are not cleared in the
db.

Regarding the failover I can observe this after another camailio node loads
the dialog from db and the call ends client side:
```kamcmd> dlg.list
{
h_entry: 3025
h_id: 1845
ref: 2
call-id: jAw54-ddy-jNknXLSjB.Eo06RWfJ6yuR
from_uri: sip:0409828030 at proxy.alex.cloud.evox.it
to_uri: sip:390409828030 at proxy.alex.cloud.evox.it
state: 4
start_ts: 1523358496
init_ts: 1523358607
end_ts: 0
timeout: 1523358683
lifetime: 187
dflags: 0
sflags: 0
iflags: 1
caller: {
tag: OX6QxdbUGdlOOkksck2HafvRa-UqKbmf
contact: sip:0409828030 at 172.16.21.38:55236;ob
cseq: 17987
route_set:
<sip:172.22.2.49;lr=on;ftag=OX6QxdbUGdlOOkksck2HafvRa-UqKbmf;did=1db.601>
socket:
}
callee: {
tag: as2595835f
contact: sip:39390409828030 at 172.16.201.101:5060
cseq: 0
route_set:
<sip:172.22.2.49;lr=on;ftag=OX6QxdbUGdlOOkksck2HafvRa-UqKbmf;did=1db.701>
socket:
}
profiles: {
}
variables: {
{
originalSourceIP: 172.16.21.38
}
{
cgrSubsystems: "cgr_subsystems":"*resources;*suppliers;*accounts"
}
{
authType: subscriber
}
{
au: 0409828030
}
{
calleeNumber: 39390409828030
}
{
cgrReqType: *prepaid
}
{
cgrTenant: evox.it
}
{
cgrAccount: 0409828030
}
{
cgrDestination: 39390409828030
}
{
cgrCallip: 172.16.21.38
}
{
cgrSuppliers: carrier1.cloud.evox.it,carrier2.cloud.evox.it,
carrier3.cloud.evox.it
}
{
cgrSupplier: carrier1.cloud.evox.it
}
{
du: sip:172.22.2.49:5060
}
{
ru: sip:39390409828030 at carrier1.cloud.evox.it
}
}
}```

The state remains to 4 and then after 2 minutes it is cleared from the
dlg.list and db!

--
Aleksandar Sošić
alex.sosic(at)gmail<dot>com

On Tue, Apr 10, 2018 at 12:27 PM, Daniel-Constantin Mierla <
notifications at github.com> wrote:

> I need for the failover case, from the second node that loads the dialog
> from db -- that's what we need to debug.
>
>> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/kamailio/kamailio/issues/1274#issuecomment-380051408>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABPxXtwqVa2ljdLnbN9TIgpAuiBURlGDks5tnIj_gaJpZM4QAl53>
> .
>


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1274#issuecomment-380063093
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180410/3871adf9/attachment.html>


More information about the sr-dev mailing list