Re: [SR-Users] Killing dialog using kamcmd

2016-09-22 Thread Laura
Hello,

I'm not sure if it is a bug of 4.3 branch..

need to test it on 4.4.. it should write down the record on DB automatically


Laura


Il 22/09/16 14:20, ycaner ha scritto:
> Hello;
> i use a event route  like below for radius request. there is a acc_request
> for it. you can use it
>
> event_route[tm:local-request]{
>
> xlog("L_ALERT","Local-Request [$ci] ");
>
> if(is_method("BYE")){
> acc_rad_request("Timeout");
> }
> }
>
>
>
>
> --
> View this message in context: 
> http://sip-router.1086192.n5.nabble.com/Killing-dialog-using-kamcmd-tp151976p152029.html
> Sent from the Users mailing list archive at Nabble.com.
>
> ___
> 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


Re: [SR-Users] Killing dialog using kamcmd

2016-09-22 Thread ycaner
Hello;
i use a event route  like below for radius request. there is a acc_request
for it. you can use it

event_route[tm:local-request]{

xlog("L_ALERT","Local-Request [$ci] ");

if(is_method("BYE")){
acc_rad_request("Timeout");
}
}




--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/Killing-dialog-using-kamcmd-tp151976p152029.html
Sent from the Users mailing list archive at Nabble.com.

___
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


[SR-Users] Killing dialog using kamcmd

2016-09-20 Thread Laura
Dear list,

i have developed a tool that automatically stop the call after some
trigger i use..

For do that i use the kamcmd dlg.end_dlg command.

It work perfectly but i have noticed a problem over the kamailio acc table.

When i kill a specific call using this command.. the acc table don't
write the BYE record for the dialog..

Is that correct ? how can i fix..

I'm using ngrep for verify the SIP dialog and i see the BYE command
correctly on the A and B leg of the call..


Thanks for any idea.


Laura


___
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