Unabled to receive calls over IAX

First of all I’m using Voiceone for configuring Asterisk but I don’t think the problem I’m experiencing is a Voiceone problem. With agi debug on it doesn’t show incoming.php executed.

When I try calling my DID I get the following error:

[code]Tx-Frame Retry[-01] – OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00085ms SCall: 00002 DCall: 00004 [202.180.81.50:4569]
Rx-Frame Retry[ No] – OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00015ms SCall: 00003 DCall: 00000 [202.180.81.50:4569]
VERSION : 2
CALLED NUMBER : 6499744586
CODEC_PREFS : (ulaw|alaw|gsm|ilbc|g729)
CALLING NUMBER : 64295654751
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
LANGUAGE : en
FORMAT : 256
CAPABILITY : 64782
ADSICPE : 2
DATE TIME : 2007-01-09 13:33:32

Jan 9 09:51:33 NOTICE[12863]: chan_iax2.c:6907 socket_read: Rejected connect attempt from 202.180.81.50, who was trying to reach '6499744586@'
Tx-Frame Retry[000] – OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REJECT
Timestamp: 00017ms SCall: 00005 DCall: 00003 [202.180.81.50:4569]
CAUSE : No authority found
CAUSE CODE : 50[/code]

From what I’ve read this probably means there’s a problem with a username or password. I can’t post my iax.conf because Voiceone stores settings in a database; I can however register and make outgoing calls quite with the same provider.

Does anyone have any idea what could be going wrong, or something else I can do to try and figure out where it’s going wrong?

I’m running Asterisk 1.2.13, Gentoo 2006.1, kernel 2.6.18, Voiceone 0.4.2.

TIA

I could be wrong but it seems to be missing a context to dial the incoming number in. Have you set an incoming context for the trunk?

is there anyway to list the contexts in the asterisk console? voiceone stores setting in a mysql database which makes it a bit difficult to check.

TIA