[Asterisk-Users] How to connect two Asterisk servers

Frank Becker frank.becker at groupware4all.de
Sat May 14 02:41:32 MST 2005


> Pls I want to know how to connect two Asterisk servers with sip,on the
> voip-info.org the iax details exist but the sip there is nothing about its
> details,pls any one can help.

Its quite simple:
Server2 (name obelix) should register at server1 (name asterix)

1. Enter in asterix: /etc/sip.conf
[obelix]
;secret=
username=obelix
from_user=obelix
type=friend
context=default
host=dynamic
nat=no

2. in obelix: /etc/sip.conf enter the following in the section [general]
register => obelix at asterix

3. To forward a call from obelix to asterix simply use the following:
exten => s,1,Dial(SIP/${user}@asterix,30,Ttr)


Hope this helps

Frank



More information about the asterisk-users mailing list