Hi All,
Sorry further information on the below.
On version 4.2.0 I now have the CNXCC module trying to terminate the call and I 
can see in the logs;
Jul  8 10:04:05 voxweb1 kamailio4-2[28013]: ALERT: cnxcc [cnxcc_check.c:157]: 
check_calls_by_time(): [84738257-9ffa-1233-479c-2a8a2e4d8baa] call has 
exhausted its time. Breaking the loopJul  8 10:04:05 voxweb1 
kamailio4-2[28013]: ERROR: cnxcc [cnxcc_mod.c:1080]: terminate_call(): Error 
executing dlg_end_dlg command. Return code was [404]

Now looking in the dialog hash table I see;
 kamailio]# kamctl fifo dlg_listdialog::  hash=2024:5750        state:: 4       
 ref_count:: 2        timestart:: 1436349420        timeout:: 28722377        
callid:: 84738257-9ffa-1233-479c-2a8a2e4d8baa        from_uri:: 
sip:+33975182...@eseye.peering.manxtelecom.im        from_tag:: 77XSZ5HjtBv6m   
     caller_contact:: sip:Eseye@212.111.42.24:5080        caller_cseq:: 
77838646        caller_route_set::        caller_bind_addr:: 
udp:212.111.42.24:5060        callee_bind_addr:: udp:212.111.42.24:5060        
to_uri:: sip:337917190...@return.mo.eseye.com;user=phone        to_tag:: 
crmacSH2pU30N        callee_contact:: 
sip:337917190438@213.168.250.152:5080;transport=udp        callee_cseq:: 0      
  callee_route_set::
And;
kamctl kamcmd 
cnxcc.active_clientsclient_id:MOPublic,number_of_calls:1,concurrent_calls:1,type:0,max_amount:10,consumed_amount:533;
So when I manually try and kill it, it also doesnt work even though the callid 
looks valid in the dialog hash table;
kamctl kamcmd cnxcc.kill_call 84738257-9ffa-1233-479c-2a8a2e4d8baa
This command just doesn't return anything and cant find the callid,  is this a 
configuration issue on my part or are there any issues with cnxcc on 4.2.0 ?
All I want to achieve is to set the max time for calls.
All I do is set the CC_FLAG, and then dlg_manage, and Ive also tried with the 
DLG_FLAG set same as CC_FLAG.
Thanks
Jon
From: hunter...@hotmail.com
To: sr-users@lists.sip-router.org
Date: Tue, 7 Jul 2015 18:29:30 +0000
Subject: [SR-Users] CNXCC cnxcc_set_max_time Version 4.2




Hi Guys,
I have just moved from kamailio 4.1, to 4.2 and have installed via git version 
4.2
I am testing with the function cnxcc_set_max_time, as I want to set the maximum 
call duration.
Having moved to 4.2, i cant get the module to terminate the call.
I have set dlg_flag, and cc_flag, following examples on the wiki but I cant get 
it to work.
Does anyone have any suggestions for me please?
My same code on 4.1 works ok.
Thanks
Jon                                       

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users                   
                  
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to