Source IP Address

Is there any way at all to grab the source IP address of a SIP invite from the IP header (Not the SIP From or Contact info)? We’re trying to make some scripts that we need to pass the source IPs to in order for them to work as intended.

Any ideas at all?

Nothing at all? I find it strange. Asterisk obviously needs to have that information for certain aspects (permit/deny/host). Why wouldn’t it have a variable, or some other way of pulling that information?

Hi,

What are you trying to achieve? Maybe there is some other way to get the same result…