FOP2 FOR MULTIPLE SERVER PLAIN ASTERISK

  1. 9 years ago

    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.cfg

    autobuttons.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-internal

    My 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

  2. admin

    3 Mar 2015 Administrator

    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,

or Sign Up to reply!