[SR-Users] Take call counts from kamailio

Alex Balashov abalashov at evaristesys.com
Mon Aug 21 10:27:17 CEST 2017


On Mon, Aug 21, 2017 at 01:55:26PM +0530, Logeshwaran G wrote:

> Yes Thanks, Also I have checked that command as well :
> 
>  kamcmd dlg.profile_get_size outbound
> 
> I am getting the below output as 0 calls.
> [root at zeodialer kamailio]# kamcmd dlg.profile_get_size outbound_calls
> error: 404 - Profile not found: outbound_calls
> 
> [root at zeodialer kamailio]# kamcmd dlg.profile_get_size outbound
> 0
> 
> But There is 1 outgoing call is placed and continued.

That's because it doesn't know what an "outbound" call is.

You need to:

1) Define the profile:

https://kamailio.org/docs/modules/5.0.x/modules/dialog.html#dialog.p.profiles_no_value

2) Add the call to the profile:

https://kamailio.org/docs/modules/5.0.x/modules/dialog.html#dialog.f.set_dlg_profile

-- Alex

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list