RE: Implementing SMS to email
<[email protected]> Tue, 5 Dec 2023 12:59:24 +0300
| Newsgroups | gmane.comp.mobile.kannel.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multipart message in MIME format. ------=_NextPart_000_0082_01DA277A.E01C5EE0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, =20 AFAIK, Kannel won=E2=80=99t forward SMS to email by itself. =20 As for me, the most clear way to do it is to use Kannel to forward SMS = to HTTP and then use HTTP application to handle the messages. Then, = routing table (nr to email) is a part of the application. =20 The app may be build with any tools you like. It just need to get the = message from URL params (or XML POST), and send it to the destination. = You may code it or use any of low-code/no-code API/workflow builders. It = depends of your available skills, project scale and lifecycle. =20 Also, AFAIK, Kannel may trigger shell script on SMS, but this option is = not recommended in the docs. =20 Sincerely, =20 Alex =20 =20 From: users <[email protected]> On Behalf Of G. Kochar Sent: Tuesday, December 5, 2023 11:58 AM To: [email protected] Subject: Implementing SMS to email =20 Hello, =20 Need advice , as how one can set SMS2email. Incoming messages over phone numbers will arrive via smpp from various = providers on various numbers. =20 So, for example if we need to route SMS to emails based on Number on = which SMS arroved Example=20 44203XXX89 number , SMS needs to go to use with email Address - A 44203XXX90 number , SMS needs to go to use with email Address - B 44203XXX93 number , SMS needs to go to use with email Address - C =20 How can this sms 2email be achieved in kannel. =20 G Koch=20 ------=_NextPart_000_0082_01DA277A.E01C5EE0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta = name=3DGenerator content=3D"Microsoft Word 15 (filtered = medium)"><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; font-size:11.0pt; font-family:"Calibri",sans-serif;} span.gmailsignatureprefix {mso-style-name:gmail_signature_prefix;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} @page WordSection1 {size:612.0pt 792.0pt; margin:2.0cm 42.5pt 2.0cm 3.0cm;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DRU = link=3D"#0563C1" vlink=3D"#954F72" style=3D'word-wrap:break-word'><div = class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>Hi,<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>AFAIK, Kannel won=E2=80=99t forward = SMS to email by itself.<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>As for me, the most clear way to do = it is to use Kannel to forward SMS to HTTP and then use HTTP application = to handle the messages. Then, routing table (nr to email) is a part of = the application.<o:p></o:p></span></p><p class=3DMsoNormal><span = lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>The app may be build with any tools = you like. It just need to get the message from URL params (or XML POST), = and send it to the destination. You may code it or use any of = low-code/no-code API/workflow builders. It depends of your available = skills, project scale and lifecycle.<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>Also, AFAIK, Kannel may trigger = shell script on SMS, but this option is not recommended in the = docs.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>Sincerely,<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'>Alex<o:p></o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><p = class=3DMsoNormal><span lang=3DEN-US = style=3D'mso-fareast-language:EN-US'><o:p> </o:p></span></p><div = style=3D'border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm = 4.0pt'><div><div style=3D'border:none;border-top:solid #E1E1E1 = 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=3DMsoNormal><b>From:</b> users = <[email protected]> <b>On Behalf Of </b>G. = Kochar<br><b>Sent:</b> Tuesday, December 5, 2023 11:58 AM<br><b>To:</b> = [email protected]<br><b>Subject:</b> Implementing SMS to = email<o:p></o:p></p></div></div><p = class=3DMsoNormal><o:p> </o:p></p><div><div><div><p = class=3DMsoNormal>Hello,<o:p></o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal>Need advice , as how one can set = SMS2email.<o:p></o:p></p></div><div><p class=3DMsoNormal>Incoming = messages over phone numbers will arrive via smpp from various providers = on various numbers.<o:p></o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal>So, for example if we need to route SMS to = emails based on Number on which SMS arroved<o:p></o:p></p></div><div><p = class=3DMsoNormal>Example <o:p></o:p></p></div><div><p = class=3DMsoNormal>44203XXX89 number , SMS needs to go to use = with email Address - A<o:p></o:p></p></div><div><div><p = class=3DMsoNormal>44203XXX90 number , SMS needs to go to use with = email Address - = B<o:p></o:p></p></div></div><div><div><div><p = class=3DMsoNormal>44203XXX93 number , SMS needs to go to use with = email Address - C<o:p></o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal>How can this sms 2email be achieved in = kannel.<o:p></o:p></p></div><div><p class=3DMsoNormal><span = style=3D'color:#888888'><o:p> </o:p></span></p></div></div></div><p = class=3DMsoNormal><br clear=3Dall><o:p></o:p></p></div><p = class=3DMsoNormal><span class=3Dgmailsignatureprefix>G Koch</span> = <o:p></o:p></p></div></div></div></body></html> ------=_NextPart_000_0082_01DA277A.E01C5EE0--