Lars,<br><br>Brian pointed out that the challenge is coming from the phone. Is 192.168.10.104 the Snom?<br><br>-MC<br><br><div class="gmail_quote">On Tue, Jul 14, 2009 at 10:46 AM, Lars Zeb <span dir="ltr"><<a href="mailto:larclap@yahoo.com" target="_blank">larclap@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="color: rgb(85, 85, 85);">Michael,</span></p>
<p><span style="color: rgb(85, 85, 85);"> </span></p>
<p><span style="color: rgb(85, 85, 85);">I
made the changes you suggested, but the result is the same. If it matters, I am
at 14229. I stopped and restarted FreeSWITCH and then reran the intercom call.</span></p>
<p><span style="color: rgb(85, 85, 85);"> </span></p>
<p><span style="color: rgb(85, 85, 85);">Lars</span></p>
<p><span style="font-size: 10pt; font-family: "Lucida Console"; color: rgb(85, 85, 85);"> </span></p>
<p><span style="font-size: 8pt; font-family: "Courier New"; color: rgb(85, 85, 85);"> </span><span style="font-size: 8pt; font-family: "Courier New"; color: rgb(0, 187, 187);"><configuration </span><span style="font-size: 8pt; font-family: "Courier New"; color: rgb(0, 187, 0);">name</span><span style="font-size: 8pt; font-family: "Courier New";">=<span style="color: rgb(187, 0, 0);">"acl.conf"</span><span style="color: rgb(0, 187, 187);"> </span><span style="color: rgb(0, 187, 0);">description</span>=<span style="color: rgb(187, 0, 0);">"Network Lists"</span><span style="color: rgb(0, 187, 187);">></span><span style="background: black none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: black;"></span></span></p>
<p><span style="font-size: 8pt; font-family: "Courier New"; color: rgb(85, 85, 85);"> </span><span style="font-size: 8pt; font-family: "Courier New";"> <span style="color: rgb(0, 187, 187);"><network-lists></span><span style="background: black none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: black;"></span></span></p>
<p><span style="background: black none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-size: 8pt; font-family: "Courier New"; color: black;"> </span></p>
<p><span style="font-size: 8pt; font-family: "Courier New"; color: rgb(85, 85, 85);"> </span><span style="font-size: 8pt; font-family: "Courier New";"> <span style="color: rgb(0, 187, 187);"><list </span><span style="color: rgb(0, 187, 0);">name</span>=<span style="color: rgb(187, 0, 0);">"lan"</span><span style="color: rgb(0, 187, 187);"> </span><span style="color: rgb(0, 187, 0);">default</span>=<span style="color: rgb(187, 0, 0);">"allow"</span><span style="color: rgb(0, 187, 187);">></span><span style="background: black none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: black;"></span></span></p>
<p><span style="font-size: 8pt; font-family: "Courier New"; color: rgb(85, 85, 85);"> </span><span style="font-size: 8pt; font-family: "Courier New";"> <span style="color: rgb(0, 187, 187);"><node </span><span style="color: rgb(0, 187, 0);">type</span>=<span style="color: rgb(187, 0, 0);">"deny"</span><span style="color: rgb(0, 187, 187);"> </span><span style="color: rgb(0, 187, 0);">cidr</span>=<span style="color: rgb(187, 0, 0);">"<a href="http://192.168.42.0/24" target="_blank">192.168.42.0/24</a>"</span><span style="color: rgb(0, 187, 187);">/></span><span style="background: black none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: black;"></span></span></p>
<p><span style="font-size: 8pt; font-family: "Courier New"; color: rgb(85, 85, 85);"> </span><span style="font-size: 8pt; font-family: "Courier New";"> <span style="color: rgb(0, 187, 187);"><node </span><span style="color: rgb(0, 187, 0);">type</span>=<span style="color: rgb(187, 0, 0);">"allow"</span><span style="color: rgb(0, 187, 187);"> </span><span style="color: rgb(0, 187, 0);">cidr</span>=<span style="color: rgb(187, 0, 0);">"<a href="http://192.168.42.42/32" target="_blank">192.168.42.42/32</a>"</span><span style="color: rgb(0, 187, 187);">/></span><span style="background: black none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: black;"></span></span></p>
<div>
<p><span style="font-size: 8pt; font-family: "Courier New"; color: rgb(85, 85, 85);"> </span><span style="font-size: 8pt; font-family: "Courier New";"> <span style="color: rgb(0, 187, 187);"><node </span><span style="color: rgb(0, 187, 0);">type</span>=<span style="color: rgb(187, 0, 0);">"allow"</span><span style="color: rgb(0, 187, 187);"> </span><span style="color: rgb(0, 187, 0);">cidr</span>=<span style="color: rgb(187, 0, 0);">"<a href="http://192.168.10.11/32" target="_blank">192.168.10.11/32</a>"</span><span style="color: rgb(0, 187, 187);">/></span><span style="background: black none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: black;"></span></span></p>
</div><p><span style="font-size: 8pt; font-family: "Courier New";"> <span style="color: rgb(0, 187, 187);"></list></span><span style="background: black none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: black;"></span></span></p>
<p><span style="font-size: 8pt; font-family: "Courier New";"> </span></p>
<p><span style="font-size: 8pt; font-family: "Courier New"; color: rgb(187, 187, 0);">2009-07-14 10:41:40.553145 [DEBUG]
sofia.c:4587 IP 192.168.10.11 Rejected by acl "domains". Falling back
to Digest auth.</span><span style="background: black none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-size: 8pt; font-family: "Courier New"; color: black;"></span></p>
<p><span style="font-size: 8pt; font-family: "Courier New"; color: rgb(187, 187, 0);">2009-07-14 10:41:40.562147 [DEBUG]
sofia.c:4587 IP 192.168.10.11 Rejected by acl "domains". Falling back
to Digest auth.</span><span style="background: black none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-size: 8pt; font-family: "Courier New"; color: black;"></span></p>
<p><span style="font-size: 8pt; font-family: "Courier New"; color: rgb(0, 187, 187);">2009-07-14 10:41:40.565166 [NOTICE]
switch_channel.c:602 New Channel sofia/internal/<a href="mailto:1009@192.168.10.29" target="_blank">1009@192.168.10.29</a>
[fac3f284-3710-4492-a9e7-667c7e816ea0]</span><span style="background: black none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; font-size: 8pt; font-family: "Courier New"; color: black;"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Michael Collins<br>
<b>Sent:</b> Tuesday, July 14, 2009 10:10 AM<br>
<b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Subject:</b> Re: [Freeswitch-users] Intercom error with SNOM</span></p>
</div>
</div><div><div></div><div>
<p> </p>
<p style="margin-bottom: 12pt;"> </p>
<div>
<p>On Tue, Jul 14, 2009 at 8:53 AM, Lars Zeb <<a href="mailto:larclap@yahoo.com" target="_blank">larclap@yahoo.com</a>>
wrote:</p>
<div>
<div>
<p>I am getting an error when I try to make an intercom call from a softphone
to a SNOM 320. I get a “401 Unauthorized” in the siptrace and a “No Matching
gateway found” in the log. I can successfully make an intercom call between my
softphone and a Polycom 501, so it must be something with the SNOM.</p>
<p> </p>
<p>bkw suggested that the problem was in the challenge/response between
FreeSWITCH and SNOM. In the SNOM’s Setup/Advanced/Behavior page I have set
“Challenge/Response” off, “Enable intercom” on and “Type of Intercom
Answering” to “Handsfree”. The error is still “401 Unauthorized”.</p>
<p> </p>
<p>What more do I need to do?</p>
</div>
</div>
<div>
<p><br>
Lars,<br>
It looks like FreeSWITCH is sending the challenge to the Snom. Note this line
from the debug log:<br>
2009-07-14 08:12:32.333079 [DEBUG] sofia.c:4587 IP 192.168.10.11 Rejected by
acl "domains". Falling back to Digest auth.<br>
<br>
For testing purposes you can edit acl.conf.xml and add a new line right after:<br>
<node type="allow" domain="$${domain}"/><br>
<br>
Add:<br>
<node type="allow" cidr="<a href="http://192.168.10.11/32" target="_blank">192.168.10.11/32</a>"/> <br>
<br>
Restart FS or issue this command at the CLI:<br>
reloadacl reloadxml<br>
<br>
Then try your call again.<br>
<br>
To learn more about how you can have your local users bypass the
"domains" acl without editing acl.conf.xml then look in
conf/directory/default/brian.xml. At the top of that file you will see a note
about how adding a cidr= attribute to your user tag will let you bypass the
domains ACL check.<br>
<br>
Enjoy!<br>
-MC</p>
</div>
<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0in 0in 0in 6pt; margin-left: 4.8pt; margin-right: 0in;">
<div>
<div>
<p> </p>
<p>Thanks, Lars</p>
<p> </p>
<p><a href="http://pastebin.freeswitch.org/9709" target="_blank">http://pastebin.freeswitch.org/9709</a></p>
<p> </p>
</div>
</div>
<p style="margin-bottom: 12pt;"><br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></p>
</blockquote>
</div>
<p> </p>
</div></div></div>
</div>
</div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>