[Freeswitch-users] Error in an example of FreeSWITCH cookbook
Michael Collins
msc at freeswitch.org
Wed Feb 29 03:12:23 MSK 2012
You are correct, sir! I'll need you to please file an errata report with
PacktPub.com. It looks like a line of code got lost somewhere. In any case,
just add this line right before line 22:
my $e = $con->recvEvent();
That should do the trick. Not sure what happened with that code sample but
I'll ask Packt to fix it. However, I need you to open the errata report.
Thanks,
MC
2012/2/28 Владислав Гришин <Vladislav.Grishin at vts24.ru>
> I have FreeSWITCH Version 1.0.6 (hacked-20110607T065231Z) on Centos 5.5**
> **
>
> ** **
>
> I run script /usr/src/freeswitch-1.0.6/libs/esl/perl/logger.pl - all ok.*
> ***
>
> ** **
>
> Script from 59 page of FreeSWITCH cookbook finishes with an error****
>
> ** **
>
> Global symbol "$e" requires explicit package name at ./cdr_to_file.plline 22.
> ****
>
> Execution of ./cdr_to_file.pl aborted due to compilation errors.****
>
> ** **
>
> 22 line is ****
>
> ** **
>
> my @raw_data = split "\n",$e->serialize();****
>
> ** **
>
> ** **
>
> Vladislav Grishin****
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120228/7730972e/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list