You definitely need to got on the latest FreeSWITCH: <a href="http://latest.freeswitch.org">http://latest.freeswitch.org</a> or use SVN.<br><br>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.<br>
<br>-MC<br><br><br><div class="gmail_quote">On Wed, Dec 30, 2009 at 8:15 AM, Frederik Denkens | iLibris <span dir="ltr"><<a href="mailto:fdenkens@ilibris.be">fdenkens@ilibris.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;">Hi all!<div><br></div><div>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!</div>
<div><br></div><div>First step is getting Freeswitch and the Patton talking to each other.</div><div><br></div><div>Goal? To be able to have incoming and outgoing calls going over the Patton to the ISDN network.</div><div>
<br></div><div>Internal PBX:</div><div> - Freeswitch 1.0.4 installed from tar with default (demo) setup on IP 10.156.10.93</div><div> - Patton 4554 with simple config on IP 10.156.10.90</div><div><br></div><div>We set it up that the Patton registers with the PBX and we get the error:</div>
<div><br></div><div>---------------------</div><div><b>2009-12-30 17:07:08.11907 [WARNING] sofia_reg.c:1771 Can't find user [<a href="mailto:101@10.156.10.93" target="_blank">101@10.156.10.93</a>]</b></div><div><b>You must define a domain called '10.156.10.93' in your directory and add a user with the id="101" attribute</b></div>
<div><b>and you must configure your device to use the proper domain in it's authentication credentials.</b></div><div>---------------------</div><div><br></div><div>Find more info below.</div><div><br></div><div>So any help would be great!</div>
<div><br></div><div>Many thanks!</div><div><br></div><div><div>Frederik Denkens</div><div>Belgium</div><div><font face="Helvetica, Arial, sans-serif" size="3"><span style="font-size: 12px;"><b><span style="font-size: medium; font-weight: normal;">+32 475 96 04 93 </span></b></span></font></div>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div>We defined a gateway in conf/sip_profiles/external/patton.xml:</div><div><div>---------------------</div><div><include></div><div> <gateway name="10.156.10.90">--></div>
<div> <param name="username" value="101"/></div><div> <param name="password" value="101"/></div><div> <param name="register" value="false"/></div>
<div> </gateway></div><div></include></div><div>---------------------</div></div><div>And the relevant parts of the Patton config:</div><div>---------------------</div><div><div># define auth</div><div>authentication-service AUTH_SVC</div>
<div> username 101 password 101</div><div><br></div><div># patton registers</div><div>location-service LOCATION_SVC</div><div> domain 1 10.156.10.93</div><div> identity 101</div><div> authentication outbound</div><div>
authenticate 1 authentication-service AUTH_SVC username 101</div><div> registration outbound</div><div> registrar 10.156.10.93 5080</div><div> lifetime 3600</div><div> register auto</div><div><br></div><div>
context sip-gateway GW_SIP</div><div> interface IF_SIP</div><div> bind interface IF_IP_WAN context router port 5060</div><div><br></div><div>context sip-gateway GW_SIP</div><div> bind location-service LOCATION_SVC</div>
<div> no shutdown</div><div>---------------------</div></div><div><div><div><div>Output from 'sofia status'</div><div><div><div>---------------------</div></div><div><div><div></div></div></div></div><div><div> 10.156.10.90<span style="white-space: pre;">        </span>gateway<span style="white-space: pre;">        </span> sip:<a href="mailto:101@10.156.10.90" target="_blank">101@10.156.10.90</a><span style="white-space: pre;">        </span>NOREG</div>
<div><div> Name<span style="white-space: pre;">        </span> Type<span style="white-space: pre;">        </span> Data<span style="white-space: pre;">        </span>State</div><div>=================================================================================================</div>
<div> internal<span style="white-space: pre;">        </span>profile<span style="white-space: pre;">        </span> sip:<a href="mailto:mod_sofia@10.156.10.93" target="_blank">mod_sofia@10.156.10.93</a>:5060<span style="white-space: pre;">        </span>RUNNING (0)</div>
<div> external<span style="white-space: pre;">        </span>profile<span style="white-space: pre;">        </span> sip:<a href="mailto:mod_sofia@10.156.10.93" target="_blank">mod_sofia@10.156.10.93</a>:5080<span style="white-space: pre;">        </span>RUNNING (0)</div>
<div> <a href="http://example.com" target="_blank">example.com</a><span style="white-space: pre;">        </span>gateway<span style="white-space: pre;">        </span> sip:<a href="mailto:joeuser@example.com" target="_blank">joeuser@example.com</a><span style="white-space: pre;">        </span>NOREG</div>
<div> 10.156.10.90<span style="white-space: pre;">        </span>gateway<span style="white-space: pre;">        </span> sip:<a href="mailto:101@10.156.10.90" target="_blank">101@10.156.10.90</a><span style="white-space: pre;">        </span>NOREG</div>
<div> 10.156.10.93<span style="white-space: pre;">        </span> alias<span style="white-space: pre;">        </span> internal<span style="white-space: pre;">        </span>ALIASED</div><div>=================================================================================================</div>
<div><div><div><div>---------------------</div></div><div><div><div></div></div></div></div><div></div></div></div></div><div>sip trace</div><div><div><div><div><div><div><div>---------------------</div></div><div><div><div>
</div></div></div></div><div></div></div></div></div></div><div><div> SIP/2.0 403 Forbidden</div><div> Via: SIP/2.0/UDP 10.156.10.90:5060;branch=z9hG4bKe231fe7b97aa2c0cf</div><div> From: <sip:<a href="mailto:101@10.156.10.93" target="_blank">101@10.156.10.93</a>>;tag=b793adfadf</div>
<div> To: <sip:<a href="mailto:101@10.156.10.93" target="_blank">101@10.156.10.93</a>>;tag=Ua16yjtFgDQ5c</div><div> Call-ID: add8fbd86264310b</div><div> CSeq: 12517 REGISTER</div><div> User-Agent: FreeSWITCH-mod_sofia/1.0.4-exported</div>
<div> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO</div><div> Supported: timer, precondition, path, replaces</div><div> Content-Length: 0</div><div><br></div>
</div><div><br></div><div><br></div><div><br></div><div><font face="Helvetica, Arial, sans-serif"><br></font></div><div><div><div style="word-wrap: break-word;"><div style="word-wrap: break-word;"><div style="word-wrap: break-word;">
<div style="word-wrap: break-word;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
<div><div style="margin: 0px;"><font face="Helvetica, Arial, sans-serif"><div style="margin: 0px;"><b><small style="color: rgb(153, 153, 153); font-family: Helvetica,Arial,sans-serif; font-weight: normal;">Before printing this e-mail, please consider the impact on the environment.</small></b></div>
</font></div></div></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></div></div></div> </div><br></div></div>
</div></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>