[Freeswitch-users] multi-tenant registration for Cisco spa 112

Robert Oldham robert at oldhamtechnology.com
Mon Jan 5 19:13:25 MSK 2015


Luis,

NDLB-force-rport=true solved my problem. I tried other options, but they
did not help. Thank you for your help with this.

Robert Oldham
------------------------------------------------------------------------
 Oldham Technology
 W: 801-877-2190 x801
 E: robert at oldhamtechnology.com
 http://www.oldhamtechnology.com


On 01/02/2015 12:55 PM, Luis Daniel Lucio Quiroz wrote:
> If it is a NAT issue, you may want to try NDLB-force-rport=true/safe
>
> Luis Daniel Lucio Quiroz
> CISSP, CISM, CISA
> Linux, VoIP and much more fun
> www.okay.com.mx <http://www.okay.com.mx>
>
> Need LCR? Check out LCR for FusionPBX with FreeSWITCH
> Need Billing? Check out Billing for FusionPBX with FreeSWITCH
>
> 2015-01-02 13:31 GMT-05:00 Robert Oldham <robert at oldhamtechnology.com
> <mailto:robert at oldhamtechnology.com>>:
>
>     Thank you Vik. I'll try that too.
>
>     Robert Oldham
>     ------------------------------------------------------------------------
>      Oldham Technology
>      W: 801-877-2190 x801 <tel:801-877-2190%20x801>
>      E: robert at oldhamtechnology.com <mailto:robert at oldhamtechnology.com>
>      http://www.oldhamtechnology.com
>
>
>     On 01/02/2015 10:01 AM, Vik Killa wrote:
>>     I have Cisco SPA5XX setup in multi-tenant mode. I used the proxy
>>     params to accomplish it, that way I did not need a FQDN to
>>     resolve. Here is an example from my prov files (192.168.0.100 is
>>     IP of FS and '3.local' is made up domain for a tenant)
>>
>>     <Extension_1_ group="Phone/Line_Key_1">1</Extension_1_>
>>     <Short_Name_1_ group="Phone/Line_Key_1">E. 1000</Short_Name_1_>
>>     <Share_Call_Appearance_1_
>>     group="Phone/Line_Key_1">private</Share_Call_Appearance_1_>
>>     <Share_Ext_1_
>>     group="Ext_1/Share_Line_Appearance">private</Share_Ext_1_>
>>     <Proxy_1_ group="Ext_1/Proxy_and_Registration">3.local</Proxy_1_>
>>     <Outbound_Proxy_1_
>>     group="Ext_1/Proxy_and_Registration">192.168.0.100</Outbound_Proxy_1_>
>>     <Use_Outbound_Proxy_1_
>>     group="Ext_1/Proxy_and_Registration">Yes</Use_Outbound_Proxy_1_>
>>     <Use_OB_Proxy_In_Dialog_1_
>>     group="Ext_1/Proxy_and_Registration">Yes</Use_OB_Proxy_In_Dialog_1_>
>>     <User_ID_1_ group="Ext_1/Subscriber_Information">1000</User_ID_1_>
>>     <Password_1_
>>     group="Ext_1/Subscriber_Information">**********</Password_1_>
>>     <Use_Anonymous_With_RPID_1_
>>     group="Ext_1/SIP_Settings">No</Use_Anonymous_With_RPID_1_>
>>     <Dial_Plan_1_ group="Ext_1/Dial_Plan">[x*].</Dial_Plan_1_>
>>     <Voice_Mail_Server_1_ ua="na">1000 at 3.local
>>     <mailto:1000 at 3.local></Voice_Mail_Server_1_>
>>     <Register_Expires_1_
>>     group="Ext_1/Proxy_and_Registration">300</Register_Expires_1_>
>>     <Subscription_Expires_1_
>>     group="Ext_1/Share_Line_Appearance">300</Subscription_Expires_1_>
>>     <Voice_Mail_Subscribe_Interval_1_
>>     group="Ext_1/Call_Feature_Settings">300</Voice_Mail_Subscribe_Interval_1_>
>>
>>
>>
>>
>>
>>     On Fri, Jan 2, 2015 at 11:40 AM, Robert Oldham
>>     <robert at oldhamtechnology.com
>>     <mailto:robert at oldhamtechnology.com>> wrote:
>>
>>         Florent,
>>
>>         I am not sure I understand which logs you mean. Logs from the
>>         Cisco spa 112, FreeSWITCH, the firewall, or all of the above?
>>
>>         Thanks,
>>         Robert Oldham
>>         ------------------------------------------------------------------------
>>          Oldham Technology
>>          W: 801-877-2190 x801 <tel:801-877-2190%20x801>
>>          E: robert at oldhamtechnology.com
>>         <mailto:robert at oldhamtechnology.com>
>>          http://www.oldhamtechnology.com
>>
>>
>>         On 01/02/2015 12:45 AM, Florent Krieg wrote:
>>>
>>>         Hello,
>>>
>>>         What do you see in the logs?
>>>         That might be relevant to understand what it tries to do.
>>>
>>>         Florent
>>>
>>>         Le 2 janv. 2015 08:15, "Robert Oldham"
>>>         <robert at oldhamtechnology.com
>>>         <mailto:robert at oldhamtechnology.com>> a écrit :
>>>
>>>             I am registering to the FQDN of the domain.
>>>
>>>             There is a NAT involved. The PBX is not behind NAT. The
>>>             phones are behind NAT on separate network.
>>>
>>>             Thank you,
>>>
>>>             Robert Oldham
>>>             Oldham Technology
>>>             Phone: (801) 877-2190 <tel:%28801%29%20877-2190>
>>>             Email: robert at oldhamtechnology.com
>>>             <mailto:robert at oldhamtechnology.com>
>>>             Website: https://www.oldhamtechnology.com
>>>
>>>
>>>             On January 1, 2015 7:41:45 PM MST, Moishe Grunstein
>>>             <max at nysolutions.com <mailto:max at nysolutions.com>> wrote:
>>>
>>>                 Are you registering to the FQDN of the domain?
>>>
>>>                 Is there any NAT involved? PBX behind NAT? phones
>>>                 behind NAT?
>>>
>>>                  
>>>
>>>                 Thanks,
>>>
>>>                  
>>>
>>>                 Moishe Grunstein
>>>
>>>                 Tornado Computer Systems, Inc.
>>>
>>>                 212.400.7650 <tel:212.400.7650> 888.IPPBX.US
>>>                 <http://888.IPPBX.US>
>>>                 *Service Request Email: support at nysolutions.com
>>>                 <mailto:support at nysolutions.com> *
>>>
>>>                 Polycom Certified VAR
>>>                 Microsoft Small Business Specialist, Cisco SMB
>>>                 Select Certified
>>>
>>>                 cid:image001.jpg at 01C72F94.9EE45D60
>>>                 <http://www.nysolutions.com/>
>>>
>>>                 Computer Networking * Managed Services * IP Video
>>>                 Surveillance * Network Assessments * Web Solutions *
>>>                 Voice over IP * Disaster Recovery * Network Security
>>>                 * Site Surveys * CMS
>>>
>>>                  
>>>
>>>                 *From:*freeswitch-users-bounces at lists.freeswitch.org
>>>                 <mailto:freeswitch-users-bounces at lists.freeswitch.org>
>>>                 [mailto:freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org>]
>>>                 *On Behalf Of *Robert Oldham
>>>                 *Sent:* Thursday, January 1, 2015 7:49 PM
>>>                 *To:* freeswitch-users at lists.freeswitch.org
>>>                 <mailto:freeswitch-users at lists.freeswitch.org>
>>>                 *Subject:* [Freeswitch-users] multi-tenant
>>>                 registration for Cisco spa 112
>>>
>>>                  
>>>
>>>                 I am a freeswitch noob, so please forgive me if my
>>>                 questions are not coherent with proper concepts. I
>>>                 have made an earnest attempt to find clues to my
>>>                 problem on the wiki and elsewhere, but suspect I am
>>>                 asking the wrong questions.
>>>
>>>                 Problem:
>>>                 I cannot get a Cisco spa 112 to register properly.
>>>
>>>                 Context:
>>>                 I am trying to put together a proof of concept
>>>                 multi-tenant freeswitch server. After reading the
>>>                 book FreeSWITCH 1.2 by Anthony Minessale, I used the
>>>                 FusionPBX install script to get freeswitch 1.4.14
>>>                 built on a fresh Ubuntu 12.04 install. I configured
>>>                 a domain name to point to the new server. On the
>>>                 server I added the domain in the directory and 3
>>>                 users/extensions along with several sip gateways.
>>>                 The gateways work. One of the extensions has a
>>>                 Grandstream GXP2160 registered successfully, another
>>>                 has a Zoiper soft phone registered successfully.
>>>
>>>                 Details:
>>>                 I have tried to configure and get a Cisco SPA 112 to
>>>                 register on the 3rd extension. However, it is
>>>                 failing to register. I have watched the sip trace
>>>                 and packet capture. Both show the same thing: the
>>>                 Cisco SPA sends a sip register request to which
>>>                 sofia responds with a 401 "unauthorized". Then,
>>>                 instead of sending a sip register with an
>>>                 authorization digest as the other phones do, the
>>>                 Cisco spa 112, sends another generic sip register
>>>                 request, which elicits another 401 "unauthorized"
>>>                 from sofia. This repeats a few times, and then the
>>>                 spa 112 gives up, waits 40 seconds and then does it
>>>                 all over again.
>>>
>>>                 I have had this device registered with an asterisk
>>>                 server without trouble. I have reset the device to
>>>                 factory defaults and updated the firmware, all
>>>                 without any change.
>>>
>>>                 The domain name is fairly long. Don't know if that
>>>                 might be a factor.
>>>
>>>                 Any clues where I might look next or tests I might
>>>                 try for more information?
>>>
>>>                 Thank you,
>>>
>>>                 Robert Oldham
>>>                 Oldham Technology
>>>                 Phone: (801) 877-2190 <tel:%28801%29%20877-2190>
>>>                 Email: robert at oldhamtechnology.com
>>>                 <mailto:robert at oldhamtechnology.com>
>>>                 Website: https://www.oldhamtechnology.com
>>>
>>>                 ------------------------------------------------------------------------
>>>
>>>                 Professional FreeSWITCH Consulting Services: 
>>>                 consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>                 http://www.freeswitchsolutions.com
>>>
>>>                 Official FreeSWITCH Sites
>>>                 http://www.freeswitch.org
>>>                 http://confluence.freeswitch.org
>>>                 http://www.cluecon.com
>>>
>>>                 FreeSWITCH-users mailing list
>>>                 FreeSWITCH-users at lists.freeswitch.org <mailto: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
>>>
>>>
>>>             _________________________________________________________________________
>>>             Professional FreeSWITCH Consulting Services:
>>>             consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>             http://www.freeswitchsolutions.com
>>>
>>>             Official FreeSWITCH Sites
>>>             http://www.freeswitch.org
>>>             http://confluence.freeswitch.org
>>>             http://www.cluecon.com
>>>
>>>             FreeSWITCH-users mailing list
>>>             FreeSWITCH-users at lists.freeswitch.org
>>>             <mailto: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
>>>
>>>
>>>
>>>         _________________________________________________________________________
>>>         Professional FreeSWITCH Consulting Services: 
>>>         consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>         http://www.freeswitchsolutions.com
>>>
>>>         Official FreeSWITCH Sites
>>>         http://www.freeswitch.org
>>>         http://confluence.freeswitch.org
>>>         http://www.cluecon.com
>>>
>>>         FreeSWITCH-users mailing list
>>>         FreeSWITCH-users at lists.freeswitch.org <mailto: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
>>
>>
>>         _________________________________________________________________________
>>         Professional FreeSWITCH Consulting Services:
>>         consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>         http://www.freeswitchsolutions.com
>>
>>         Official FreeSWITCH Sites
>>         http://www.freeswitch.org
>>         http://confluence.freeswitch.org
>>         http://www.cluecon.com
>>
>>         FreeSWITCH-users mailing list
>>         FreeSWITCH-users at lists.freeswitch.org
>>         <mailto: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
>>
>>
>>
>>
>>     _________________________________________________________________________
>>     Professional FreeSWITCH Consulting Services: 
>>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>     http://www.freeswitchsolutions.com
>>
>>     Official FreeSWITCH Sites
>>     http://www.freeswitch.org
>>     http://confluence.freeswitch.org
>>     http://www.cluecon.com
>>
>>     FreeSWITCH-users mailing list
>>     FreeSWITCH-users at lists.freeswitch.org <mailto: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
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://confluence.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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/20150105/752a2649/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list