IAX2 Rejected connect attempt from

Hello,

I’m French, and I’m writing to you because i need help to configure my Astérisk.

I have installed Asterisk, Hylafax, IAXMODEM on Debian to send and receive faxes. I followed the tutorial on asterisk-book web site.

To send faxes everything is ok. But when i try to receive one there is a message that says :
"chan_iax2.c:6981 socket_process: Rejected connect attempt from 213.161.201.240, who was trying to reach ‘0877192850@’’

I’m looking for solutions on web but i can’t find anyone. So can you help me for this ?

At the end of this email, you can find my configuration’s files and some command of Asterisk for control IAX2.

Excuse me for my bad english.

Thank you very much for your help.

Geoffroy

#iax2 show peers

Name/Username Host Mask Port Status
iaxmodem 127.0.0.1 (D) 255.255.255.255 4570 Unmonitored

#iax2 show registry

Host dnsmgr Username Perceived Refresh State
213.161.201.240:4569 N xxxxxxxx 80.170.90.220:51776 60 Registered

#iax2 set debug

Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00006ms SCall: 00174 DCall: 00000 [213.161.201.200:4569]
VERSION : 2
CALLED NUMBER : 0877192850
CODEC_PREFS : (ulaw|alaw|ilbc|gsm|g729|g723|g726)
CALLING NUMBER : 0493939393
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
LANGUAGE : fr
USERNAME : XXXXXXXXXXX
FORMAT : 4
CAPABILITY : 64799
ADSICPE : 2
DATE TIME : 2007-07-20 16:38:40

SERVEUR*CLI>
[Jul 20 16:49:18] NOTICE[2497]: chan_iax2.c:6981 socket_process: Rejected connect attempt from 213.161.201.240, who was trying to reach '0808080808@'
Tx-Frame Retry[-01] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
Timestamp: 00006ms SCall: 00002 DCall: 00174 [213.161.201.200:4569]
Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REJECT
Timestamp: 00012ms SCall: 00002 DCall: 00174 [213.161.201.200:4569]
CAUSE : No authority found
CAUSE CODE : 50


#FILE iax.conf
[general]
bindport = 4569
bindaddr = 0.0.0.0
disallow=all
allow=ulaw
allow=alaw

[iaxmodem]
type=friend
secret=password
port=4570
host=dynamic
context=fax-out
disallow=all
allow=alaw


#FILE sip.conf
[123456]
type=friend
insecure=very;
nat=yes
username=123456
fromuser=12345
fromdomain=my-voip-provider.com
secret=secret
host=my-voip-provider.com
qualify=yes
context=fax-in


#FILE extension.conf
[fax-in]
exten => _X.,1,Dial(IAX2/iaxmodem)

[fax-out]
exten => _X.,1,Dial(SIP/123456/${EXTEN})