[asterisk-users] Registration of 'cstore' rejected: 'Registration Refused' from: '62.213.196.38'

jonas kellens jonas.kellens at telenet.be
Thu Apr 30 14:22:29 CDT 2009


According to my IAX-provider, an account has been created for me on
their Asterisk-server...

But the Asterisk CLI tells me this :

asterisk*CLI> iax2 reload
  == Parsing '/etc/asterisk/iax.conf': Found
[Apr 30 20:51:30] NOTICE[6391]: chan_iax2.c:10124 set_config: Ignoring
bindport on reload
[Apr 30 20:51:30] NOTICE[6391]: 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'
[Apr 30 20:51:30] NOTICE[3203]: chan_iax2.c:8474 socket_process:
Registration of 'cstore' rejected: 'Registration Refused' from:
'62.213.196.38'
asterisk*CLI> iax2 show registry
Host                  dnsmgr  Username    Perceived             Refresh
State
62.213.196.38:4569    N       cstore      <Unregistered>             60
Rejected
[Apr 30 20:52:20] NOTICE[3206]: chan_iax2.c:8474 socket_process:
Registration of 'cstore' rejected: 'Registration Refused' from:
'62.213.196.38'
asterisk*CLI> exit

Now, before I tell my IAX-provider that the fault lies with them I want
to be sure that I did nothing wrong.

My iax.conf :

[general]
autokill=yes
bindport=4569
bindaddr=192.168.3.249

register => cstore:my-password at ip-of-iaxprovider

[cstore] ; my accountname @ remote Asterisk
type=user
auth=plaintext,md5
trunk=yes
context=from-iaxprovider
disallow=all
allow=ulaw
allow=alaw
allow=gsm

[attractel] ; IAX-provider
type=peer
host=ip-of-iaxprovider
username=cstore ; username @ remote asterisk
secret=my-password ; pass @ remote Asterisk
trunk=yes
disallow=all
allow=ulaw
allow=alaw
allow=gsm

My Asterisk-server has a user-account on the remote Asterisk-server, so
I need to define the remote Asterisk-server as a peer, right ?!

Do you see anything wrong in my config ? Is the "[NOTICE] registration
rejected" my fault ? Or my IAX-providers's fault ??

Thanks for the feedback !
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090430/b2e1cf1f/attachment.htm 


More information about the asterisk-users mailing list