[SR-Users] [Dialog] Removing entries from dialog memory

2019-10-11 Thread Julien Klingenmeyer
Hi,

I am wondering if there is any way to remove an entry from the active dialog 
list?
I mean, assuming that Kamailio did not get any BYE related to a call for some 
reason and that I want that call to be “killed” from dialog memory before 
reaching the lifetime timeout.

What I already tried with no success: sending a request to Kamailio catched by 
a dedicated route of the script then:

  *   using the dlg_get function (with the target call as parameter) then 
send_bye function (then dropping the BYE request generated by the dialog module 
in the onsend_route with the drop function): no success. Dialog module 
correctly generates BYE requests but dialog related to the call is kept in 
memory until its lifetime timeout (and BYE requests are not dropped in the 
onsend_route either).
  *   using the dlg_get function then dlg_set_timeout to set a very low timeout 
value for that particular call. No successs: Trying to update a bogus dlg as 
critical error.

Could some RPC commands or whatever help me to accomplish what I try to do?
Thanks

Julien
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] IMS Kamailio Diameter Charging Server

2019-10-11 Thread Jack R
Hi All,

We have installed Kamailio as IMS setup pcscf icscf scscf - 3 instances
running on Ubuntu..

Referring to the link below, it mentioned about Diameter based Kamailio
Charging Server.
https://www.kamailio.org/events/2016-KamailioWorld/Day2/15-Carsten.Bock-Diameter-Charging-With-Kamailio.pdf


Where to find it? How to install it? to make it work in Kamailio IMS set up
as per below articles:
https://www.kamailio.org/docs/modules/stable/modules/ims_charging.html
https://kamailio.org/docs/modules/devel/modules/ims_ocs.html

Regards,
Jack.
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] [Dialog] Removing entries from dialog memory

2019-10-11 Thread Sergiu Pojoga
In simple works, you want to terminate a certain call?

If so: https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#idm1195

Like for example via RPC: kamctl rpc dlg.end_dlg 1686 10139

Regards,
--Sergiu

On Fri, Oct 11, 2019 at 9:12 AM Julien Klingenmeyer <
julien.klingenme...@corp.ovh.com> wrote:

> Hi,
>
>
>
> I am wondering if there is any way to remove an entry from the active
> dialog list?
>
> I mean, assuming that Kamailio did not get any BYE related to a call for
> some reason and that I want that call to be “killed” from dialog memory
> before reaching the lifetime timeout.
>
>
>
> What I already tried with no success: sending a request to Kamailio
> catched by a dedicated route of the script then:
>
>- using the *dlg_get* function (with the target call as parameter)
>then *send_bye* function (then dropping the BYE request generated by
>the dialog module in the *onsend_route* with the *drop* function): no
>success. Dialog module correctly generates BYE requests but dialog related
>to the call is kept in memory until its lifetime timeout (and BYE requests
>are not dropped in the *onsend_route* either).
>- using the *dlg_get* function then *dlg_set_timeout* to set a very
>low timeout value for that particular call. No successs: *Trying to
>update a bogus dlg *as critical error.
>
>
>
> Could some RPC commands or whatever help me to accomplish what I try to do?
>
> Thanks
>
>
>
> Julien
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] [Dialog] Removing entries from dialog memory

2019-10-11 Thread Julien Klingenmeyer
I tried the end_dlg rpc command but result is the same as the dlg_bye function 
(mistake in my original message, I said send_bye but I meant dlg_bye()): BYE 
requests are sent but dialog is still present when I execute the command 
dlg.list. It does not look to be removed from the active dialog list.

Would it be because Kamailio does not get any replies to the Bye requests?

Regards,
--
Julien

De : sr-users  au nom de Sergiu Pojoga 

Répondre à : "Kamailio (SER) - Users Mailing List" 
Date : vendredi 11 octobre 2019 à 16:42
À : "Kamailio (SER) - Users Mailing List" 
Objet : Re: [SR-Users] [Dialog] Removing entries from dialog memory

In simple works, you want to terminate a certain call?

If so: https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#idm1195

Like for example via RPC: kamctl rpc dlg.end_dlg 1686 10139

Regards,
--Sergiu

On Fri, Oct 11, 2019 at 9:12 AM Julien Klingenmeyer 
mailto:julien.klingenme...@corp.ovh.com>> 
wrote:
Hi,

I am wondering if there is any way to remove an entry from the active dialog 
list?
I mean, assuming that Kamailio did not get any BYE related to a call for some 
reason and that I want that call to be “killed” from dialog memory before 
reaching the lifetime timeout.

What I already tried with no success: sending a request to Kamailio catched by 
a dedicated route of the script then:

  *   using the dlg_get function (with the target call as parameter) then 
send_bye function (then dropping the BYE request generated by the dialog module 
in the onsend_route with the drop function): no success. Dialog module 
correctly generates BYE requests but dialog related to the call is kept in 
memory until its lifetime timeout (and BYE requests are not dropped in the 
onsend_route either).
  *   using the dlg_get function then dlg_set_timeout to set a very low timeout 
value for that particular call. No successs: Trying to update a bogus dlg as 
critical error.

Could some RPC commands or whatever help me to accomplish what I try to do?
Thanks

Julien
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] [Dialog] Removing entries from dialog memory

2019-10-11 Thread Sergiu Pojoga
Does it receive a 200 OK reply to the BYE?

On Fri, Oct 11, 2019, 10:55 AM Julien Klingenmeyer, <
julien.klingenme...@corp.ovh.com> wrote:

> I tried the end_dlg rpc command but result is the same as the dlg_bye
> function (mistake in my original message, I said send_bye but I meant
> dlg_bye()): BYE requests are sent but dialog is still present when I
> execute the command dlg.list. It does not look to be removed from the
> active dialog list.
>
>
>
> Would it be because Kamailio does not get any replies to the Bye requests?
>
>
>
> Regards,
>
> --
>
> Julien
>
>
>
> *De : *sr-users  au nom de Sergiu
> Pojoga 
> *Répondre à : *"Kamailio (SER) - Users Mailing List" <
> sr-users@lists.kamailio.org>
> *Date : *vendredi 11 octobre 2019 à 16:42
> *À : *"Kamailio (SER) - Users Mailing List" 
> *Objet : *Re: [SR-Users] [Dialog] Removing entries from dialog memory
>
>
>
> In simple works, you want to terminate a certain call?
>
>
>
> If so: https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#idm1195
>
>
>
> Like for example via RPC: kamctl rpc dlg.end_dlg 1686 10139
>
>
>
> Regards,
>
> --Sergiu
>
>
>
> On Fri, Oct 11, 2019 at 9:12 AM Julien Klingenmeyer <
> julien.klingenme...@corp.ovh.com> wrote:
>
> Hi,
>
>
>
> I am wondering if there is any way to remove an entry from the active
> dialog list?
>
> I mean, assuming that Kamailio did not get any BYE related to a call for
> some reason and that I want that call to be “killed” from dialog memory
> before reaching the lifetime timeout.
>
>
>
> What I already tried with no success: sending a request to Kamailio
> catched by a dedicated route of the script then:
>
>- using the *dlg_get* function (with the target call as parameter)
>then *send_bye* function (then dropping the BYE request generated by
>the dialog module in the *onsend_route* with the *drop* function): no
>success. Dialog module correctly generates BYE requests but dialog related
>to the call is kept in memory until its lifetime timeout (and BYE requests
>are not dropped in the *onsend_route* either).
>- using the *dlg_get* function then *dlg_set_timeout* to set a very
>low timeout value for that particular call. No successs: *Trying to
>update a bogus dlg *as critical error.
>
>
>
> Could some RPC commands or whatever help me to accomplish what I try to do?
>
> Thanks
>
>
>
> Julien
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] [Dialog] Removing entries from dialog memory

2019-10-11 Thread Julien Klingenmeyer
I make it receive a 4xx reply (Call does not exist)

Le 11 oct. 2019 à 18:32, Sergiu Pojoga  a écrit :


Does it receive a 200 OK reply to the BYE?

On Fri, Oct 11, 2019, 10:55 AM Julien Klingenmeyer, 
mailto:julien.klingenme...@corp.ovh.com>> 
wrote:
I tried the end_dlg rpc command but result is the same as the dlg_bye function 
(mistake in my original message, I said send_bye but I meant dlg_bye()): BYE 
requests are sent but dialog is still present when I execute the command 
dlg.list. It does not look to be removed from the active dialog list.

Would it be because Kamailio does not get any replies to the Bye requests?

Regards,
--
Julien

De : sr-users 
mailto:sr-users-boun...@lists.kamailio.org>>
 au nom de Sergiu Pojoga mailto:pojo...@gmail.com>>
Répondre à : "Kamailio (SER) - Users Mailing List" 
mailto:sr-users@lists.kamailio.org>>
Date : vendredi 11 octobre 2019 à 16:42
À : "Kamailio (SER) - Users Mailing List" 
mailto:sr-users@lists.kamailio.org>>
Objet : Re: [SR-Users] [Dialog] Removing entries from dialog memory

In simple works, you want to terminate a certain call?

If so: https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#idm1195

Like for example via RPC: kamctl rpc dlg.end_dlg 1686 10139

Regards,
--Sergiu

On Fri, Oct 11, 2019 at 9:12 AM Julien Klingenmeyer 
mailto:julien.klingenme...@corp.ovh.com>> 
wrote:
Hi,

I am wondering if there is any way to remove an entry from the active dialog 
list?
I mean, assuming that Kamailio did not get any BYE related to a call for some 
reason and that I want that call to be “killed” from dialog memory before 
reaching the lifetime timeout.

What I already tried with no success: sending a request to Kamailio catched by 
a dedicated route of the script then:

  *   using the dlg_get function (with the target call as parameter) then 
send_bye function (then dropping the BYE request generated by the dialog module 
in the onsend_route with the drop function): no success. Dialog module 
correctly generates BYE requests but dialog related to the call is kept in 
memory until its lifetime timeout (and BYE requests are not dropped in the 
onsend_route either).
  *   using the dlg_get function then dlg_set_timeout to set a very low timeout 
value for that particular call. No successs: Trying to update a bogus dlg as 
critical error.

Could some RPC commands or whatever help me to accomplish what I try to do?
Thanks

Julien
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users