<div dir="ltr"><div class="gmail_quote">On Mon, Mar 28, 2011 at 5:52 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
DING DING DING DING! We have a weener! :P<br>
Look at line 3 of your pastebin:<br>
<br>
2011-03-26 02:00:54.058641 [DEBUG] sofia.c:6466 IP 192.168.3.121<br>
Approved by acl "domains[]". Access Granted.<br>
<br></blockquote><div><br></div><div><font class="Apple-style-span" face="verdana, sans-serif" color="#000099">Believe it or not, I SWEAR I was going to highlight that and point it out that my $${domain} was coming up empty and it didn't have anyway to know who was local and who wasn't. So then I added the line</font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif" color="#000099"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif" color="#000099"><node type="allow" cidr="<a href="http://192.168.3.0/24">192.168.3.0/24</a>"/> under <list name="domains"> to "teach" it! But that didn't work either.</font></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Your "domains" ACL is letting the call in, but is not "authenticating"<br>
it so it's hitting the default context. If you absolutely want IP auth<br>
then you need to go into each directory entry for each user you want<br>
to have IP auth and add a tag like this:<br>
<br>
<user id="1000" cidr="192.168.3.10"><br>
<br>
The better way to go, IMHO, is simply to use digest authentication.<br>
That way you don't have to worry about what IP address for what user,<br>
etc. Just make sure that you change the SIP password to something<br>
better than "1234" :)<br>
<br></blockquote><div><br></div><div><font class="Apple-style-span" face="verdana, sans-serif" color="#000099">Sorry, how do I make it do that? Doesn't it do that by default?</font></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I answered this yesterday asking about the ACL. Granted it wasn't<br>
within 10 minutes but it was a Sunday for me... ;)<br>
<br></blockquote><div><br></div><div><font class="Apple-style-span" face="verdana, sans-serif" color="#000099">Might have missed it :(</font></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
-MC<br><br></blockquote><div><br></div><div><font class="Apple-style-span" face="verdana, sans-serif" color="#000099">So bottom line, how do I fix this? like I kinda knew what the problem was, just wasn't sure and didn't know how to fix it :( If changing back to the original/default acl is the answer then why did this problem happen to begin with when I started out with a the basic default config that "make samples" spits out...hell I didn't even change the default pwd (don't worry this is running inside a VM and has no outside access) for registering the UAs. But when I had this issue, I started to much around.</font></div>
</div></div>