if (method=3D=3D"BYE" || method=3D=3D"CANCEL") { setflag(1); acc_rad_request("200"); }; you should not need to call acc_rad_request here. setting the flag and t_relay should be enough. -- juha