[Freeswitch-users] Patton FXO configuration on Freeswitch - more details

Alessio alessio at asistar.it
Mon Jan 28 10:45:32 MSK 2013


Nella citazione in data venerdì 25 gennaio 2013 20:17:36, Michael 
Collins ha scritto:
> Alessio,
>
> That "error" is just explaining to you that the caller does not have
> an entry in the XML directory, therefore there's no way to perform
> authentication. You'll need to create a user with the ID mentioned in
> the error message and then set the password in there as well as in the
> Patton. (I've never done a Patton set up but I've done several other
> analog gateway devices.)
>
> Hope this helps.
>
> -Michael
>
> On Fri, Jan 25, 2013 at 7:55 AM, Alessio <alessio at asistar.it
> <mailto:alessio at asistar.it>> wrote:
>
>     Hi all!
>
>     We're trying to configure a Patton FXO in our Freeswitch.
>
>     We have an internal PBX
>        - Freeswitch 1.3.6 installed from svn master with (demo) setup
>     on IP
>     10.0.1.190
>        - Patton 4112 with simple config on IP 10.0.1.10
>
>     Find more info below.
>     So any help would be great!
>
>     We set it up that the Patton registers with the PBX and we get the
>     error:
>
>     ---------------------
>     2013-01-25 16:44:39.433873 [WARNING] sofia_reg.c:2469 Can't find user
>     [fxo0_3_0 at 10.0.1.190 <mailto:fxo0_3_0 at 10.0.1.190>]
>     You must define a domain called '10.0.1.190' in your directory and
>     add a
>     user with the id="fxo0_3_0" attribute
>     and you must configure your device to use the proper domain in it's
>     authentication credentials.
>     ---------------------
>
>     We defined a gateway in conf/sip_profiles/external/fxo.xml:
>     ---------------------
>     <include>
>         <gateway name="10.0.1.190">-->
>         <param name="username" value="fxo0_3_0"/>
>         <param name="password" value="fxo0_3_0"/>
>         <param name="register" value="false"/>
>         </gateway>
>     </include>
>     ---------------------
>
>     And the relevant parts of the Patton config:
>     ---------------------
>     # define auth
>     authentication-service authenticate
>        username fxo0_3_0 password gtatFAePDQFL0btl3cbsaA== encrypted
>
>     # patton registers
>     location-service LOCATION_FXO_3_0
>        domain 1 10.0.1.190 5060
>        identity-group group_fxo0_3_0
>          authentication outbound
>            authenticate 1 authentication-service authenticate username
>     fxo0_3_0
>        identity fxo0_3_0
>          authentication outbound
>            authenticate 1 authentication-service authenticate username
>     fxo0_3_0
>
>          registration outbound
>            registrar 10.0.1.190 5060
>            lifetime 180
>            register auto
>            retry-timeout on-system-error 10
>            retry-timeout on-client-error 10
>            retry-timeout on-server-error 10
>
>          call outbound
>            use profile tone-set IT
>            use profile voip default
>            use profile sip default
>            preferred-transport-protocol tcp
>            traffic-class local-default
>            invite-transaction-timeout 32
>            non-invite-transaction-timeout 32
>            penalty-box
>
>          call inbound
>            use profile tone-set IT
>            use profile voip default
>            use profile sip default
>
>     context sip-gateway ASISTAR_3_0
>        interface fxo0_3_0
>          bind interface eth0 context router port 5060
>
>     context sip-gateway ASISTAR_3_0
>        bind location-service LOCATION_FXO_3_0
>        no shutdown
>
>     ---------------------
>     Output from 'sofia status'
>     ---------------------
>
>       external::10.0.1.10       gateway sip:fxo0_3_0 at 10.0.1.10
>     <mailto:sip%3Afxo0_3_0 at 10.0.1.10>      NOREG
>
>
>
>     Thanks,
>     Alessio
>
>     _________________________________________________________________________
>     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://wiki.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
>
>
>
>
> --
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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

Hi Michael,
thanks for the reply.

So if I register in directory as a phone how do I get out of the 
gateway, for example through a bridge?

Alessio




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list