Hi,
to send the HTTP query you have several alternatives in kamailio:

1) use http_query function from utils module http://www.kamailio.org/docs/modules/4.4.x/modules/utils.html#utils.f.http_query
2) use one of the new http modules http_client or http_async_client

Regards,

Federico

On Wed, Apr 27, 2016 at 2:57 PM, Sirvan Paraste <sirvan@golden-time.co> wrote:
Hello All, 

I am new to kamailio, but I have setup a server that is ok for call functionalities, 

I have write an android app it I wnat to add push notification ability to the app when it is clised or unregisterd to the sip server. I have done all push notification part using GCM service and a third party server name Uniqush-push that is connected to GCM to handle push notification, anyway the app and push server part all work well now, 

The problem is this: kamilio send a http request like this :


curl http://127.0.0.1:9898/push -d service=myserviceName -d subscriber=6000 -d msg="Hello World"
given 6000 as a kamilio user,

I ask a nice guy and he replied me by using the TSILO as following link:

http://www.kamailio.org/events/2015-KamailioWorld/Day2/20-Federico.Cabiddu-Kamailio-In-A-Mobile-World.pdf

thanks to him it made the process more easier I think. But I dont know how I can congigured kamailio to call my server as I said above in order to send push. 

please help me by example because I am new, I searched a lot but I get confused, 
 I will make a tutorial for other people to help them. 

thanks all




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users