Listen on the multiple servers
Hello!
I have 2 servers TrixBox, installed FOP2.
[general]
; AMI definitions
manager_host=localhost
manager_port=5038
manager_user=admin
manager_secret=amp111
; Server 2
manager_host = 192.168.0.2
manager_port = 5038
manager_user = admin
manager_secret = amp111
user=102:102:all
user=202:202:all
buttonfile=buttons.cfg
buttons.cfg
[SIP/101]
type=extension
extension=101
context=from-internal
label=Nicolas
mailbox=101@default
extenvoicemail=*101@from-internal
privacy=all
[SIP/102]
type=extension
extension=102
context=from-internal
label=Nicolas
mailbox=102@default
extenvoicemail=*102@from-internal
privacy=all
[SIP/201]
type=extension
extension=201
context=from-internal
label=Nicolas
mailbox=201@default
extenvoicemail=*201@from-internal
privacy=all
[SIP/202]
type=extension
extension=202
context=from-internal
label=Nicolas
mailbox=202@default
extenvoicemail=*202@from-internal
privacy=all
101,102 - extentions on 1st TrixBox
201,202 - extentions on 2nd.
1st adn 2nd TrixBox connected dy IAX2. When I connect to 1st server by 102 extention I see all buttons from 2 servers, all status is active, but I can listen only when ex. 101 talking. When 201,202 talking - I see it, but when I click the "listen" button nothing happend. How can I listen talks from 2nd trixbox? Or I must connect directly to 2nd server?????
I have 2 servers TrixBox, installed FOP2.
[general]
; AMI definitions
manager_host=localhost
manager_port=5038
manager_user=admin
manager_secret=amp111
; Server 2
manager_host = 192.168.0.2
manager_port = 5038
manager_user = admin
manager_secret = amp111
user=102:102:all
user=202:202:all
buttonfile=buttons.cfg
buttons.cfg
[SIP/101]
type=extension
extension=101
context=from-internal
label=Nicolas
mailbox=101@default
extenvoicemail=*101@from-internal
privacy=all
[SIP/102]
type=extension
extension=102
context=from-internal
label=Nicolas
mailbox=102@default
extenvoicemail=*102@from-internal
privacy=all
[SIP/201]
type=extension
extension=201
context=from-internal
label=Nicolas
mailbox=201@default
extenvoicemail=*201@from-internal
privacy=all
[SIP/202]
type=extension
extension=202
context=from-internal
label=Nicolas
mailbox=202@default
extenvoicemail=*202@from-internal
privacy=all
101,102 - extentions on 1st TrixBox
201,202 - extentions on 2nd.
1st adn 2nd TrixBox connected dy IAX2. When I connect to 1st server by 102 extention I see all buttons from 2 servers, all status is active, but I can listen only when ex. 101 talking. When 201,202 talking - I see it, but when I click the "listen" button nothing happend. How can I listen talks from 2nd trixbox? Or I must connect directly to 2nd server?????
Comments
originatechannel=Local/{EXTEN}@{CONTEXT}
If you have a unified dialplan, that might work, as the spy session will start in your local dialplan, reach the other server, your phone rings, and when you pickup you will be inside chanspy. Give it a try, it should work.