[Asterisk-Users] error messages on /var/log/asterisk/messages
Michiel van Baak
michiel at vanbaak.info
Thu Mar 2 07:00:08 MST 2006
On 08:32, Thu 02 Mar 06, Doug Lytle wrote:
> From what has been discussed in the last month, it would indicates that
> it's a variable that hasn't been defined before doing a math function.
> (i.e. not setting a=0 before doing an a=a+1)
Hhmm, Only thing in my setup that looks like it can go wrong
is this:
[macro-safedial]
exten => s,1,Dial(${ARG1},${ARG2},${ARG3},${ARG4})
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-CANCEL,1,Hangup()
exten => s-NOANSWER,1,GotoIf($[${DIALEDTIME} = 0]?3)
exten => s-NOANSWER,2,Hangup()
exten => s-NOANSWER,3,Verbose(1,Need failover for "${ARG1}")
Looks like the Dial statement is not setting the $DIALEDTIME
in some cases.
Anyone ?
--
Michiel van Baak
http://michiel.vanbaak.info
michiel at vanbaak.info
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D
"Why is it drug addicts and computer afficionados are both called users?"
More information about the asterisk-users
mailing list