<div dir="ltr">Thanks <div><table cellpadding="0" class="" style="font-family:arial,sans-serif;font-size:13px"><tbody><tr class=""><td class="" style="width:586px"><table cellpadding="0" class="" style="width:586px"><tbody><tr>
<td><h3 class=""><span name="Brian West" class="" style="font-size:13px">Brian West</span></h3></td></tr></tbody></table></td></tr></tbody></table></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 8, 2014 at 7:22 AM, 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">Abdullah,<br>
To approach billing in FreeSWITCH in the same inline manner you had done with Asterisk is usually frowned on.<br>
<br>
Look at libs/esl/perl/<a href="http://dispatch.pl" target="_blank">dispatch.pl</a> for one way.<br>
<br>
You could also drop XML CDR’s on disk and post process them…<br>
<br>
And last but not least….<br>
<br>
<a href="https://wiki.freeswitch.org/wiki/Variable_session_in_hangup_hook" target="_blank">https://wiki.freeswitch.org/wiki/Variable_session_in_hangup_hook</a><br>
<br>
<br>
--<br>
Brian West<br>
<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><br>
FreeSWITCH Solutions, LLC<br>
PO BOX 2531<br>
Brookfield, WI 53008-2531<br>
Twitter: @FreeSWITCH , @briankwest<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.com</a><br>
<br>
T: <a href="tel:%2B1.918.420.9001" value="+19184209001">+1.918.420.9001</a> | F: <a href="tel:%2B1.918.420.9002" value="+19184209002">+1.918.420.9002</a> | M: +1.918.424.WEST<br>
iNUM: <a href="tel:%2B883%205100%201420%209001" value="+883510014209001">+883 5100 1420 9001</a><br>
ISN: 410*543<br>
Skype:briankwest<br>
PGP Key: <a href="http://www.bkw.org/key.txt" target="_blank">http://www.bkw.org/key.txt</a> (AB93356707C76CED)<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Jan 31, 2014, at 4:59 AM, Abdullah <<a href="mailto:abdullah@smonte.com">abdullah@smonte.com</a>> wrote:<br>
<br>
> Hi all genius Developer's,<br>
><br>
> How i get free-switch , Answer-time ,billsec and duration variables in Perl<br>
> script with out using API hangup hook and using other Module of Freeswitch<br>
> (CVS,XML-CDR etc).<br>
> i have try to get Global and local variable like this but not getting any<br>
> value after hangup call.<br>
> $billsec = $session->getVariable("billsec");<br>
><br>
> but when i get Dial status variable value return like SUCCESS But why i cant<br>
> get Billsec using this ??<br>
><br>
> Suggestion are Welcome....<br>
><br>
><br>
> Thanks Abdullah<br>
<br>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>