I have a client with two Asterisk Servers (both running Freepbx)
FOP2 is working well, showing status of callers on both systems very well.
The issue is with the status of the trunks (one in Australia labelled Dahdi-syd and the one in New Zealand called Dahdi-nz).
The Australian trunk is an 10 Channel ISDN/E1/T1 (Dahdi1-10), the New Zealand one is 3 PSTN lines (Dahdi 2-4).
The important parts of the configuration are below for both buttons.cfg and fop2.cfg. Naturally we are not using the auto-config due to the two servers.
The issue is, that all the calls are showing that they are going out via the Dahdi-nz (which they are not - checked).
Could you explain further what the server1 and server2 variables are and what they effect. As you can see, from your instructions, I have added them. How are they used? and should there be a matching server variable in the FOP2.cfg so that the FOP2 can differentiate which dahdi line belongs to which server.
Hope you can help.....
Regards
Bob
current configs following
===================================
Buttons.cfg
====================================
[DAHDI/1]
type=trunk
label=DAHDI-SYD
channel=DAHDI/2
channel=DAHDI/3
channel=DAHDI/4
channel=DAHDI/5
channel=DAHDI/6
channel=DAHDI/7
channel=DAHDI/8
channel=DAHDI/9
channel=DAHDI/10
server=1
[DAHDI/1]
type=trunk
label=DAHDI-NZ
channel=DAHDI/2
channel=DAHDI/3
channel=DAHDI/4
server=2
======================================
fop2.cfg
======================================
[general]
; Elastix_AU Server AMI definitions
manager_host=localhost
manager_port=5038
manager_user=fop2user
manager_secret=hill2climb
;event_mask=call,agent
; Elastix_NZ Server AMI definitions
manager_host=192.168.0.12
manager_port=5038
manager_user=fop2nzuser
manager_secret=wind2see
;event_mask=call,agent
; Daemon definitios
;listen_port = 4445
;restrict_host = www.asternic.org
;web_dir = /var/www/html/operator/fop2
; Global Config
language = en
poll_interval = 86400
poll_voicemail = 1
monitor_ipaddress = 0
master_key = 5678
; USER LIST
user=870:870:dial,transfer,hangup,pickup,record,meetme
user=860:860:dial,transfer,hangup,pickup,record,meetme
user=850:850:dial,transfer,hangup,pickup,record,meetme
user=561:561:dial,transfer,hangup,pickup,record,meetme
user=560:560:dial,transfer,hangup,pickup,record,meetme
user=562:562:dial,transfer,hangup,pickup,record,meetme
user=854:854:all
user=853:853:dial,transfer,hangup,pickup,record,meetme
user=852:852:dial,transfer,hangup,pickup,record,meetme
user=851:851:dial,transfer,hangup,pickup,record,meetme
user=815:815:dial,transfer,hangup,pickup,record,meetme
user=599:599:dial,transfer,hangup,pickup,record,meetme
user=563:563:dial,transfer,hangup,pickup,record,meetme
user=816:816:dial,transfer,hangup,pickup,record,meetme
user=813:813:dial,transfer,hangup,pickup,record,meetme
user=811:811:dial,transfer,hangup,pickup,record,meetme
user=564:564:dial,transfer,hangup,pickup,record,meetme
user=814:814:dial,transfer,hangup,pickup,record,meetme
user=520:520:dial,transfer,hangup,pickup,record,meetme
user=501:501:dial,transfer,hangup,pickup,record,meetme
;etc...
buttonfile=buttons.cfg
;#exec autoconfig-users-freepbx.sh