[asterisk-users] Help! How to get ANSWEREDTIME after DIAL a ZAP
channel?
Charles Wang
lazy.charles at gmail.com
Wed Feb 21 23:30:19 MST 2007
Dear Phil,
The extension 'h' was a great idea although I still got the error
"exited non-zero".
Thank you for your help.
Best regards,
Charles
2007/2/21, Phil Reynolds <phil at tinsleyviaduct.com>:
>
> Quoting Charles Wang <lazy.charles at gmail.com>:
>
> > Dear Phil,
> >
> > Thank you for your reply.
> >
> > I have changed by extensions.conf as below.
> > And I also put my debug information for your reference.
> >
> > It is a strange behavior. I got exited non-zero in it when I use ZAP channel.
> > If I use my SIP trunking gateway(outside), I got the return value is zero.
> >
> > ********** extensions.conf **************************************************
> > exten=> _00[1-9].,1,Dial(zap/g1/${EXTEN})
> > exten=> _00[1-9].,h,NoOP(ANSWEREDTIME=${ANSWEREDTIME})
>
> Still wrong... exten => h,1,NoOp...
>
> > exten=> _00[1-9].,102,Hangup
>
> This line is superfluous.
>
> --
> Phil Reynolds
> o ____ mail: phil at tinsleyviaduct.com
> |L_ \ / Web: http://www.tinsleyviaduct.com/phil/
> (_)- \/ Waltham 66, Emley Moor 69, Droitwich 79, Windows 95
>
>
--
Best Regards
Charles
More information about the asterisk-users
mailing list