[Freeswitch-users] Freeswitch 1.0.4 and Patton 4554 gateway registration problem

Frederik Denkens | iLibris fdenkens at ilibris.be
Wed Dec 30 08:15:33 PST 2009


Hi all!

We our looking forward to replacing our legacy PBX with a Freeswitch  
platform, but are struggling with getting our Patton SmartNode 4554  
(SIP/ISDN) gateway hooked up. Any assistance from the community would  
be great!

First step is getting Freeswitch and the Patton talking to each other.

Goal? To be able to have incoming and outgoing calls going over the  
Patton to the ISDN network.

Internal PBX:
  - Freeswitch 1.0.4 installed from tar with default (demo) setup on  
IP 10.156.10.93
  - Patton 4554 with simple config on IP 10.156.10.90

We set it up that the Patton registers with the PBX and we get the  
error:

---------------------
2009-12-30 17:07:08.11907 [WARNING] sofia_reg.c:1771 Can't find user [101 at 10.156.10.93 
]
You must define a domain called '10.156.10.93' in your directory and  
add a user with the id="101" attribute
and you must configure your device to use the proper domain in it's  
authentication credentials.
---------------------

Find more info below.

So any help would be great!

Many thanks!

Frederik Denkens
Belgium
+32 475 96 04 93




We defined a gateway in conf/sip_profiles/external/patton.xml:
---------------------
<include>
   <gateway name="10.156.10.90">-->
   <param name="username" value="101"/>
   <param name="password" value="101"/>
   <param name="register" value="false"/>
   </gateway>
</include>
---------------------
And the relevant parts of the Patton config:
---------------------
# define auth
authentication-service AUTH_SVC
   username 101 password 101

# patton registers
location-service LOCATION_SVC
   domain 1 10.156.10.93
   identity 101
     authentication outbound
       authenticate 1 authentication-service AUTH_SVC username 101
     registration outbound
     registrar 10.156.10.93 5080
     lifetime 3600
     register auto

context sip-gateway GW_SIP
   interface IF_SIP
     bind interface IF_IP_WAN context router port 5060

context sip-gateway GW_SIP
   bind location-service LOCATION_SVC
   no shutdown
---------------------
Output from 'sofia status'
---------------------
   10.156.10.90	gateway	              sip:101 at 10.156.10.90	NOREG
                      Name	   Type	                              Data	 
State
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
========================================================================
                  internal	profile	   sip:mod_sofia at 10.156.10.93:5060	 
RUNNING (0)
                  external	profile	   sip:mod_sofia at 10.156.10.93:5080	 
RUNNING (0)
               example.com	gateway	           sip:joeuser at example.com	 
NOREG
              10.156.10.90	gateway	              sip:101 at 10.156.10.90	 
NOREG
              10.156.10.93	  alias	                          internal	 
ALIASED
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
========================================================================
---------------------
sip trace
---------------------
    SIP/2.0 403 Forbidden
    Via: SIP/2.0/UDP 10.156.10.90:5060;branch=z9hG4bKe231fe7b97aa2c0cf
    From: <sip:101 at 10.156.10.93>;tag=b793adfadf
    To: <sip:101 at 10.156.10.93>;tag=Ua16yjtFgDQ5c
    Call-ID: add8fbd86264310b
    CSeq: 12517 REGISTER
    User-Agent: FreeSWITCH-mod_sofia/1.0.4-exported
    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE,  
SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
    Supported: timer, precondition, path, replaces
    Content-Length: 0





Before printing this e-mail, please consider the impact on the  
environment.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091230/7be51e9e/attachment-0002.html 


More information about the FreeSWITCH-users mailing list