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

Alessio alessio at asistar.it
Fri Jan 25 18:55:34 MSK 2013


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



Thanks,
Alessio



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