[Freeswitch-users] sofia reject MESSAGE method

Sean Hansen seanmhansen7 at gmail.com
Wed Apr 22 00:50:36 UTC 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200421/12107789/attachment.html>


More information about the FreeSWITCH-users mailing list