Re: [asterisk-users] AGI-python script

2008-03-31 Thread equis software
Any new about this? Thanks On Thu, Mar 27, 2008 at 11:29 AM, equis software <[EMAIL PROTECTED]> wrote: > I was trying to trap SIGHUP, but could be another signal because it didn't > work. > > I'm doing this > class MyScript(): >def logsignal(self,signum, frame): >self

Re: [asterisk-users] AGI-python script

2008-03-27 Thread equis software
I was trying to trap SIGHUP, but could be another signal because it didn't work. I'm doing this class MyScript(): def logsignal(self,signum, frame): self.putCDR() def run(self): signal.signal(signal.SIGHUP, self.logsignal) def putCDR():

Re: [asterisk-users] AGI-python script

2008-03-26 Thread Steve Edwards
On Wed, 26 Mar 2008, equis software wrote: Hi! I have some IVRs made in python. If the caller hangup before the end of the script I can?t register in my database the cdr. From your description, I'm not sure exactly what you are asking, but 1 of these should solve your problem. 1) Trap SIGHU

[asterisk-users] AGI-python script

2008-03-26 Thread equis software
Hi! I have some IVRs made in python. If the caller hangup before the end of the script I canĀ“t register in my database the cdr. Any idea to do this? Thanks ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing