<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Times New Roman","serif";
        color:#1F497D;}
..MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>Yes.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Michael
Collins<br>
<b>Sent:</b> Tuesday, July 14, 2009 10:58 AM<br>
<b>To:</b> freeswitch-users@lists.freeswitch.org<br>
<b>Subject:</b> Re: [Freeswitch-users] Intercom error with SNOM<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Lars,<br>
<br>
Brian pointed out that the challenge is coming from the phone. Is
192.168.10.104 the Snom?<br>
<br>
-MC<o:p></o:p></p>

<div>

<p class=MsoNormal>On Tue, Jul 14, 2009 at 10:46 AM, Lars Zeb &lt;<a
href="mailto:larclap@yahoo.com" target="_blank">larclap@yahoo.com</a>&gt;
wrote:<o:p></o:p></p>

<div>

<div>

<p><span style='color:#555555'>Michael,</span><o:p></o:p></p>

<p><span style='color:#555555'>&nbsp;</span><o:p></o:p></p>

<p><span style='color:#555555'>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><o:p></o:p></p>

<p><span style='color:#555555'>&nbsp;</span><o:p></o:p></p>

<p><span style='color:#555555'>Lars</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Lucida Console";color:#555555'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Courier New";color:#555555'>&nbsp;</span><span
style='font-size:8.0pt;font-family:"Courier New";color:#00BBBB'>&lt;configuration
</span><span style='font-size:8.0pt;font-family:"Courier New";color:#00BB00'>name</span><span
style='font-size:8.0pt;font-family:"Courier New"'>=<span style='color:#BB0000'>&quot;acl.conf&quot;</span><span
style='color:#00BBBB'> </span><span style='color:#00BB00'>description</span>=<span
style='color:#BB0000'>&quot;Network Lists&quot;</span><span style='color:#00BBBB'>&gt;</span></span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Courier New";color:#555555'>&nbsp;</span><span
style='font-size:8.0pt;font-family:"Courier New"'>&nbsp; <span
style='color:#00BBBB'>&lt;network-lists&gt;</span></span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Courier New";color:black;
background:black'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Courier New";color:#555555'>&nbsp;</span><span
style='font-size:8.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; <span
style='color:#00BBBB'>&lt;list </span><span style='color:#00BB00'>name</span>=<span
style='color:#BB0000'>&quot;lan&quot;</span><span style='color:#00BBBB'> </span><span
style='color:#00BB00'>default</span>=<span style='color:#BB0000'>&quot;allow&quot;</span><span
style='color:#00BBBB'>&gt;</span></span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Courier New";color:#555555'>&nbsp;</span><span
style='font-size:8.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span style='color:#00BBBB'>&lt;node </span><span style='color:#00BB00'>type</span>=<span
style='color:#BB0000'>&quot;deny&quot;</span><span style='color:#00BBBB'> </span><span
style='color:#00BB00'>cidr</span>=<span style='color:#BB0000'>&quot;<a
href="http://192.168.42.0/24" target="_blank">192.168.42.0/24</a>&quot;</span><span
style='color:#00BBBB'>/&gt;</span></span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Courier New";color:#555555'>&nbsp;</span><span
style='font-size:8.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span style='color:#00BBBB'>&lt;node </span><span style='color:#00BB00'>type</span>=<span
style='color:#BB0000'>&quot;allow&quot;</span><span style='color:#00BBBB'> </span><span
style='color:#00BB00'>cidr</span>=<span style='color:#BB0000'>&quot;<a
href="http://192.168.42.42/32" target="_blank">192.168.42.42/32</a>&quot;</span><span
style='color:#00BBBB'>/&gt;</span></span><o:p></o:p></p>

<div>

<p><span style='font-size:8.0pt;font-family:"Courier New";color:#555555'>&nbsp;</span><span
style='font-size:8.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span style='color:#00BBBB'>&lt;node </span><span style='color:#00BB00'>type</span>=<span
style='color:#BB0000'>&quot;allow&quot;</span><span style='color:#00BBBB'> </span><span
style='color:#00BB00'>cidr</span>=<span style='color:#BB0000'>&quot;<a
href="http://192.168.10.11/32" target="_blank">192.168.10.11/32</a>&quot;</span><span
style='color:#00BBBB'>/&gt;</span></span><o:p></o:p></p>

</div>

<p><span style='font-size:8.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;
<span style='color:#00BBBB'>&lt;/list&gt;</span></span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Courier New"'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Courier New";color:#BBBB00'>2009-07-14
10:41:40.553145 [DEBUG] sofia.c:4587 IP 192.168.10.11 Rejected by acl
&quot;domains&quot;. Falling back to Digest auth.</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Courier New";color:#BBBB00'>2009-07-14
10:41:40.562147 [DEBUG] sofia.c:4587 IP 192.168.10.11 Rejected by acl
&quot;domains&quot;. Falling back to Digest auth.</span><o:p></o:p></p>

<p><span style='font-size:8.0pt;font-family:"Courier New";color:#00BBBB'>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><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<div style='border:none;border-left:solid windowtext 1.5pt;padding:0in 0in 0in 4.0pt;
border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color blue'>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>

<p><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:
10.0pt'> <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><o:p></o:p></p>

</div>

</div>

<div>

<div>

<p>&nbsp;<o:p></o:p></p>

<p style='margin-bottom:12.0pt'>&nbsp;<o:p></o:p></p>

<div>

<p>On Tue, Jul 14, 2009 at 8:53 AM, Lars Zeb &lt;<a
href="mailto:larclap@yahoo.com" target="_blank">larclap@yahoo.com</a>&gt;
wrote:<o:p></o:p></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 &#8220;401 Unauthorized&#8221; in the siptrace and a &#8220;No Matching
gateway found&#8221; 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.<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>bkw suggested that the problem was in the challenge/response between
FreeSWITCH and SNOM. In the SNOM&#8217;s Setup/Advanced/Behavior page I have set
&#8220;Challenge/Response&#8221; off, &nbsp;&#8220;Enable intercom&#8221; on and &#8220;Type of Intercom
Answering&#8221; to &#8220;Handsfree&#8221;. The error is still &#8220;401 Unauthorized&#8221;.<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>What more do I need to do?<o:p></o:p></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 &quot;domains&quot;. Falling back to Digest auth.<br>
<br>
For testing purposes you can edit acl.conf.xml and add a new line right after:<br>
&lt;node type=&quot;allow&quot; domain=&quot;$${domain}&quot;/&gt;<br>
<br>
Add:<br>
&lt;node type=&quot;allow&quot; cidr=&quot;<a href="http://192.168.10.11/32"
target="_blank">192.168.10.11/32</a>&quot;/&gt; <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
&quot;domains&quot; 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<o:p></o:p></p>

</div>

<blockquote style='border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt;
border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204)'>

<div>

<div>

<p>&nbsp;<o:p></o:p></p>

<p>Thanks, Lars<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p><a href="http://pastebin.freeswitch.org/9709" target="_blank">http://pastebin.freeswitch.org/9709</a><o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

</div>

</div>

<p style='margin-bottom:12.0pt'><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><o:p></o:p></p>

</blockquote>

</div>

<p>&nbsp;<o:p></o:p></p>

</div>

</div>

</div>

</div>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</div>

</body>

</html>