<div dir="auto">You don't need to use LUA for the task, you can use any language you are comfortable with, e.g. perl, python or php. You can even use remote nodejs and call it from kamailio as http request.<div dir="auto"><br></div><div dir="auto">There are tons of example scripts, tutorials and howtos online regarding how to send push notifications from just about any language or web service etc.</div><div dir="auto"><br></div><div dir="auto">Hope this helps.</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 3 Mar 2020, 08:54 max, <<a href="mailto:masood@jnt.se">masood@jnt.se</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am expert in voip solution such as Asterisk and familiar with Kamailio .in<br>
one of our project we use the linphone app as a client mobile and we have to<br>
solved  registering issue when extension has been unregistered in background<br>
mode.<br>
<br>
so i try to implement  this scenario  according federico document and enable<br>
extra module like this:<br>
<br>
loadmodule "tsilo.so"<br>
loadmodule "htable.so"<br>
#loadmodule "app_lua.so"<br>
loadmodule "cfgutils.so"<br>
<br>
I must disable app_lua.so because i haven't suitable lua script .i think<br>
most parts is OK and i can see ts_store parameters:<br>
<br>
ts.dump<br>
{<br>
        Size: 1024<br>
        R-URIs: {<br>
                R-URI:<br>
<a href="http://sip:1003@192.168.1.169:25378" target="_blank" rel="noreferrer">sip:1003@192.168.1.169:25378</a>;rinstance=6cb3b1cc5efabdfb<br>
                Hash: -238368019<br>
                Transactions: {<br>
                        Transaction: {<br>
                                Tindex: 9977<br>
                                Tlabel: 1825563922<br>
                        }<br>
                }<br>
        }<br>
        Stats: {<br>
                RURIs: 1<br>
                Max-Slots: 1<br>
                Transactions: 1<br>
        }<br>
}<br>
<br>
<br>
by the way push notification feature is enable in linphone app .<br>
<br>
<br>
Now i need a script (lua) for handling this issue (push notification for<br>
app) when we fetch SEND PUSH route. Could you please advice me ? do you have<br>
any example of this script?<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://sip-router.1086192.n5.nabble.com/Users-f3.html" rel="noreferrer noreferrer" target="_blank">http://sip-router.1086192.n5.nabble.com/Users-f3.html</a><br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>