[Asterisk-Users] Problem connecting to Asterisk Server

2004-02-27 Thread Abraham Lincoln
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:[EMAIL PROTECTED]

[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
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problem connecting to Asterisk Server

2004-02-27 Thread Philipp von Klitzing
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:[EMAIL PROTECTED]
 host=10.1.1.2

Registration 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


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Problem connecting to Asterisk Server

2004-02-27 Thread Andrew Thompson
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:[EMAIL PROTECTED]
 
 [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/ 


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Problem connecting to Asterisk Server

2004-02-27 Thread Andrew Thompson
I know, I should reply to myself, but I just realized this...

Andrew Thompson wrote:
 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:[EMAIL PROTECTED]
 
 [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
 

I believe I read here a few days ago that the host and username
definitions are like either/or. Either you use a username, or you use a
host address. 

This is a statement I would like someone to tell me if I am correct on:

If you are using a host= line, then a permit/deny is redundant(and
possibly just plain wrong?)

-
Andrew Thompson
http://aktzero.com/ 


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users