Thats a param not a variable, variables have underscores and params have dashes, just to clarify.

On Mon, Apr 27, 2020 at 4:16 PM Sean Hansen <seanmhansen7@gmail.com> wrote:
Thanks Loi,

This was the solution.

On Tue, Apr 21, 2020 at 9:29 PM Loi Dang <loidang@hoiio.com> wrote:
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@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@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@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________

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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________

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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com


--

Brian West | Co-founder and Developer

Need Commercial support? email sales@freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian@freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com

https://www.facebook.com/signalwireinc?src=email https://twitter.com/freeswitch