[Freeswitch-users] Intercom error with SNOM

Michael Collins msc at freeswitch.org
Tue Jul 14 10:09:39 PDT 2009


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090714/cb8b333a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list