[Freeswitch-users] Intercom error with SNOM

Lars Zeb larclap at yahoo.com
Tue Jul 14 12:34:10 PDT 2009


Yes.

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael
Collins
Sent: Tuesday, July 14, 2009 10:58 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Intercom error with SNOM

 

Lars,

Brian pointed out that the challenge is coming from the phone. Is
192.168.10.104 the Snom?

-MC

On Tue, Jul 14, 2009 at 10:46 AM, Lars Zeb <larclap at yahoo.com> wrote:

Michael,

 

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.

 

Lars

 

 <configuration name="acl.conf" description="Network Lists">

   <network-lists>

 

     <list name="lan" default="allow">

       <node type="deny" cidr="192.168.42.0/24"/>

       <node type="allow" cidr="192.168.42.42/32"/>

       <node type="allow" cidr="192.168.10.11/32"/>

     </list>

 

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.

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.

2009-07-14 10:41:40.565166 [NOTICE] switch_channel.c:602 New Channel
sofia/internal/1009 at 192.168.10.29 [fac3f284-3710-4492-a9e7-667c7e816ea0]

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael
Collins
Sent: Tuesday, July 14, 2009 10:10 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Intercom error with SNOM

 

 

On Tue, Jul 14, 2009 at 8:53 AM, Lars Zeb <larclap at yahoo.com> wrote:

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.

 

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

 

What more do I need to do?


Lars,
It looks like FreeSWITCH is sending the challenge to the Snom. Note this
line from the debug log:
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.

For testing purposes you can edit acl.conf.xml and add a new line right
after:
<node type="allow" domain="$${domain}"/>

Add:
<node type="allow" cidr="192.168.10.11/32"/> 

Restart FS or issue this command at the CLI:
reloadacl reloadxml

Then try your call again.

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.

Enjoy!
-MC

 

Thanks, Lars

 

http://pastebin.freeswitch.org/9709

 


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090714/26816e66/attachment-0002.html 


More information about the FreeSWITCH-users mailing list