On Tue, Apr 5, 2011 at 8:42 AM, M.Emran <monemran@gmail.com> wrote:
But i am using execute_on_ring, execute_on_answer and api_hangup_hook for cdr.
All variable can read except the termination ip. any one knows how to do that ?

What are you using for your hangup hook? Did you do this:

http://wiki.freeswitch.org/wiki/Channel_Variables#session_in_hangup_hook

-MC