In article <20121108092952.78cb6...@ws78.int.tlc>,
Chad Wallace wrote:
> On Thu, 8 Nov 2012 16:44:32 + (UTC)
> t...@softins.co.uk (Tony Mountifield) wrote:
>
> > Here is a simplified example:
> >
> > [test]
> > exten => _X.,1,Dial(Local/${EXTEN}@outbound)
> > exten => _X.,n,NoOp(${CONTEXT}:D
On Thu, 8 Nov 2012 16:44:32 + (UTC)
t...@softins.co.uk (Tony Mountifield) wrote:
> Here is a simplified example:
>
> [test]
> exten => _X.,1,Dial(Local/${EXTEN}@outbound)
> exten => _X.,n,NoOp(${CONTEXT}:DIALSTATUS=${DIALSTATUS})
>
> [outbound]
> exten => _X.,1,Dial(SIP/ext${EXTEN},30)
> ext
I am using a Local channel in order to provide a layer of processing
when dialling out. I have put a timeout on the inner dial, which returns
a DIALSTATUS of NOANSWER if the call times out while ringing.
However, this then causes the Local channel to return CHANUNAVAIL
instead of NOANSWER, because