[asterisk-users] Can someone help me with my IAX-registration

jonas kellens jonas.kellens at telenet.be
Sat May 2 03:59:13 CDT 2009


I have connected my Asterisk-box directly to my internetconnection. I
have disabled my firewall.

Still I am unable to register with my IAX-provider. Can someone please
point me out why I am unable to register my Asterisk to another
Asterisk-box ?
A RegReq is send to the other Asterisk-box but no reply is received...
No confirm, no reject...

I have tried yet several configuration in my iax.conf file.
There is also always the "ignoring bindaddr" and "ignoring bindport"...
which doesn't sound right.

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.
So my iax.conf :

[general]
autokill=yes
bindport=4569
bindaddr=78.22.166.226 ; the IP-address I get from my ISP

register => cstore:my-password at ip-of-other-iax-box

[cstore]
type=user
trunk=yes
context=from-other-iax-box
disallow=all
allow=ulaw
allow=alaw
allow=gsm

[attractel] ; name I use in extensions.conf to contact other iax-box
type=peer
host=ip-address
username=cstore ; username @ remote asterisk
secret=my-password ; pass @ remote Asterisk
auth=plaintext,md5
trunk=yes
disallow=all
allow=ulaw
allow=alaw
allow=gsm

IAX reload :

asterisk*CLI> iax2 reload
  == Parsing '/etc/asterisk/iax.conf': Found
[May  2 10:34:23] NOTICE[4626]: chan_iax2.c:10124 set_config: Ignoring
bindport on reload
[May  2 10:34:23] NOTICE[4626]: chan_iax2.c:10183 set_config: Ignoring
bindaddr on reload
       > doing dnsmgr_lookup for '62.213.196.38'
  == Parsing '/etc/asterisk/users.conf': Found
       > doing dnsmgr_lookup for '62.213.196.38'
  == Loaded firmware 'iaxy.bin'
  == Parsing '/etc/asterisk/iaxprov.conf': Found
    -- Loaded provisioning template 'default'

Is ignoring bindaddr and bindport normal ?????

IAX debug :

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
REGREQ 
   Timestamp: 00019ms  SCall: 13117  DCall: 00000 [62.213.196.38:4569]
   USERNAME        : cstore
   REFRESH         : 60

Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
REGREQ 
   Timestamp: 00019ms  SCall: 13117  DCall: 00000 [62.213.196.38:4569]
   USERNAME        : cstore
   REFRESH         : 60

Tx-Frame Retry[002] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
REGREQ 
   Timestamp: 00019ms  SCall: 13117  DCall: 00000 [62.213.196.38:4569]
   USERNAME        : cstore
   REFRESH         : 60

IAX status :

asterisk*CLI> iax2 show registry
Host                           dnsmgr  Username    Perceived
Refresh   State
62.213.196.38:4569    N           cstore      <Unregistered>       60
Request Sent

Host                           dnsmgr  Username    Perceived
Refresh  State
62.213.196.38:4569    N           cstore      <Unregistered>       60
Timeout


Thanks for the help,
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090502/9acb3c20/attachment.htm 


More information about the asterisk-users mailing list