On Mon, 14 Apr 2008, Bernd Felsche wrote:
> Steve Edwards <[EMAIL PROTECTED]> wrote:
>
>> I'm mainly interested in "consistency" in configuration. The "method" has
>> to be sophisticated enough to handle "this box has 2 Ethernet interfaces
>> so I should configure OpenSER and Asterisk to listen to both IP addresses
>> on ports 5060 and 5061 respectively." This would preclude rsync.
>
> Why do you think that that would preclude rsync?
Well, it may be based on my ignorance :)
Can rsync mung a stanza from iax.conf like:
[general]
disallow = all
allow = ulaw
mailboxdetail = no
notransfer = yes
port = 5036
register = ${HOSTNAME}:[EMAIL PROTECTED]
trunk = no
and insert the appropriate values?
Can rsync create /etc/sysconfig/openser like:
# Created by ./host-setup.sh on 2008-04-12 17:55:03
OPTIONS=
OPTIONS="$OPTIONS -l a.b.c.d:5060"
OPTIONS="$OPTIONS -l a.b.c.e:5060"
# (end of /etc/sysconfig/openser)
where a.b.c.d and a.b.c.e are the IP address of eth0 and eth1? (And the
3rd line would only be created if there are 2 interfaces.)
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards [EMAIL PROTECTED] Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users