<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><a href="https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files#SofiaConfigurationFiles-force-register-domain" class="">https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files#SofiaConfigurationFiles-force-register-domain</a><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Nov 20, 2018, at 9:22 PM, yosin sun <yosin2rd@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class="">Dear Sir/Mme,</div><div dir="ltr" class=""><br class=""><div class=""><table class="gmail-Bs gmail-nH gmail-bAt gmail-iY" cellpadding="0" style="width: 696px; color: rgb(32, 33, 36); font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: inherit; line-height: normal;"><tbody class=""><tr class=""><td class="gmail-yM gmail-Bu"></td><td class="gmail-bAn gmail-Bu"><div class="gmail-nH gmail-if"><div class="gmail-nH gmail-aHU"><div class="gmail-nH gmail-hx"><div class="gmail-nH"><div class="gmail-ie gmail-nH gmail-oy8Mbf gmail-h7" tabindex="-1"><div class="gmail-Bk" style="width:680px"><div class="gmail-G3 gmail-G2"><div id="gmail-:21w" class=""><div class="gmail-adn gmail-ads"><div class="gmail-gs" style="width:616px"><div class="gmail-"><div id="gmail-:aa" class="gmail-gt gmail-ii" style="font-size:14px"><div id="gmail-:22o" class="gmail-a3s gmail-aXjCH" tabindex="-1" style="outline:none"><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">I have a question concerning the inability of an external SIP phone to send IM (Instant Messaging) as follows:</div><div class=""><br class=""></div><div class=""><div class="">An external SIP phone (Zoiper) was able to connect to and talk with another SIP phone, <span style="line-height:1.5" class="">but could not send IM (Instant Messaging). My FreeSWITCH version was 1.6.12. </span><span style="line-height:1.5" class="">The private IP of my FreeSWITCH was 192.168.1.84 and the public IP was </span><span style="line-height:1.5" class="">220.128.137.70. When the external SIP phone (phone number 1001) sent text </span><span style="line-height:1.5" class="">messages to another SIP phone, the following error message was displayed:</span></div><div class=""><br class=""></div><div class="">sofia_presence.c:225 Can't find registered user <a href="mailto:1001@220.128.137.70" target="_blank" class="">1001@220.128.137.70</a></div><div class=""><br class=""></div><div class="">The current solution was to modify sofia_presence.c:216 from:</div><div class=""><br class=""></div><div class="">} else if (!(list = sofia_reg_find_reg_url_multi(profile, user, *host ))) {</div><div class=""><br class=""></div><div class="">to:</div><div class=""><br class=""></div><div class="">} else if (!(list = sofia_reg_find_reg_url_multi(profile, user, NULL))) {/*ignore host value*/</div><div class=""><br class=""></div><div class="">or another solution was for the SIP phone to register with domain, but it <span style="line-height:1.5" class="">was too troublesome.</span></div><div class=""><br class=""></div><div class="">Is there any solution other than modifying the source code as shown above?</div></div><div class=""><span style="line-height:1.5" class=""><br class=""></span></div><div class=""><span style="line-height:1.5" class="">Your great help is highly appreciated.</span></div><div class=""><span style="line-height:1.5" class=""><br class=""></span></div><div class=""><span style="line-height:1.5" class="">Best regards,</span></div><div class=""><span style="line-height:1.5" class=""><br class=""></span></div><div class=""><span style="line-height:1.5" class="">Jack Su</span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></td><td class="gmail-yM gmail-Bu"></td></tr></tbody></table></div></div></div></div></blockquote></div></body></html>