Hi, I need to catch then end of an eagi script (python) when caller hungup
because I want to generate my own CDR.
I try this
def run()
signal.signal(signal.SIGHUP, self.logsignal)
def logsignal(self,signum, frame):
self.putCDR()
....but didn't work. Then try with several signals like:
signal.signal(signal.SIGTERM, self.logsignal)
signal.signal(signal.SIGTSTP, self.logsignal)
signal.signal(signal.SIGPIPE, self.logsignal)
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users