[asterisk-users] PSTN failover
Atis Lezdins
atis at iq-labs.net
Tue Oct 16 02:49:37 CDT 2007
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.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835
More information about the asterisk-users
mailing list