|
Abdullah,
To approach billing in FreeSWITCH in the same inline manner you had done with Asterisk is usually frowned on.
Look at libs/esl/perl/dispatch.pl for one way.
You could also drop XML CDR’s on disk and post process them…
And last but not least….
https://wiki.freeswitch.org/wiki/Variable_session_in_hangup_hook
--
Brian West
brian@freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Jan 31, 2014, at 4:59 AM, Abdullah <abdullah@smonte.com> wrote:
> Hi all genius Developer's,
>
> How i get free-switch , Answer-time ,billsec and duration variables in Perl
> script with out using API hangup hook and using other Module of Freeswitch
> (CVS,XML-CDR etc).
> i have try to get Global and local variable like this but not getting any
> value after hangup call.
> $billsec = $session->getVariable("billsec");
>
> but when i get Dial status variable value return like SUCCESS But why i cant
> get Billsec using this ??
>
> Suggestion are Welcome....
>
>
> Thanks Abdullah
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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