I need to configure ios push notification in kamailio I have installed kamailio by repository. and need to configure ios push notification for my custom app. kindly support.
Asked
Active
Viewed 429 times
0
-
Kamailio is a SIP Proxy, typically used for VoIP. It does not handle iOS push notifications. – Nick Feb 24 '20 at 22:29
-
I have a php script for sending push notification and kamailio have a module called http_client for calling php via http protocol now i want to handle push notification, i read here https://medium.com/@denys.pozniak/apple-push-notification-with-kamailio-eeca2f8e08d but not able to understand because it is not clear – masterhydra Feb 26 '20 at 05:55
1 Answers
1
You can do that like this
1) Create fast and simple http endpoint running on localhost which will get device name from kamailio(sent via http module) and write it to rabbitmq.
2) Create php script which read device name, searches for credentials and does push(reuse of your current php script).
It is higly recommend use somethign like above, becuase kamailio http module block event loop.

arheops
- 15,544
- 1
- 21
- 27
-
Hello Arheops, I not understand what your want to say kindly explain with some examples – masterhydra Mar 17 '20 at 04:46
-
Likly you just need hire someone with more background in kamailio and scripting – arheops Mar 17 '20 at 06:57
-
The http_async_client module for Kamailio does not block when making HTTP requests. – ruhnet Sep 09 '21 at 14:07
-