[SR-Users] Locally originated BYE dialog database handle

Daniel-Constantin Mierla miconda at gmail.com
Wed Jul 6 15:53:33 CEST 2016


Hello,

can you try with latest branch 4.4 or master? I just pushed a commit for it.

Cheers,
Daniel


On 06/07/16 15:37, Dirk Teurlings - Signet B.V. wrote:
> Hi,
>
> There's something going on with a locally originated BYE and the dialog
> module running with a database backend. Here's the scenario.
>
> Call gets setup, and is being monitored by outside processes
> (non-Kamailio). After a while these processes determine the call is
> taking too long (or too expensive), so it has to be killed.
>
> To do this we're using the kamcmd dlg.end_dlg with h_entry and h_id as
> parameter. This works to end the call, but is throws some weird issues
> into the routing.
>
> First off, the event_route[dialog:end] is not thrown 99% of the time,
> though I would expect it to.
>
> Second, This error pops up in the log
> /usr/sbin/kamailio[25094]: ERROR: dialog [dlg_db_handler.c:199]:
> use_dialog_table(): invalid database handle
>
> As if the command issued by kamcmd isn't able to get connected to the
> dialog database. In any case, this error results in the dialog entry for
> this call not being removed from the database. So this piles up after a
> while.
>
> Anybody any thoughts on this?
>
> Cheers,
> Dirk
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list