Bug: Tracking Freepbx DND
Hi
FOP2 is working great! The only issue I had was when I installed it on Elastix 2.4.0, the DND was not tracked.
I fixed the problem as per http://www.fop2.com/documentation-faq.php, but the
config in extensions_override_fop2.conf was incorrect:
Config in file:
exten => *80,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: Do not Disturb)
instead of
exten => *80,n,UserEvent(FOP2ASTDB|Family: fop2state|Channel: ${CHAN}|Value: Do not Disturb)
Note: The , must be |
AND
exten => *80,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: )
instead of
exten => *80,n,UserEvent(FOP2ASTDB|Family: fop2state|Channel: ${CHAN}|Value: )
I do not have any issues, but I wanted to bring this to your attention.
Regards
Nathan
FOP2 is working great! The only issue I had was when I installed it on Elastix 2.4.0, the DND was not tracked.
I fixed the problem as per http://www.fop2.com/documentation-faq.php, but the
config in extensions_override_fop2.conf was incorrect:
Config in file:
exten => *80,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: Do not Disturb)
instead of
exten => *80,n,UserEvent(FOP2ASTDB|Family: fop2state|Channel: ${CHAN}|Value: Do not Disturb)
Note: The , must be |
AND
exten => *80,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: )
instead of
exten => *80,n,UserEvent(FOP2ASTDB|Family: fop2state|Channel: ${CHAN}|Value: )
I do not have any issues, but I wanted to bring this to your attention.
Regards
Nathan
Comments
The latest versions of FOP2 include a script that will create the correct override contexts for any of your freepbx versions, including correct syntax.
I will update the FAQ entry as it is dated, and related to FOP 2.10 only. At that time the most used asterisk version was 1.4 where pipes were still used as delimiters. Thanks for pointing it out, as we did not update the FAQ accordingly.
To generate the correct context you should do what it is said in the online documentation here:
http://www.fop2.com/documentation-insta ... arball.php
Basically, run:
/usr/local/fop2/generate_override_contexts.pl -w
And nothing else, everything will work correctly. I advise you to do that, as each FreePBX version has a *different* dnd macro.
Thanks again for pointing out the old FAQ entry.
Best regards,