<div dir="ltr"><div class="gmail_quote">On Mon, Mar 28, 2011 at 6:07 PM, A E [Gmail] <span dir="ltr"><<a href="mailto:all.eforums@gmail.com">all.eforums@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr"><div class="gmail_quote"><div class="im">On Mon, Mar 28, 2011 at 5:52 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">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><div><font 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 face="verdana, sans-serif" color="#000099"><br></font></div><div><font face="verdana, sans-serif" color="#000099"><node type="allow" cidr="<a href="http://192.168.3.0/24" target="_blank">192.168.3.0/24</a>"/> under <list name="domains"> to "teach" it! But that didn't work either.</font></div>
<div class="im">
<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><div><font face="verdana, sans-serif" color="#000099">Sorry, how do I make it do that? Doesn't it do that by default?</font></div><div class="im"><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><div><font 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 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>
</blockquote></div><br><div><font class="Apple-style-span" face="verdana, sans-serif">Bloody hell! I moved the modified acl file and did a "make samples" again and now it's going through the extensions in default context. Of course I get a "502" back but, with other bizarre issues going on...coz of all the hacky stuff I did to make it compile on Solaris 11, primarily coz it uses the "mod_hash" application that didn't compile so I commented it out but now it hangs up the call whenever that application is called in the dialplan. Wonder if anyone will answer my other email which has my Solaris woes!</font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">Thanks Michael and Jeff, I have no idea how, but you were right! I still don't get why the default config didn't work the first time!</font></div>
</div>