Hi,
I'm running a Multi Tenant Setup where I have more Asterisk servers with the same extensions. My configuration looks like this:
fop2.cfg:
[general]
; tenant 1
manager_host=xx.xx.xx.1
manager_port=5038
manager_user=fop
manager_secret=my-pwd
;tenant 2
manager_host=xx.xx.xx.2
manager_port=5038
manager_user=fop
manager_secret=my-pwd
[tenant1]
user=100:1234:all
user=101:1234:all
buttonfile=tenant1_buttons.cfg
[tenant2]
user=100:1234:all
user=101:1234:all
buttonfile=tenant2_buttons.cfg
tenant1_buttons.cfg:
type=extension
extension=100
context=from-internal
label=User 100
channel=SIP/100
type=extension
extension=101
context=from-internal
label=User 101
channel=SIP/101
tenant2_buttons.cfg:
type=extension
extension=100
context=from-internal
label=User 100
channel=SIP/100
type=extension
extension=101
context=from-internal
label=User 101
channel=SIP/101
As there is no link between bottons and servers I see activity of i. e. extension 100 on tenant 1 on both tenant-views.
The docu says:
Later, on the button definition, you might want to specify the server. If you do not specify the server in the button definition the action you perform will be broadcasted to all servers.
How can I do this? I didn't find the command to specify the server.