[Freeswitch-users] Customized CDR
Brian West
brian at freeswitch.org
Sat Feb 8 05:22:01 MSK 2014
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 at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140207/1a02a4be/attachment.bin
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list