I have this all inclusive, but you did not understand me ....
modparam("acc", "aaa_flag", "FLT_ACC")
if(is_method("INVITE")){
setflag(FLT_ACC);
create_dialog("B");
$DLG_timeout = 6;
xlog("L_NOTICE"," DIALOG $DLG_timeout sec\n");
}
if(loose_route()){
if(is_method("BYE")){
setflag(FLT_ACC);
setflag(FLT_ACCFAILED);
}
$DLG_timeout sends BYE which does not pass through the config. Accordingly setflag(FLT_ACC) is not satisfied !!!
modparam("acc", "aaa_flag", "FLT_ACC")
if(is_method("INVITE")){
setflag(FLT_ACC);
create_dialog("B");
$DLG_timeout = 6;
xlog("L_NOTICE"," DIALOG $DLG_timeout sec\n");
}
if(loose_route()){
if(is_method("BYE")){
setflag(FLT_ACC);
setflag(FLT_ACCFAILED);
}
$DLG_timeout sends BYE which does not pass through the config. Accordingly setflag(FLT_ACC) is not satisfied !!!
18.12.2014, 16:17, "Răzvan Crainea" <[email protected]>:
,You can achieve this by using acc module and the CDR[1] flag, as well as setting the aaa_flag[2].
If you really want to send a message to the Radius server, see the acc_aaa_request() function[3].
[1] http://www.opensips.org/html/docs/modules/1.12.x/acc#id295374
[2] http://www.opensips.org/html/docs/modules/1.12.x/acc#id294452
[3] http://www.opensips.org/html/docs/modules/1.12.x/acc#id295543
Best regards,Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.comOn 12/18/2014 02:07 PM, Kalala Alexander wrote:Yes I can.if(is_method("INVITE")){
create_dialog("B");
$DLG_timeout = 6;
xlog("L_NOTICE"," DIALOG $DLG_timeout sec\n");
}
After the break (BYE) I need to send a packet to STOP Radius (Billing) server.
radius_send_acct("stop");18.12.2014, 14:56, "Răzvan Crainea" <[email protected]>:,Can you please tell us in words what you are trying to achieve?
Best regards,Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.comOn 12/18/2014 12:20 PM, Kalala Alexander wrote:How to implement this feature in openSIPS?event_route[tm:local-request] {
xlog("L_INFO", "event_route $rm\n");
if(is_method("BYE"))
{
# Account BYE transactions
xlog("L_INFO", "event_received_BYE from $fU to $tU\n\n");
acc_rad_request();
};
}--
С уважениемИнженер по телекоммуникациямКалала Александрvel: 375291146285life: 375256819996
skype: klistrod
VoIP Network Engineer
dCAP, CCNAVoice
Kalala Alexander
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users--
С уважениемИнженер по телекоммуникациямКалала Александрvel: 375291146285life: 375256819996
skype: klistrod
VoIP Network Engineer
dCAP, CCNAVoice
Kalala Alexander
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
С уважением
С уважением
Инженер по телекоммуникациям
Калала Александр
vel: 375291146285
life: 375256819996
skype: klistrod
VoIP Network Engineer
dCAP, CCNAVoice
Kalala Alexander
dCAP, CCNAVoice
Kalala Alexander
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
