[Asterisk-Users] How to connect two Asterisk servers

Kanuri, Seshu (Company IT) Seshu.Kanuri at morganstanley.com
Mon May 16 11:19:50 MST 2005


Frank,

Your solution is not clear to me. Can you tell me what Step 2 will do?

[general] 
register => obelix at asterix

How will it resolve the name obelix as an authenticated user, assuming
that asterix is reolved using dns? 

Seshu



-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Frank
Becker
Sent: Saturday, May 14, 2005 5:42 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] How to connect two Asterisk servers

> 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 - Server 1
[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              - server 2 
[general] 
register => obelix at asterix

3. in obelix: To forward a call to asterix 
   simply use the following:              - Server 2

exten => s,1,Dial(SIP/${user}@asterix,30,Ttr)


Hope this helps

Frank
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users 
--------------------------------------------------------
 
NOTICE: If received in error, please destroy and notify sender.  Sender does not waive confidentiality or privilege, and use is prohibited. 
 



More information about the asterisk-users mailing list