Is there a way to set up incoming SMs messages so that they are forwarded to email
Who is your SMS provider?
That’s what I want to bypass I’m hoping the message can come straight to FreePBX over the SIP trunk.
OK but who is the provider?
Of the SIP trunk?
ICUK
Whether they can pass the SMS on is a different question that I’ll ask if FreePBX can process it and send it as an email. If FreePBX can’t then so be it.
Providers often do not pass SMS as SIP MESSAGE request, so the method they use is important, not just whether they have some method.
I realise there are 2 separate questions-
a) cna FreePBX process and incoming message and forward it as an email
b) Can the provider pass the message over the trunk.
Here I’m interested in question A
Given that
got no reply, I would assume that there is no email option, so you would need to write custom dialplan.
There is some support for delivering SMS to UCP, including from third party code:
This supports more than just the use of SIP MESSAGE.
Thanks, if it’s not possible then I need to explore another option to work round a bank’s insistance on sending text messages about our business account given we have no mobile signal in the office.
It’s possible, in many cases, but not out of the box.
You’re putting the cart before the horse and only focusing on what you think is the real question.
You need to find out how your provider handles SMS messaging. If they are doing it over SIP SIMPLE (highly, highly unlikely) then the SMS message would be sent over your voice trunk to the PBX. If they are doing it over API webhooks (the most likely option) then FreePBX doesn’t have to be involved at all but you will need to write an API that listens for the webhook submissions.
So knowing the answer to B (how the provider handles SMS delivery to you) is going to impact how or if FreePBX will need to handle the SMS message.
Go and find out how your provider handles SMS delivery first.