<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" 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: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;
        font-family:"Times New Roman","serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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;font-family:"Calibri","sans-serif";
color:#1F497D'>I haven&#8217;t followed the whole thread, but the acl listed is named
&#8220;lan&#8221; and the rejected acl is named &#8220;domains&#8221;.<o:p></o:p></span></p>

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

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

<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>Lars
Zeb<br>
<b>Sent:</b> Tuesday, July 14, 2009 12:47 PM<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='text-autospace:none'><span style='color:#555555'>Michael,<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='color:#555555'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><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.<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='color:#555555'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='color:#555555'>Lars<o:p></o:p></span></p>

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

<p class=MsoNormal style='text-autospace:none'><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
style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p>

<p class=MsoNormal style='text-autospace:none'><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
style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New";color:black;background:black;mso-highlight:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><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
style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p>

<p class=MsoNormal style='text-autospace:none'><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;192.168.42.0/24&quot;</span><span
style='color:#00BBBB'>/&gt;</span><span style='color:black;background:black;
mso-highlight:black'><o:p></o:p></span></span></p>

<p class=MsoNormal style='text-autospace:none'><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;192.168.42.42/32&quot;</span><span
style='color:#00BBBB'>/&gt;</span><span style='color:black;background:black;
mso-highlight:black'><o:p></o:p></span></span></p>

<p class=MsoNormal style='text-autospace:none'><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;192.168.10.11/32&quot;</span><span
style='color:#00BBBB'>/&gt;</span><span style='color:black;background:black;
mso-highlight:black'><o:p></o:p></span></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:8.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp; <span style='color:#00BBBB'>&lt;/list&gt;</span><span
style='color:black;background:black;mso-highlight:black'><o:p></o:p></span></span></p>

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

<p class=MsoNormal style='text-autospace:none'><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><span style='font-size:8.0pt;font-family:"Courier New";
color:black;background:black;mso-highlight:black'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><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><span style='font-size:8.0pt;font-family:"Courier New";
color:black;background:black;mso-highlight:black'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><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/1009@192.168.10.29
[fac3f284-3710-4492-a9e7-667c7e816ea0]</span><span style='font-size:8.0pt;
font-family:"Courier New";color:black;background:black;mso-highlight:black'><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:10 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'><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>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 class=MsoNormal><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 #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<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 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>

</blockquote>

</div>

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

</div>

</div>

</body>

</html>