You don't need to modify any triggers to get this to work.
Although you can make it so that radius attribute 195 has the name
"Acct-Terminate-Cause" (matching attribute 49), if you're using Ascend
equipment along with other equipment that uses attribute 49, you should not
mix them. The numeric data that's sent by the NAS for each are not the
same. In other words, a value of 11 for Acct-Terminate-Cause = "NAS Reboot
(The NAS ended the session in order to reboot non-administratively
("crash"))" but a value of 11 for Ascend-Disconnect-Cause is "DCD detected;
but went inactive" (loss of carrier).
We have several Ascend Maxes and also handle various other NASes remotely
(that use Acct-Terminate-Cause). Our calls table has columns for each.
When we run our "calls stats.sql" script, we have it automatically separate
disconnect causes so there's never any confusion. Here's an example of the
output from that script (for a single user):
End of session Down/Upload Duration NAS CallerID Disc
-------------------- ------------- -------- ----- ---------- ------------
Apr 30 2000 2:14PM 48000 / 0 0 :3 :50 AT&T 9545551212 User Request
Apr 30 2000 2:09PM 45333 / 0 0 :5 :28 AT&T 9545551212 User Request
Apr 30 2000 2:01PM 48000 / 0 0 :1 :54 AT&T 9545551212 User Request
Apr 28 2000 1:50AM 48000 / 26400 0 :12:20 Max 1 8505551212 45
Apr 27 2000 11:41PM 50667 / 24000 0 :11:17 Max 1 8505551212 45
Apr 27 2000 11:28PM 48000 / 26400 0 :13:45 Max 1 8505551212 45
Josh
For more information about this list (including removal) go to:
http://www.iea-software.com/support/maillists/liststart