[SOLVED] Faxing ... please help!

Hi,
Im using Hylafax and iaxmodem to fax on my asterisk box. I have no problem for receiving fax but i can’t send.

My Error :

Oct 18 17:28:37 NOTICE[5485]: chan_iax2.c:6902 socket_read: Rejected connect attempt from 127.0.0.1, who was trying to reach 'XXXXXXXXXX@'

(Remplace the Xs by a phone number)

My Conf about the fax :
iax.conf:


[fax]
type=peer
username=fax
secret=XXX
host=dynamic
allow=all
context=torrent-out

So i don’t understand why it’s not working.

Well if anyone ever have this problem ! Solution :

in iax.conf the type is friend not peer