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.comfreeswitch.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.comfreeswitch.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.comfreeswitch.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.