i am routing all outbound traffic thru a primary sail box for accounting purposes. The sail to sail trunks are perfect and function flawlessly.
I have one freepbx box that i have tried to connect, trunking to the sark box over an internal lan
on sark i have this
[hellocallme]
type=peer
host=192.168.xxx.xxx
qualify=3000
canreinvite=no
username=hellocallme
secret=asterisk
trunk=yes
disallow=all
allow=alaw
allow=ulaw
[callmehello]
type=user
context=internal
secret=asterisk
on freepbx i have this .
[callmehello]
allow=alaw&ulaw
canreinvite=no
disallow=all
host=192.168.xxx.xxx
qualify=3000
secret=asterisk
trunk=yes
type=peer
username=hellocallme
[callmehello]
context=internal
secret=asterisk
type=user
the trunk seems to be happily connected, but if i initiate a call from the freepbx box, i get " call declined" and the following error in cli...
"chan_iax2.c:7241 socket_process: Rejected connect attempt from 192.168.xxx.xxx, who was trying to reach 'NXXNXXXXXX@' "
of course when i initiate a call from another sark box, all is well
many regards