Matthias Fechner wrote:
Hello Joshua,

Joshua Colp wrote:
[portunity-out]
type=friend
host=iax.iaxport.de
username=XXXXXXX
secret=YYYYYY
context=incoming-portunity
notransfer=yes
Only if the username is specified as portunity-out when the other side dials
you. Otherwise your Asterisk has no idea what to authenticate them as so it
takes a guess and in the end settles on guest.

But should not asterisk here see, that the call is comming in from the
host: host=iax.iaxport.de or from the username=iaxXXXXXX?
In the SIP configuration I do it this way.

Or need I to define some other parameters in the section
[portunity-out] or easily rename it.

If I get a call, asterisk says the following: (I hope everything is in :) )

The remote side is not sending the username to authenticate as (it's not shown in the NEW) so your Asterisk does not know who to authenticate it as, and thus chooses guest. As for host based matching - this doesn't happen as you might expect. You need to use permit and deny lines to get the user entry matched. Check into the sample iax.conf to see how to do this.

--
Joshua Colp
Software Developer
Digium
P - 256-428-6066
C - 506-878-0147
[EMAIL PROTECTED]
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to