>Hello, > >Someone know if it's possible in an agi to run a function when the user >hang up the phone. using asterisk-perl (available from http://asterisk.gnuinter.net/) there is a function called mycallback which allows you to run a subroutine when a hangup is detected. duncan