<div dir="ltr">Ok, I guess using mod_json_cdr will do the trick. Point the url to to ActionHero action to consume.<div><br></div><div>Thanks Brian.</div><div><br></div><div>Donny</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 30, 2017 at 7:57 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>You don't want to call getvar in a loop just use the hangup hook and session in hangup hook variables, but you shouldn't be doing billing in this manner!</div><div><br></div><div>/b</div><div><br><div class="gmail_quote"><div><div class="h5"><div>On Mon, Jan 30, 2017 at 1:37 AM Donny Hardyanto <<a href="mailto:hardyanto.donny@gmail.com" target="_blank">hardyanto.donny@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div class="m_-992637064789294648gmail_msg">Hi,<div class="m_-992637064789294648gmail_msg"><br class="m_-992637064789294648gmail_msg"></div><div class="m_-992637064789294648gmail_msg">I need to call some web API after the call finish with parameter answered time stamp and nibble_total_billed. I am using Javascript session.getVariable to get those parameters, but the start_stamp, answer_stamp, start_epoch and nibble_total_billed returned empty.</div><div class="m_-992637064789294648gmail_msg"><br class="m_-992637064789294648gmail_msg"></div><div class="m_-992637064789294648gmail_msg">How to get the start_stamp, answer_stamp and nibble_total_billed in Javascript scripts?</div><div class="m_-992637064789294648gmail_msg"><br class="m_-992637064789294648gmail_msg"></div><div class="m_-992637064789294648gmail_msg">Donny</div></div></div></div>
______________________________<wbr>______________________________<wbr>_____________<br class="m_-992637064789294648gmail_msg">
Professional FreeSWITCH Consulting Services:<br class="m_-992637064789294648gmail_msg">
<a href="mailto:consulting@freeswitch.org" class="m_-992637064789294648gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="m_-992637064789294648gmail_msg">
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="m_-992637064789294648gmail_msg" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br class="m_-992637064789294648gmail_msg">
<br class="m_-992637064789294648gmail_msg">
Official FreeSWITCH Sites<br class="m_-992637064789294648gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="m_-992637064789294648gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="m_-992637064789294648gmail_msg">
<a href="http://confluence.freeswitch.org" rel="noreferrer" class="m_-992637064789294648gmail_msg" target="_blank">http://confluence.freeswitch.<wbr>org</a><br class="m_-992637064789294648gmail_msg">
<a href="http://www.cluecon.com" rel="noreferrer" class="m_-992637064789294648gmail_msg" target="_blank">http://www.cluecon.com</a><br class="m_-992637064789294648gmail_msg">
<br class="m_-992637064789294648gmail_msg">
FreeSWITCH-users mailing list<br class="m_-992637064789294648gmail_msg">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="m_-992637064789294648gmail_msg" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br class="m_-992637064789294648gmail_msg">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="m_-992637064789294648gmail_msg" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br class="m_-992637064789294648gmail_msg">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="m_-992637064789294648gmail_msg" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br class="m_-992637064789294648gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="m_-992637064789294648gmail_msg" target="_blank">http://www.freeswitch.org</a></blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a> <br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.<wbr>com</a></font><font size="2" face="monospace, monospace"><br></font><a href="https://www.gofundme.com/freeswitch_ubuntu" style="font-size:12.8px" target="_blank"><font face="monospace, monospace">https://www.gofundme.com/<wbr>freeswitch_ubuntu</font></a></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b><a href="tel:+1%20918-420-9001" value="+19184209001" target="_blank">+19184209001</a> | <b>F:</b><a href="tel:+1%20918-420-9002" value="+19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br><b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>