[Asterisk-Users] Tying together two Asterisk servers

Scott Henderson scott at finite-tech.com
Wed May 25 18:51:21 MST 2005


I am trying to tie together two asterisk servers.  I keep getting an 
error is clearly indicating I have missed something in the configuration 
but I am just not sure what.

Server A has connection to the PSTN and Server B has SIP and other 
phones connected but no PSTN.

The relevant configurations and error messages are as follows:

Server A:
May 25 13:52:34 NOTICE[4362]: chan_iax2.c:5448 socket_read: Rejected 
connect attempt from 66.230.104.113

iax.conf

[finitetech] 
type=peer
host=dynamic
secret=password
context=iaxtrunks
allow=all
trunk=yes

extensions.conf

[iaxtrunks]
exten => _1NXXNXXXXXX,1,Dial(Zap/R1/9072673700,20,D(9073372860${EXTEN:0}))

Server B:
May 25 12:53:19 WARNING[9437]: chan_iax2.c:5546 socket_read: Call 
rejected by 12.166.160.13: No authority found

iax.conf
register => finitetech:password at 12.166.xxx.xxx

extensions.conf
exten => 
_81NXXNXXXXXX,1,Dial(IAX2/finitetech:dottd00 at 12.166.160.13/D(${EXTEN:1}@iaxtrunks)

-- 
Scott Henderson
============================================================================
Finite Technologies Incorporated
3763 Image Drive, Anchorage, Alaska 99504
Phone: 907.339.8085 ext 6101, Fax: 907.333.4482
http://www.finite-tech.com
http://www.chillywall.com
http://www.virtuale.cc
http://www.mphage.com
Current Local Time: http://www.worldtimeserver.com/time.asp?locationid=US-AK
============================================================================




More information about the asterisk-users mailing list