[Freeswitch-users] Inability of External SIP Phone to Send IM (Instant Messaging)

Michael Jerris mike at jerris.com
Thu Nov 29 20:28:10 UTC 2018


https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files#SofiaConfigurationFiles-force-register-domain

> On Nov 20, 2018, at 9:22 PM, yosin sun <yosin2rd at gmail.com> wrote:
> 
> Dear Sir/Mme,
> 
> I have a question concerning the inability of an external SIP phone to send IM (Instant Messaging) as follows:
> 
> An external SIP phone (Zoiper) was able to connect to and talk with another SIP phone, but could not send IM (Instant Messaging).  My FreeSWITCH version was 1.6.12.  The private IP of my FreeSWITCH was 192.168.1.84 and the public IP was 220.128.137.70.  When the external SIP phone (phone number 1001) sent text messages to another SIP phone, the following error message was displayed:
> 
> sofia_presence.c:225 Can't find registered user 1001 at 220.128.137.70 <mailto:1001 at 220.128.137.70>
> 
> The current solution was to modify sofia_presence.c:216 from:
> 
> }  else if (!(list = sofia_reg_find_reg_url_multi(profile, user, *host ))) {
> 
> to:
> 
> }  else if (!(list = sofia_reg_find_reg_url_multi(profile, user, NULL))) {/*ignore host value*/
> 
> or another solution was for the SIP phone to register with domain, but it was too troublesome.
> 
> Is there any solution other than modifying the source code as shown above?
> 
> Your great help is highly appreciated.
> 
> Best regards,
> 
> Jack Su
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181129/f317c88c/attachment-0001.html>


More information about the FreeSWITCH-users mailing list