FOP2 FOR MULTIPLE SERVER PLAIN ASTERISK
-
Dear Team FOP2,
I install asterisk from source on centos 6.5 (plain asterisk) and i already success to monitor one server.
This is the diagram of my LAB
softphone (4001)--------------------------> asterisk Server With FOP2 --------------------------------> softphone (4002)
This the config asterisk server fop2.cfg
fop2.cfg
group=All Buttons:SIP/5001,SIP/4001,SIP/4002,SIP/5002,SIP/6001,PARK/default,ZAP/g0
group=All Extensions:SIP/4001,SIP/4002,SIP/5001,SIP/5002,SIP/6001
group=All Trunks:ZAP/g0
group=LT4:SIP/4002,SIP/4001
group=LT5:SIP/5002,SIP/5002,SIP/5001,SIP/5001
group=LT6:SIP/6001
user=4001:4001:chat,spy:LT4
buttonfile=autobuttons.cfgautobuttons.cfg
[SIP/4001]
type=extension
extension=4001
label=4001
context=from-internal[SIP/4002]
type=extension
extension=4002
label=4002
mailbox=4002@default
context=from-internal[SIP/5001]
type=extension
extension=5001
label=5001
mailbox=5001@default
context=from-internal[SIP/5002]
type=extension
extension=5002
label=5002
mailbox=5002@default
context=from-internal[SIP/6001]
type=extension
extension=6001
label=6001
mailbox=6001@default
context=from-internalMy Question, how about if i want to monitor "Server Asterisk II) from FOP Server asterisk I ?, what parameter i should change on config fop2.cfg on Server Asterisk I?
softphone (4001) <----------------------> FOP2 Server asterisk I <---------> Server Asterisk II ------------------> softphone (5001)
Thanks
-
You have to add am extra manager_user, manager_secret and manager_host to connect to the 2nd asterisk box, then on the buttons config just add SIP/5001, you should also add a server=x.x.x.x directive to every button in the config, matching the server they belong.
Best regards,
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