You definitely need to got on the latest FreeSWITCH: http://latest.freeswitch.org or use SVN.

Secondly, if you are seeing this message then you've probably not got your domain configured. Is 10.156.10.93 your FreeSWITCH server? If you are using the default configs then the domain will be the IP address of your FS server. Go to the FS command line and do "eval ${domain}" and see what it says. Make sure that you don't have any strange things happening like having multiple NICs, etc. that might be wreaking havoc on your system.

-MC


On Wed, Dec 30, 2009 at 8:15 AM, Frederik Denkens | iLibris <fdenkens@ilibris.be> wrote:
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@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@10.156.10.90 NOREG
                     Name   Type                              Data State
=================================================================================================
                 internal profile   sip:mod_sofia@10.156.10.93:5060 RUNNING (0)
                 external profile   sip:mod_sofia@10.156.10.93:5080 RUNNING (0)
              example.com gateway           sip:joeuser@example.com NOREG
             10.156.10.90 gateway              sip:101@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@10.156.10.93>;tag=b793adfadf
   To: <sip:101@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.


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org