Re: Implementing SMS to email

Tolga Ulas <[email protected]> Tue, 5 Dec 2023 13:36:27 +0300
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CACoCBG8Qp7WoQMao+t-OeZqEwB1aZ18V_c283zQdCZAdSUq8ag@mail.gmail.com>
--0000000000004aabd6060bc0cff0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

https://medium.com/@SudeepParajuli/quickstart-with-kannel-7005684bffb9

Tolga Ulas



On Tue, Dec 5, 2023 at 1:00=E2=80=AFPM <[email protected]> wrote:

> Hi,
>
>
>
> AFAIK, Kannel won=E2=80=99t forward SMS to email by itself.
>
>
>
> 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.
>
>
>
> 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. Yo=
u
> may code it or use any of low-code/no-code API/workflow builders. It
> depends of your available skills, project scale and lifecycle.
>
>
>
> Also, AFAIK, Kannel may trigger shell script on SMS, but this option is
> not recommended in the docs.
>
>
>
> Sincerely,
>
>
>
> Alex
>
>
>
>
>
> *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
>
>
>
> Hello,
>
>
>
> Need advice , as how one can set SMS2email.
>
> Incoming messages over phone numbers will arrive via smpp from various
> providers on various numbers.
>
>
>
> So, for example if we need to route  SMS to emails based on Number on
> which SMS arroved
>
> Example
>
> 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
>
>
>
> How can this sms 2email be achieved in kannel.
>
>
>
>
> G Koch
>

--0000000000004aabd6060bc0cff0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><a href=3D"https://medium.com/@SudeepParajuli/quickstart-w=
ith-kannel-7005684bffb9">https://medium.com/@SudeepParajuli/quickstart-with=
-kannel-7005684bffb9</a><div><br clear=3D"all"><div><div dir=3D"ltr" class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">To=
lga Ulas<div><br></div></div></div></div><br></div></div><br><div class=3D"=
gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Dec 5, 2023 at 1=
:00=E2=80=AFPM &lt;<a href=3D"mailto:[email protected]">[email protected]=
</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
<div class=3D"msg-7220850148224620610"><div lang=3D"RU" style=3D"overflow-w=
rap: break-word;"><div class=3D"m_-7220850148224620610WordSection1"><p clas=
s=3D"MsoNormal"><span lang=3D"EN-US">Hi,<u></u><u></u></span></p><p class=
=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p><p class=
=3D"MsoNormal"><span lang=3D"EN-US">AFAIK, Kannel won=E2=80=99t forward SMS=
 to email by itself.<u></u><u></u></span></p><p class=3D"MsoNormal"><span l=
ang=3D"EN-US"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal"><span l=
ang=3D"EN-US">As for me, the most clear way to do it is to use Kannel to fo=
rward SMS to HTTP and then use HTTP application to handle the messages. The=
n, routing table (nr to email) is a part of the application.<u></u><u></u><=
/span></p><p class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u><=
/span></p><p class=3D"MsoNormal"><span lang=3D"EN-US">The app may be build =
with any tools you like. It just need to get the message from URL params (o=
r 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.<u></u><u></u></span></p><p class=3D"MsoNorma=
l"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNorma=
l"><span lang=3D"EN-US">Also, AFAIK, Kannel may trigger shell script on SMS=
, but this option is not recommended in the docs.<u></u><u></u></span></p><=
p class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p><=
p class=3D"MsoNormal"><span lang=3D"EN-US">Sincerely,<u></u><u></u></span><=
/p><p class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span><=
/p><p class=3D"MsoNormal"><span lang=3D"EN-US">Alex<u></u><u></u></span></p=
><p class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p=
><p class=3D"MsoNormal"><span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p=
><div style=3D"border-top:none;border-right:none;border-bottom:none;border-=
left:1.5pt solid blue;padding:0cm 0cm 0cm 4pt"><div><div style=3D"border-ri=
ght:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,2=
25,225);padding:3pt 0cm 0cm"><p class=3D"MsoNormal"><b>From:</b> users &lt;=
<a href=3D"mailto:[email protected]" target=3D"_blank">users-bounces=
@kannel.org</a>&gt; <b>On Behalf Of </b>G. Kochar<br><b>Sent:</b> Tuesday, =
December 5, 2023 11:58 AM<br><b>To:</b> <a href=3D"mailto:[email protected]"=
 target=3D"_blank">[email protected]</a><br><b>Subject:</b> Implementing SMS=
 to email<u></u><u></u></p></div></div><p class=3D"MsoNormal"><u></u>=C2=A0=
<u></u></p><div><div><div><p class=3D"MsoNormal">Hello,<u></u><u></u></p></=
div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><div><p class=
=3D"MsoNormal">Need advice , as how one can set SMS2email.<u></u><u></u></p=
></div><div><p class=3D"MsoNormal">Incoming messages over phone numbers wil=
l arrive via smpp from various providers on various numbers.<u></u><u></u><=
/p></div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><div><p =
class=3D"MsoNormal">So, for example if we need to route=C2=A0 SMS to emails=
 based on Number on which SMS arroved<u></u><u></u></p></div><div><p class=
=3D"MsoNormal">Example <u></u><u></u></p></div><div><p class=3D"MsoNormal">=
44203XXX89=C2=A0=C2=A0 number , SMS needs to go to use with email=C2=A0 Add=
ress=C2=A0 - A<u></u><u></u></p></div><div><div><p class=3D"MsoNormal">4420=
3XXX90 =C2=A0 number , SMS needs to go to use with email=C2=A0 Address=C2=
=A0 - B<u></u><u></u></p></div></div><div><div><div><p class=3D"MsoNormal">=
44203XXX93 =C2=A0 number , SMS needs to go to use with email=C2=A0 Address=
=C2=A0 - C<u></u><u></u></p></div><div><p class=3D"MsoNormal"><u></u>=C2=A0=
<u></u></p></div><div><p class=3D"MsoNormal">How can this sms 2email be ach=
ieved in kannel.<u></u><u></u></p></div><div><p class=3D"MsoNormal"><span s=
tyle=3D"color:rgb(136,136,136)"><u></u>=C2=A0<u></u></span></p></div></div>=
</div><p class=3D"MsoNormal"><br clear=3D"all"><u></u><u></u></p></div><p c=
lass=3D"MsoNormal"><span class=3D"m_-7220850148224620610gmailsignatureprefi=
x">G Koch</span> <u></u><u></u></p></div></div></div></div></div></blockquo=
te></div>

--0000000000004aabd6060bc0cff0--