[asterisk-dev] bug: autocreate peer + sippeers table entry => auth required

Johansson Olle E olle at voop.com
Sat Oct 28 10:22:50 MST 2006


28 okt 2006 kl. 01.06 skrev Mark Price:

> I posted a similar message to asterisk-users a few days ago and no- 
> one replied, and this looks like a bug, so I'm both sending another  
> message to asterisk-users and reporting it here.
>
> In my setup, sip calls coming in through a proxy with a sip.conf  
> entry set to "autocreatepeer=yes" and context="proxy" get placed  
> into context proxy in the dial plan.  That is expected.
>
> However, if the username in the From: address exists in the  
> sippeers table, it gets challenged for the password and on success  
> is dropped into context "default," even if the sip domain is not  
> being served by asterisk.
>
That is a side effect of the current way we match incoming calls to  
the list of defined users. It does not care about
domains at all, something that is going to change in codename pineapple.

/O



More information about the asterisk-dev mailing list