Abraham Lincoln
2004-Feb-27 02:53 UTC
[Asterisk-Users] Problem connecting to Asterisk Server
Hi, good day i just install successfully asterisk and when i try iax client to connect to my asterisk server im getting a "Call reject by Remote" this is the content of my iax.conf: register => test:mypass@10.1.1.2 [test] type=friend secret=mypass deny=0.0.0.0/0.0.0.0 permit=10.1.1.2/255.255.255.0 host=10.1.1.2 anyone? encountered this problem and how to fix it... im using iaxclient thanks abraham
Philipp von Klitzing
2004-Feb-27 04:28 UTC
[Asterisk-Users] Problem connecting to Asterisk Server
Hi!> good day i just install successfully asterisk and when i try iax client > to connect to my asterisk server im getting a "Call reject by Remote" > > register => test:mypass@10.1.1.2 > host=10.1.1.2Registration makes only sense - and only works - if you have host=dynamic. The sole purpose of registering is to tell the server at which IP address the client or peer can be found. Cheers, Philipp
Andrew Thompson
2004-Feb-27 11:05 UTC
[Asterisk-Users] Problem connecting to Asterisk Server
Abraham Lincoln wrote:> Hi, > > good day i just install successfully asterisk and when i try iax > client to connect to my asterisk server im getting a "Call reject by > Remote" > > this is the content of my iax.conf: > > register => test:mypass@10.1.1.2 > > [test] > type=friend > secret=mypass > deny=0.0.0.0/0.0.0.0 > permit=10.1.1.2/255.255.255.0 > host=10.1.1.2 > > > anyone? encountered this problem and how to fix it... im using > iaxclient >Normally the subnet mask representing a single IP is 255.255.255.255, but I've not tried this in *, it could be different. Add a username section with the same name as your definition. See my setup, below: [712] type=friend context=testlocal username=712 secret=apassword host=dynamic callerid=712 mailbox=712 notransfer=yes ----- Andrew Thompson http://aktzero.com/