hi, 2 questions concerning hooks: 1) I need to modify attributes and pass these attributes to the accounting logs. But it all seems unfruitful. Here's the scenario: My NAS gave me a NAS_PORT value instead of Calling-Station-Id. My billing department require the need to have this attribute. So i have to convert the value to binary and then split them up to be converted back to decimal. Anyway, i tried to ${$_[0]}->add_attr('Calling-Station-Id',$cid) at PostAuthHook, but the accounting file still dont show me any attributes of the type 'Calling-Station-Id'. What could be the right way to force the accounting to add this attribute in? 2) In writing hooks, how can i reject a user? Is it on the reply reference? ${$_[1]}->change_attr('Reply-Message',"Reject") Something like that? Can't seem to work for me. Benny [EMAIL PROTECTED] === Archive at http://www.starport.net/~radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.