androidkotlinlocationkamailio

Sending user data from android app to the kamailio server while sending a call request


I’m trying to create a simple android application which extracts user’s location and also uses kamailio server (version 5.8) to make a call. Is there any way that when a user calls using my application the location data i.e latitude and longitude reaches to the kamailio server along with the call and kamailio logs it along with the call.

I’m new to kamailio so thanks in advance for any help…

Also I’ve already gotten handying with kamailio logging facility.


Solution

  • add sip headers to INVITE: sip_h_X-xxx="youye user data"