Hi All,

I have tried couple of methods to retrieve last via IP of SIP message but 
failed to retrieve it, trying to retrieve the source

- @hf_value.via[-1].host,
it simply prints the exact text back @hf_value.via[-1].host

- $sel(@hf_value.via[-1])
it doest give the IP but the entire via value
SIP/2.0/TCP 
172.31.30.144;branch=z9hG4bKf8bd.753341d2000000000000000000000000.0.host

@via[-1].host
it also simply prints the exact text back @via[-1].host

Regards,
Adarsh Chauha
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to