Im sure this has been beat to death but here goes…
I have one server with multiple T1’s associated with it
I have another server with no T1’s associated with it.
I am trying to make calls from the server with no T1’s through the one with the T1’s.
I have an IAX2 trunk that is up and functional between the two but Im receiving the following errors from the server with the T1’s when I try to make the call.
chan_iax2.c:6796 socket_read: Rejected connect attempt from 192.168.0.7, who was trying to reach ‘1phonenumbergoeshere@’
CONFIG
----- SERVER with T1’s IAX.conf -------
register => server01:XXXX@192.168.0.7
[server03]
type=friend
username=server03
secret=XXXX
host=192.168.0.7
disallow=all
allow=ulaw
qualify=yes
auth=plaintext
context=dialer
----- SERVER WITH T1’s Extensions.conf ------
exten => _1921680000078600XXX,1,Dial(IAX2/server01@server03/${EXTEN:17},55,o)
exten => _1921680000078600XXX,2,Hangup
------ BREAK -------
------ SERVER WITHOUT T1’s IAX.conf -------
register => server03:XXXX@192.168.0.5
[server01]
type=peer
username=server01
secret=XXXX
host=192.168.0.5
disallow=all
allow=ulaw
qualify=yes
auth=plaintext
context=dialer
------ SERVER WITHOUT T1’s extensions.conf -------
exten => _9XNXXNXXXXXX,1,Dial(IAX2/server03@server01/${EXTEN}||o)
exten => _1921680000058600XXX,1,Dial(IAX2/server03@server01/${EXTEN:17},55,o)
exten => _1921680000058600XXX,2,Hangup
------ BREAK -----
any help would be greatly appreciated…
-enjay