Say, Using this on hangup
http://www.voip-info.org/wiki/view/Asterisk+variables
Below is my output.
How do I get the callers IP?
Executing [h@OutboundWS:1] NoOp("SIP/41.x.x.x-03bfd75
0", "EXTEN : h") in new stack
[2011-10-08 23:55:15] VERBOSE[14670] logger.c: -- Executing [h@OutboundWS:2] NoOp("SIP/41.x.x.x-03bfd75
0", "SIPDOMAIN : 41.x.x.x") in new stack
[2011-10-08 23:55:15] VERBOSE[14670] logger.c: -- Executing [h@OutboundWS:3] NoOp("SIP/41.x.x.x-03bfd75
0", "SIPCALLID : b212484d2e3ca45d") in new stack