On Tuesday 16 October 2007 06:21:45 Andrew Kohlsmith wrote:
> GotoIf($[${DIALSTATUS} = BUSY]?busy)
> GotoIf($[${DIALSTATUS} = NOANSWER]?noanswer)
> GotoIf($[${DIALSTATUS} = ANSWERED]?answered)
> Dial(Zap/...)
>
> Of course, I do this inside a macro, and I emit correct CDR and correct
> hangupcauses for those who use my system.
>
> Dialing twice like that without checking your return value is an invitation
> for future problems.Well, as far as i have tried - i never get ANSWERED in DIALSTATUS. Only thing that continues is h extension. Regards, Atis -- Atis Lezdins VoIP Developer, IQ Labs Inc. [EMAIL PROTECTED] Skype: atis.lezdins Cell Phone: +371 28806004 Work phone: +1 800 7502835 _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
