Hi, What is the way to read variable for termination gateway ip while it was ringing/answer and stop in lua script? -- Regards ---------- M Emran
I get it from the XML CDR parsing facility I wrote. I have a LUA script that churns through multiple gateways - but I post parse the XML for the answer From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of M.Emran Sent: Tuesday, April 05, 2011 11:32 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] How to get remote gateway IP Hi, What is the way to read variable for termination gateway ip while it was ringing/answer and stop in lua script? -- Regards ---------- M Emran
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 ? On Tue, Apr 5, 2011 at 9:35 PM, Robert Huddleston <rhuddleston@gmail.com>wrote:
I get it from the XML CDR parsing facility I wrote… I have a LUA script that churns through multiple gateways – but I post parse the XML for the answer
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *M.Emran *Sent:* Tuesday, April 05, 2011 11:32 AM *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] How to get remote gateway IP
Hi,
What is the way to read variable for termination gateway ip while it was ringing/answer and stop in lua script?
-- Regards ---------- M Emran
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Regards ---------- M Emran
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
participants (3)
-
M.Emran
-
Michael Collins
-
Robert Huddleston