Can I add additional 'call' action to an extension?
We're running Asterisk Open Source 11 + FOP2, with an extension pattern of XXX. We have several extensions that have a "special" extension (1XXX) that will call the user's cell phone instead of the office phone. Information about the extension (including the cell phone number that gets dialed when a user dials 1XXX) is stored in a database, and FOP2's buttons.cfg is being dynamically generated via bash script using that database.
I see there currently exists a "call" button that will call a given extension when selected. Is there a relatively simple way I can add "call cell phone", either as an action button on top or as a "context menu" item within the menu that pops up when you click on a button's status indicator?
I see there currently exists a "call" button that will call a given extension when selected. Is there a relatively simple way I can add "call cell phone", either as an action button on top or as a "context menu" item within the menu that pops up when you click on a button's status indicator?
Comments
[SIP/100]
type=extension
extension=100
label=John
external=1XXX@from-internal
where from-internal is the context where 1xxx is located in your dialplan. There is no need to put the actual mobile phone number, you can very well use your current dialplan for it.
The one thing that I'm running into at the moment is, I can get a "transfer to mobile" button, but there doesn't seem to be a "dial mobile" option? I tried adding dialexternal permissions for my users, but no "dial mobile" button is available. Similarly, I don't see a "dial mobile" when using a user with "all" permissions. Is there some other way to originate a new call to the user's mobile number that I'm not seeing?
http://www.fop2.com/blog/creating-a-cus ... ion-button