signalwire / freeswitch

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
https://freeswitch.com/#getting-started
Other
3.58k stars 1.42k forks source link

SMS Not working for internal extension #2562

Open ecc001 opened 2 months ago

ecc001 commented 2 months ago

Hi everyone,

I have freeswitch running on debian 11, calls are working between the internal extensions. but i can't send sms. The error it returns is can't find registered users. Please see logs below, thanks.

2024-08-03 14:38:07.696863 99.60% [INFO] mod_sms.c:368 Processing text message 1000->1004 in context public Chatplan: 1004 parsing [public->demo] continue=false Chatplan: 1004@ Regex (PASS) [demo] to(1004@) =~ /^(.*)$/ break=on-false Chatplan: 1004@ Action reply(Hello, you said: ${body}) 2024-08-03 14:38:07.696863 99.60% [DEBUG] sofia_presence.c:225 Can't find registered user 1004@ 2024-08-03 14:38:07.696863 99.60% [DEBUG] sofia_presence.c:225 Can't find registered user 1000@ 2024-08-03 14:38:07.696863 99.60% [WARNING] sofia_reg.c:2843 Cannot locate any authentication credentials to complete an authentication request for realm '""'

skainz92 commented 2 months ago

The realm / domain is missing. Try sending the sms to for example 1004@yourdomain.com instead of only 1004. Maybe you saved the contacts as 1004 and 1000 in your client without the domain.

regards