What is the best way to detect whether an INVITE message came from a certain IP address?
I.e. if a call comes from a certain asterisk box?

I have thought of using the textops search(), but this seems a little clumsy.
Perhaps there is a way to get directly at the via headers?
Or is there a keyword of corresponding functionality to the uri keyword?


Thanks,
Mark Price