[asterisk-users] 'h' extension on call-out

Tony Mountifield tony at softins.clara.co.uk
Mon Nov 12 07:04:44 CST 2007


In article <9cbf3f070711120416v249d0a81s1388fa58b0169287 at mail.gmail.com>,
Artifex Maximus <artifexor at gmail.com> wrote:
> Hello!
> 
> I would like to store ISDNCAUSE on automatic call-out campaign
> (possibly gives more detail on failed call). How is it possible?
> 
> I have tried 'failed' and 'h' extension. No luck. Extension 'failed'
> does not know anything about ISDNCAUSE and 'h' extension is not called
> at all. Any idea?
> 
> I am using Asterisk 1.2.14 on FC4 if it counts.

I think you will find the 'h' extension is only called at the end of
a successful call.

If the call is unsuccessful, the Dial command will return, and you can
then check ${ISDNCAUSE} on the next line of your dialplan.

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-users mailing list