In extensions.conf, I've found some strange behaviour.
In [macro-exten-vm] there's a test to set RT to the RINGTIMER value:
exten => s,n,Set(RT=${IF($[$["${VMBOX}"!="novm"] |
$["foo${CFUEXT}"!="foo"]]?${RINGTIMER}:"")})
On my machine with the default FreePBX file, there is NO space between the 'IF'
and the '(', RT gets set to "". This causes major problems for a few reasons
I'm not interested in at the moment.
If however, the IF has a following space, RT is set to 0 and the macro works,
well at least doesn't call the extension, ring it and go to voicemail all at
the same time!
Does anyone know why this would occur?
Second, and secondary question,
Despite ${VMBOX} having a value that is not "novm", the line of code NEVER sets
RT to ${RINGTIMER}. I thought setting this when a voicemail number was
available was the whole point of the line.
-------------------- m2f --------------------
Sent using Mail2Forum (http://www.mail2forum.com).
Read this topic online here:
http://forums.freepbx.org/viewtopic.php?p=599#599
-------------------- m2f --------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
|