<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
I have connected my Asterisk-box directly to my internetconnection. I have disabled my firewall.<BR>
<BR>
Still I am unable to register with my IAX-provider. Can someone <B>please</B> point me out why I am unable to register my Asterisk to another Asterisk-box ?<BR>
A RegReq is send to the other Asterisk-box but no reply is received... No confirm, no reject...<BR>
<BR>
I have tried yet several configuration in my iax.conf file.<BR>
There is also always the "ignoring bindaddr" and "ignoring bindport"... which doesn't sound right.<BR>
<BR>
What I know from books is that when you want to connect your Asterisk to another Asterisk-box you need to describe this other Asterisk-box as a peer.<BR>
So my iax.conf :<BR>
<BR>
<FONT SIZE="2">[general]</FONT><BR>
<FONT SIZE="2">autokill=yes</FONT><BR>
<FONT SIZE="2">bindport=4569</FONT><BR>
<FONT SIZE="2">bindaddr=78.22.166.226 ; the IP-address I get from my ISP</FONT><BR>
<BR>
<FONT SIZE="2">register => cstore:my-password@ip-of-other-iax-box</FONT><BR>
<BR>
<FONT SIZE="2">[cstore]</FONT><BR>
<FONT SIZE="2">type=user</FONT><BR>
<FONT SIZE="2">trunk=yes</FONT><BR>
<FONT SIZE="2">context=from-other-iax-box</FONT><BR>
<FONT SIZE="2">disallow=all</FONT><BR>
<FONT SIZE="2">allow=ulaw</FONT><BR>
<FONT SIZE="2">allow=alaw</FONT><BR>
<FONT SIZE="2">allow=gsm</FONT><BR>
<BR>
<FONT SIZE="2">[attractel] ; name I use in extensions.conf to contact other iax-box</FONT><BR>
<FONT SIZE="2">type=peer</FONT><BR>
<FONT SIZE="2">host=ip-address</FONT><BR>
<FONT SIZE="2">username=cstore ; username @ remote asterisk</FONT><BR>
<FONT SIZE="2">secret=my-password ; pass @ remote Asterisk</FONT><BR>
<FONT SIZE="2">auth=plaintext,md5</FONT><BR>
<FONT SIZE="2">trunk=yes</FONT><BR>
<FONT SIZE="2">disallow=all</FONT><BR>
<FONT SIZE="2">allow=ulaw</FONT><BR>
<FONT SIZE="2">allow=alaw</FONT><BR>
<FONT SIZE="2">allow=gsm</FONT><BR>
<BR>
IAX reload :<BR>
<BR>
<FONT SIZE="2">asterisk*CLI> iax2 reload</FONT><BR>
<FONT SIZE="2"> == Parsing '/etc/asterisk/iax.conf': Found</FONT><BR>
<FONT SIZE="2">[May 2 10:34:23] NOTICE[4626]: chan_iax2.c:10124 set_config: Ignoring bindport on reload</FONT><BR>
<FONT SIZE="2">[May 2 10:34:23] NOTICE[4626]: chan_iax2.c:10183 set_config: Ignoring bindaddr on reload</FONT><BR>
<FONT SIZE="2"> > doing dnsmgr_lookup for '62.213.196.38'</FONT><BR>
<FONT SIZE="2"> == Parsing '/etc/asterisk/users.conf': Found</FONT><BR>
<FONT SIZE="2"> > doing dnsmgr_lookup for '62.213.196.38'</FONT><BR>
<FONT SIZE="2"> == Loaded firmware 'iaxy.bin'</FONT><BR>
<FONT SIZE="2"> == Parsing '/etc/asterisk/iaxprov.conf': Found</FONT><BR>
<FONT SIZE="2"> -- Loaded provisioning template 'default'</FONT><BR>
<BR>
Is ignoring bindaddr and bindport normal ?????<BR>
<BR>
IAX debug :<BR>
<BR>
<FONT SIZE="2">Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ </FONT><BR>
<FONT SIZE="2"> Timestamp: 00019ms SCall: 13117 DCall: 00000 [62.213.196.38:4569]</FONT><BR>
<FONT SIZE="2"> USERNAME : cstore</FONT><BR>
<FONT SIZE="2"> REFRESH : 60</FONT><BR>
<BR>
<FONT SIZE="2">Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ </FONT><BR>
<FONT SIZE="2"> Timestamp: 00019ms SCall: 13117 DCall: 00000 [62.213.196.38:4569]</FONT><BR>
<FONT SIZE="2"> USERNAME : cstore</FONT><BR>
<FONT SIZE="2"> REFRESH : 60</FONT><BR>
<BR>
<FONT SIZE="2">Tx-Frame Retry[002] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ </FONT><BR>
<FONT SIZE="2"> Timestamp: 00019ms SCall: 13117 DCall: 00000 [62.213.196.38:4569]</FONT><BR>
<FONT SIZE="2"> USERNAME : cstore</FONT><BR>
<FONT SIZE="2"> REFRESH : 60</FONT><BR>
<BR>
IAX status :<BR>
<BR>
<FONT SIZE="2">asterisk*CLI> iax2 show registry</FONT><BR>
<FONT SIZE="2">Host dnsmgr Username Perceived Refresh State</FONT><BR>
<FONT SIZE="2">62.213.196.38:4569 N cstore <Unregistered> 60 Request Sent</FONT><BR>
<BR>
<FONT SIZE="2">Host dnsmgr Username Perceived Refresh State</FONT><BR>
<FONT SIZE="2">62.213.196.38:4569 N cstore <Unregistered> 60 Timeout</FONT><BR>
<BR>
<BR>
Thanks for the help,<BR>
Jonas.
</BODY>
</HTML>