<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Message: 9<br>Date: Mon, 3 Dec 2007 15:59:06 +0100<br>From: Bastian Friedrich <
<a href="mailto:bastian.friedrich@collax.com">bastian.friedrich@collax.com</a>><br>Subject: Re: [OpenSER-Users] perl<br>To: <a href="mailto:users@lists.openser.org">users@lists.openser.org</a><br>Message-ID: <<a href="mailto:200712031559.06986.bastian.friedrich@collax.com">
200712031559.06986.bastian.friedrich@collax.com</a>><br>Content-Type: text/plain; charset="iso-8859-15"<br><br>On Monday 03 December 2007, David Villasmil Govea wrote:<br>[...]<br>> 0(0) perl error: Can't locate OpenSER/Utils/PhoneNumber.pm in @INC
<br>[...]<br>><br>> Although modules are there in:<br>><br><br>No, there is no "PhoneNumber.pm" in that path.<br><br>[...]<br>> me@server:/usr/local/lib/openser/perl# ls -l<br>> /usr/local/lib/openser/perl/OpenSER/Utils/
<br>> total 8<br>> -rw-r--r-- 1 root root 6096 2007-12-03 14:00 PhoneNumbers.pm<br><br>It's "PhoneNumbers.pm". Correct typing is _not_ optional while programming :)</blockquote><div><br>thanks for the heads-up.. but i didn't type a thing, its all in the tar file... so there's a typo there.
<br><br><br>so THIS should be the correct /usr/local/etc/openser/openser.pl file, which comes with the tar ball:<br><br>**************************************************************************************************************
<br>push @INC, '/usr/local/lib/openser/perl/';<br><br>use OpenSER::Utils::PhoneNumbers;<br>OpenSER->import;<br><br>my $phonenumber = new OpenSER::Utils::PhoneNumbers(<br> publicAccessPrefix => "0",
<br> internationalPrefix => "+",<br> longDistancePrefix => "0",<br> areaCode => "761",<br> pbxCode => "456842",<br> countryCode => "49"<br>
);<br><br>$canonical = canonicalForm("07612034567");<br>$number = dialNumber("+497612034567");<br>exit 0;<br>**************************************************************************************************************
<br><br>thanks<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>> > > - Is there a tutorial for using MySQL as a backend? How about a
<br>> > > cluster?<br>> ><br>> > MySQL backend for what?<br>><br>> I have it working as a MySQL backend for users. What i need is the logging<br>> of cdrs... i understand that there are several records for each call. But,
<br>> how do i configure this? is it possible with MySQL? thanks a lot.<br><br>You should start a different thread with a different subject.<br><br>What you are looking for seems to be accounting, provided by the OpenSER
<br>module "acc". Module documentation is available on<br><a href="http://www.openser.org/docs/modules/1.3.x/acc.html" target="_blank">http://www.openser.org/docs/modules/1.3.x/acc.html</a><br>The "acc" module works fine with MySQL.
<br><br> Bastian<br><br>--<br>Collax GmbH . Burkheimer Stra?e 3 . 79111 Freiburg . Germany<br>p: +49 (0) 761-45684-24<br>f: +49 (0) 761-45684-10 <a href="http://www.collax.com" target="_blank">www.collax.com</a><br>
<br>Gesch?ftsf?hrer: William K. Hite / Boris Nalbach<br>AG M?nchen HRB 158898 . Ust.-IdNr: DE 814464942<br>\ There are 2 ways to handle women and I know neither.<br><br><br><br>------------------------------<br><br>_______________________________________________
<br>Users mailing list<br><a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a><br><a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users
</a><br><br><br>End of Users Digest, Vol 31, Issue 5<br>************************************<br></blockquote></div><br><br clear="all"><br>-- <br>DVG<br><br>-- <br>Imagination is more important than knowledge<br>Albert Einstein