<div>Hello Team,<br></div><div>Kindly support in the same.<br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Wednesday, March 4, 2020 11:18 AM, master1024 <master1024@protonmail.com> wrote:<br></div><div> <br></div><blockquote class="protonmail_quote" type="cite"><div>Hello Team,<br></div><div><br></div><div>I need to configure apns Push Notification in kamailio kindly support in it. I read from the site <a href="https://medium.com/@denys.pozniak/apple-push-notification-with-kamailio-eeca2f8e08d">https://medium.com/@denys.pozniak/apple-push-notification-with-kamailio-eeca2f8e08d</a> but I don't understand properly because here is missing push.php, I have another push.php and it is able to push notification on ios device but I need to understand how to integrate that push.php with kamailio, I need that when user is offline during call or message then push notification will fire from php script and application will wake up via push notification.<br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div>On Tuesday, March 3, 2020 12:06 PM, master1024 <master1024@protonmail.com> wrote:<br></div><div><br></div><blockquote class="protonmail_quote" type="cite"><div>Hello Team,<br></div><div>I already read this and attempt to implement that but $sht is creating problem for me. and it is not working for me.<br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div>On Monday, March 2, 2020 11:14 PM, M S <shaheryarkh@gmail.com> wrote:<br></div><div><br></div><blockquote class="protonmail_quote" type="cite"><div dir="auto"><div>Here is a good starting point for you. Adapt and extend as needed in your setup.<br></div><div dir="auto"><br></div><div dir="auto"><a href="https://medium.com/@denys.pozniak/apple-push-notification-with-kamailio-eeca2f8e08d">https://medium.com/@denys.pozniak/apple-push-notification-with-kamailio-eeca2f8e08d</a><br></div><div dir="auto"><br></div><div dir="auto">Hope this helps.<br></div><div dir="auto"><br></div></div><div><br></div><div class="gmail_quote"><div dir="ltr">On Mon, 2 Mar 2020, 12:39 master1024, <<a href="mailto:master1024@protonmail.com">master1024@protonmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello Team,<br></div><div>Kindly explain your 1st step, The IOS app must what what kind of parameters and how many parameters we needed ???<br></div><div><br></div><div><div><br></div><div>Sent with <a href="https://protonmail.com" target="_blank" rel="noreferrer">ProtonMail</a> Secure Email.<br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div>On Thursday, February 27, 2020 6:38 PM, M S <<a href="mailto:shaheryarkh@gmail.com" target="_blank" rel="noreferrer">shaheryarkh@gmail.com</a>> wrote:<br></div><div><br></div><blockquote type="cite"><div dir="auto"><div>Push notification setup is long and complex but generally has following process. Don't forget to read documentation of relevant kamailio modules for proper use.<br></div><div dir="auto"><br></div><div dir="auto">1. The iOS app must send push notification parameters in SIP request e.g. SIP Register. In kamailio, when this request is received, you must extract them and save them in some db backend, e.g. MySQL, Redis etc.<br></div><div dir="auto"><br></div><div dir="auto">2. For each income call, check if destination is offline and push parameters stored in db. If so, then you suspend the INVITE transaction using ASYNC or TSILO module and store transaction information in db.<br></div><div dir="auto"><br></div><div dir="auto">3. Then using the push parameters stored in db, you send the push notification to device using CURL or HTTP client modules etc.<br></div><div dir="auto"><br></div><div dir="auto">4. When device receives push notification, it must come online and send SIP register with push parameters. Kamailio again stores push parameters and checks if an INVITE transaction is waiting for the device. Retrieve the transaction, restore it and forward call to the device.<br></div><div dir="auto"><br></div><div dir="auto">5. If device does not comes online upon receiving push notification and call times out or caller hangs up the call then you need to clean up transaction data stored in db. Similarly, you need to setup mechanism to purge push notification data after some time e.g. 7 or 10 days to ensure device push parameters remain up to date etc.<br></div><div dir="auto"><br></div><div dir="auto">The iOS apps now need to implement CallKit for push notification capable calls, that adds some serious difficultly in processing such calls since they show fake call screen before the actual call is received by app and if callee is too quick to respond to call (answer or reject) then kamailio will never know and still send the real call (step 4 above) later on, so you will need to manage that too.<br></div><div dir="auto"><br></div><div dir="auto"><div>Hope this helps.<br></div><div dir="auto"><br></div></div></div><div><br></div><div class="gmail_quote"><div dir="ltr">On Thu, 27 Feb 2020, 13:25 master1024, <<a href="mailto:master1024@protonmail.com" target="_blank" rel="noreferrer">master1024@protonmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div><br></div><div><div><br></div><div>Sent with <a href="https://protonmail.com" rel="noreferrer noreferrer" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div>On Thursday, February 27, 2020 5:52 PM, master1024 <<a href="mailto:master1024@protonmail.com" rel="noreferrer noreferrer" target="_blank">master1024@protonmail.com</a>> wrote:<br></div><div><br></div><blockquote type="cite"><div>Hello Team,<br></div><div><br></div><div>I need to configure apns sip push notification in kamailio, I have read it many sites but I don't get proper understanding I read it is done with the help of tsilo module kindly support in it.<br></div><div><br></div><div><div><br></div><div>Sent with <a href="https://protonmail.com" rel="noreferrer noreferrer" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div>On Thursday, February 27, 2020 11:10 AM, master1024 <<a href="mailto:master1024@protonmail.com" rel="noreferrer noreferrer" target="_blank">master1024@protonmail.com</a>> wrote:<br></div><div><br></div><blockquote type="cite"><div>Hello,<br></div><div><br></div><div>I need to configure apns push notification in kamailio kindly help. I have a file push.php It is capable to push notification on ios device know i want to implement in kamailio when the user is offline then push notification fire kindly help in this. <br></div><div><br></div><div>Think Out of the Box<br></div><div><br></div><div><div><br></div><div>Sent with <a href="https://protonmail.com" rel="noreferrer noreferrer" target="_blank">ProtonMail</a> Secure Email.<br></div></div><div><br></div></blockquote><div><br></div></blockquote><div><br></div><div>_______________________________________________<br></div><div>Kamailio (SER) - Users Mailing List<br></div><div><a href="mailto:sr-users@lists.kamailio.org" rel="noreferrer noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br></div><div><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br></div></blockquote></div></blockquote><div><br></div></blockquote></div></blockquote><div><br></div></blockquote><div><br></div></blockquote><div><br></div>