On Monday 21 July 2014 17:39:30 Cibin Paul wrote:
You will get the IP address from which the call is originated using ${SIPURI}. Basically you have to strip the ip address from ${SIPURI}. You can compare the same with the ip in location table of kamailio.
OT: SIPURI is parsed/constructed from the INVITE. CHANNEL(recvip) will give you the ip addr of the remote socket.