Custom Contexts
-
Hi,
I use the admittedly beta custom contexts module for freepbx, to direct extensions to their own dahdi/fxo trunk, effectively giving them a private trunk.
When I use FOP2 and it rings the extension to initiate the action, it ignores the custom contexts I have set, is there any way around this or another tip to make FOP2 work with this setup?
Thanks
James
-
You can configure buttons manually, or modify the fop2buttons table "context" field for your extensions by hand, but maybe this will break transfers to those extensions with the modified context if that context does not include the local extensions.
To test it out, with phpmyadmin or the mysql command line client modify the context field for a particular extension, and set it to your custom context name. After that, restart fop2 and try again.
Something like this, assuming your extension is "100" and your custom context is named "onlyLocal"
myslq -u root -p asterisk -e "UPDATE fop2buttons SET context='onlyLocal' WHERE exten='100'"
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login