When defining some custom devices, freepbx
automatically associate a hint for the extension. This
causes some trouble when we use these custom device to
reach some remote phones like mobile phones or remote
collaborators with a local user extension.
Exemple:
I define a device extension for a mobile phone, in the
GUI (admin/setup/device/custom), I associate the device
to a user extension (let say 804) and I define de dial
extension in the dial field: "IAX2/TRUNKNAME/PHONENUMBER".
I then automatically have a hint wich maps the given
dial extension in the [ext-local] context
(extensions_additional)
exten => 804,1,Macro(exten-vm,novm,804)
exten => 804,hint,IAX2/TRUNKNAME/PHONENUMBER
But in this particular case, it is really cumbersome,
and does not work. Extension is always unavailable. I
would prefer to have something like that:
exten => 804,1,Macro(exten-vm,novm,804)
exten => 804,hint,IAX2/TRUNKNAME
to associate the availability of the user to the trunk
availability itself. Modifying it by hand works great
actually. But at this stage there is no way to override
the default config from the GUI (which is restored
after every reloadconfig). That would be a very nice
feature to have it permanently ? We could imagine a
field in the device configuration page to allow to
specify the hint for every device and default to the
present behaviour.
Another interesting possibility to avoid the rewrite of
the custom modifications is to put the hint config for
device extensions in the SQL DB.
Thanks for your comments