****This is an edited version of a previous post****
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 --------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|