<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 &lt;
<a href="mailto:bastian.friedrich@collax.com">bastian.friedrich@collax.com</a>&gt;<br>Subject: Re: [OpenSER-Users] perl<br>To: <a href="mailto:users@lists.openser.org">users@lists.openser.org</a><br>Message-ID: &lt;<a href="mailto:200712031559.06986.bastian.friedrich@collax.com">
200712031559.06986.bastian.friedrich@collax.com</a>&gt;<br>Content-Type: text/plain; &nbsp;charset=&quot;iso-8859-15&quot;<br><br>On Monday 03 December 2007, David Villasmil Govea wrote:<br>[...]<br>&gt; &nbsp;0(0) perl error: Can&#39;t locate OpenSER/Utils/PhoneNumber.pm in @INC
<br>[...]<br>&gt;<br>&gt; Although modules are there in:<br>&gt;<br><br>No, there is no &quot;PhoneNumber.pm&quot; in that path.<br><br>[...]<br>&gt; me@server:/usr/local/lib/openser/perl# ls -l<br>&gt; /usr/local/lib/openser/perl/OpenSER/Utils/
<br>&gt; total 8<br>&gt; -rw-r--r-- 1 root root 6096 2007-12-03 14:00 PhoneNumbers.pm<br><br>It&#39;s &quot;PhoneNumbers.pm&quot;. Correct typing is _not_ optional while programming :)</blockquote><div><br>thanks for the heads-up.. but i didn&#39;t type a thing, its all in the tar file... so there&#39;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, &#39;/usr/local/lib/openser/perl/&#39;;<br><br>use OpenSER::Utils::PhoneNumbers;<br>OpenSER-&gt;import;<br><br>my $phonenumber = new OpenSER::Utils::PhoneNumbers(<br>&nbsp;&nbsp;&nbsp;&nbsp; publicAccessPrefix =&gt; &quot;0&quot;,
<br>&nbsp;&nbsp;&nbsp;&nbsp; internationalPrefix =&gt; &quot;+&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp; longDistancePrefix =&gt; &quot;0&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp; areaCode =&gt; &quot;761&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp; pbxCode =&gt; &quot;456842&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp; countryCode =&gt; &quot;49&quot;<br>
&nbsp;&nbsp; );<br><br>$canonical = canonicalForm(&quot;07612034567&quot;);<br>$number&nbsp;&nbsp;&nbsp; = dialNumber(&quot;+497612034567&quot;);<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>&gt; &gt; &gt; &nbsp; &nbsp; &nbsp;- Is there a tutorial for using MySQL as a backend? How about a
<br>&gt; &gt; &gt; cluster?<br>&gt; &gt;<br>&gt; &gt; MySQL backend for what?<br>&gt;<br>&gt; I have it working as a MySQL backend for users. What i need is the logging<br>&gt; of cdrs... i understand that there are several records for each call. But,
<br>&gt; 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 &quot;acc&quot;. 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 &quot;acc&quot; module works fine with MySQL.
<br><br> &nbsp; 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 &nbsp; &nbsp; &nbsp; &nbsp;<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