Re: [Asterisk-Users] h extension seems to wipe variables?

2003-08-14 Thread Alastair Maw
Brian West wrote: Correct me if i'm wrong but doesn't the cdr modules log the call duration? If you look at the last sentence of my post: Storing stuff using the cdr isn't really an option. This is because I want to add other things to my call log that CDR doesn't support (for custom IVR apps

Re: [Asterisk-Users] h extension seems to wipe variables?

2003-08-14 Thread Florian Overkamp
At 11:50 13-8-2003 -0500, you wrote: Correct me if i'm wrong but doesn't the cdr modules log the call duration? True, but in some cases you would want to do more. I have built IVR's that require some after-call handling. For this I tried to use variables as well, but failed. The solution in my

Re: [Asterisk-Users] h extension seems to wipe variables?

2003-08-14 Thread Brian West
Correct me if i'm wrong but doesn't the cdr modules log the call duration? bkw On Wed, 13 Aug 2003, Alastair Maw wrote: Hi. I'm trying to do some custom call logging, and I want to call an AGI script from a hangup handler to log call durations and things. Although the script executes, it

Re: [Asterisk-Users] h extension seems to wipe variables?

2003-08-14 Thread James Golovich
Once the call has hungup the AGI functions stop working, so executing an AGI from an h extension will not do what you expect. but you can still do all kinds of perl stuff there, so you could stick the info in mysql or somewhere else James On Wed, 13 Aug 2003, Alastair Maw wrote: Hi. I'm

[Asterisk-Users] h extension seems to wipe variables?

2003-08-14 Thread Alastair Maw
Hi. I'm trying to do some custom call logging, and I want to call an AGI script from a hangup handler to log call durations and things. Although the script executes, it isn't retrieving variables from the AGI interface. Looking closer, I realised the variables are actually getting unset