[Freeswitch-users] sofia reject MESSAGE method

Loi Dang loidang at hoiio.com
Wed Apr 22 04:00:19 UTC 2020


Hi, try setting this var `enable-chat` to false in your sofia sip profile.

rgds,
Loi Dang

On Wed, Apr 22, 2020 at 10:32 AM Sean Hansen <seanmhansen7 at gmail.com> wrote:

> Hello,
>
> Does anyone know of a way to reject chat/messaging for sofia? Specifically
> the MESSAGE method?
>
> We use FreeSWITCH purely as an SBC/media proxy for voice only, so
> therefore have no need for directory/chatplan/etc. We have noticed with our
> current configuration, when our PBX passes a MESSAGE (usually generated on
> accident...) to freeswitch it sends the MESSAGE right back to the PBX -
> which creates a loop and jams up the proxies.
>
> The log is complaining as such:
> freeswitch.log.2020-04-21-11-57-04.1:2020-04-21 10:50:43.195480 [DEBUG]
> sofia_presence.c:225 Can't find registered user XXXXXXXXXXX at domain.com
> freeswitch.log.2020-04-21-11-57-04.1:2020-04-21 10:50:43.195480 [DEBUG]
> sofia_presence.c:225 Can't find registered user XXXXXXXXXXX at domain.com
> freeswitch.log.2020-04-21-11-57-04.1:2020-04-21 10:50:43.215485 [DEBUG]
> sofia_presence.c:225 Can't find registered user XXXXXXXXXXX at domain.com
> freeswitch.log.2020-04-21-11-57-04.1:2020-04-21 10:50:43.215485 [DEBUG]
> sofia_presence.c:225 Can't find registered user XXXXXXXXXXX at domain.com
>
> where XXXXXXXXXXX is the destination number for the message.
>
> We do not load mod_sms, and all of the chatplans are disabled.
>
> Thanks.
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200422/31d6f7c5/attachment-0001.html>


More information about the FreeSWITCH-users mailing list