Kevin P. Fleming wrote:
Is there a reason why Asterisk allows incoming IAX2 calls without USERNAME specified at all?

1) host=dynamic makes no sense in a type=user 2) One sends the username to be used to the peer On the machine you wish to dial out, you have in your iax.conf:

[peer]
type=peer
host=1.2.3.4
secret=foo

and in that same machine's extensions.conf you have something that looks like:

Dial,IAX2/[EMAIL PROTECTED]/${EXTEN}



Then on the 'peer' (other) machine you need:

[USER]
type=user
context=incoming
auth=md5


which is cAsE SeNsITiVe. Plus you need the appropriate extension(s) in this (other) machine's extensions.conf.




Have you bothered to study any of the documentation out there? Start here: http://www.voip-info.org/



Jeremy McNamara



_______________________________________________
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

Reply via email to