Re: [asterisk-users] how to get the status of failed call files

2007-02-01 Thread Richard Lyman
*snipped ast_set_variables(chan, vars); insert pbx_builtin_var here --> ast_pbx_run(chan); since DIALSTATUS and HANGUPCAUSE are both protected, you will probably have to create another such as FAILEDCODE. i hope th

Re: [asterisk-users] how to get the status of failed call files

2007-02-01 Thread Rich Doughty
Richard Lyman wrote: Rich Doughty wrote: Richard Lyman wrote: Rich Doughty wrote: i am creating call files, and catching successfully the ones that don't connect in a 'failed' extension. can anyone tell me how to find out the reason for the failure (ie busy, no answer). ${DIALSTATUS} doesn't

Re: [asterisk-users] how to get the status of failed call files

2007-02-01 Thread Richard Lyman
Rich Doughty wrote: Richard Lyman wrote: Rich Doughty wrote: i am creating call files, and catching successfully the ones that don't connect in a 'failed' extension. can anyone tell me how to find out the reason for the failure (ie busy, no answer). ${DIALSTATUS} doesn't appear to get set (pre

Re: [asterisk-users] how to get the status of failed call files

2007-02-01 Thread Rich Doughty
Richard Lyman wrote: Rich Doughty wrote: i am creating call files, and catching successfully the ones that don't connect in a 'failed' extension. can anyone tell me how to find out the reason for the failure (ie busy, no answer). ${DIALSTATUS} doesn't appear to get set (presumably because Dial(

Re: [asterisk-users] how to get the status of failed call files

2007-01-31 Thread Richard Lyman
Rich Doughty wrote: i am creating call files, and catching successfully the ones that don't connect in a 'failed' extension. can anyone tell me how to find out the reason for the failure (ie busy, no answer). ${DIALSTATUS} doesn't appear to get set (presumably because Dial() isn't used) and chan

[asterisk-users] how to get the status of failed call files

2007-01-31 Thread Rich Doughty
i am creating call files, and catching successfully the ones that don't connect in a 'failed' extension. can anyone tell me how to find out the reason for the failure (ie busy, no answer). ${DIALSTATUS} doesn't appear to get set (presumably because Dial() isn't used) and channel_status doesn't se