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

yosin sun yosin2rd at gmail.com
Wed Nov 21 02:22:26 UTC 2018


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

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

回覆轉寄
<https://drive.google.com/u/0/settings/storage?hl=zh-TW>
<https://www.google.com/intl/zh-TW/policies/terms/>
<https://www.google.com/intl/zh-TW/policies/privacy/>
<https://www.google.com/gmail/about/policy/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181121/35d67b18/attachment-0001.html>


More information about the FreeSWITCH-users mailing list