[asterisk-dev] Re: Devloping an end of call hook or trap

Tony Mountifield tony at softins.clara.co.uk
Thu Feb 16 02:37:21 MST 2006


In article <1140052785.14478.19.camel at serproxy.blueforgmobile.com>,
Beau Hargis <beauh at bluefrogmobile.com> wrote:
> 
> It doesn't even have to be a C function that gets called. Would others
> be interested in something like a hangup context to which every call is
> dumped on hangup where all the state of the call, including the channel
> variables is available.

Isn't that what the 'h' extension is for? While 'h' is being processed,
the channel still exists and so do all the channel variables. You can
even call an AGI function from 'h' so long as you do so with DeadAGI().

Or have I completely misunderstood what you're looking for?

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-dev mailing list