what did you have to change, to get this working ?<div><br></div><div>Jay<br><br><div class="gmail_quote">On Mon, Dec 21, 2009 at 4:08 PM, Amarakeerthi S <span dir="ltr">&lt;<a href="mailto:senakahks@gmail.com">senakahks@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hi,<br>
<br>
I got it working.<br>
<br>
Can somebody explain me this error:<br>
<br>
2009-12-21 00:37:14.886242 [ERR] sofia_glue.c:2710 AUDIO RTP REPORTS ERROR:<br>
[Missing local host]. Also I am confused about heartbeat rate. Is<br>
enable_heartbeat_events=5  setting the heartbeat to 5?<br>
<br>
<br>
Thank you in advance,<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
Amarakeerthi S wrote:<br>
&gt;<br>
&gt; Dear Sir,<br>
&gt;<br>
&gt; I have successfully installed freeSWITCH and it works fine in passthrough<br>
&gt; mode. I installed nibblebill and it deduct money from the accounts<br>
&gt; database<br>
&gt; and it works fine. but I have two problems.<br>
&gt;<br>
&gt; 1. Calls can be initiated even though there is a minus value in accounts<br>
&gt; database<br>
&gt;<br>
&gt; 2. Calls doesn&#39;t hangup when it goes to minus values.<br>
&gt;<br>
&gt; Any answers are greatly appreciated.<br>
&gt;<br>
&gt; This is my dialplan:<br>
&gt;<br>
&gt;<br>
&gt; &lt;action application=&quot;nibblebill&quot; data=&quot;flush&quot;/&gt;<br>
&gt; &lt;extension name=&quot;hangup&quot;&gt;<br>
&gt;   &lt;condition field=&quot;destination_number&quot; expression=&quot;^(hangup)$&quot;&gt;<br>
&gt;     &lt;action application=&quot;playback&quot; data=&quot;no_more_funds.wav&quot;/&gt;<br>
&gt;     &lt;action application=&quot;hangup&quot;/&gt;<br>
&gt;   &lt;/condition&gt;<br>
&gt; &lt;/extension&gt;<br>
&gt;  &lt;extension name=&quot;Omega_Out&quot;&gt;<br>
&gt; &lt;condition field=&quot;caller_id_number&quot; expression=&quot;^(\d{4})$&quot;/&gt;<br>
&gt; &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d{11})$&quot;&gt;<br>
&gt; &lt;action application=&quot;set&quot; data=&quot;nibble_rate=0.0448&quot;/&gt;<br>
&gt; &lt;action application=&quot;set&quot; data=&quot;nibble_account=${accountcode}&quot;/&gt;<br>
&gt; &lt;action application=&quot;set&quot; data=&quot;bypass_media=true&quot;/&gt;<br>
&gt; &lt;action application=&quot;bridge&quot;<br>
&gt; data=&quot;{absolute_codec_string=g729}sofia/gateway/OMEGA/5544$1&quot;/&gt;<br>
&gt; &lt;/condition&gt;<br>
&gt; &lt;/extension&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; This is the configuration file;<br>
&gt;<br>
&gt; &lt;configuration name=&quot;nibblebill.conf&quot; description=&quot;Nibble Billing&quot;&gt;<br>
&gt;   &lt;settings&gt;<br>
&gt;     &lt;!-- See <a href="http://wiki.freeswitch.org/index.php?title=Mod_nibblebill" target="_blank">http://wiki.freeswitch.org/index.php?title=Mod_nibblebill</a> for<br>
&gt; help with these options --&gt;<br>
&gt;<br>
&gt;     &lt;!-- Information for connecting to your database --&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     &lt;!-- The database table where your CASH column is located --&gt;<br>
&gt;<br>
&gt;<br>
&gt;     &lt;!-- The column name where we store the value of the account --&gt;<br>
&gt;<br>
&gt;<br>
&gt;     &lt;!-- The column name for the unique ID identifying the account --&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     &lt;!-- Default heartbeat interval. Set to &#39;off&#39; for no heartbeat (i.e.<br>
&gt; bill only at end of call) --&gt;<br>
&gt;<br>
&gt;<br>
&gt;     &lt;!-- By default, warn a caller when their balance is at $5.00. You can<br>
&gt; set this to a negative number. --&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     &lt;!-- By default, terminate a caller when their balance hits $0.00. You<br>
&gt; can set this to a negative number. --&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     &lt;!-- If a call goes beyond a certain dollar amount, flag or terminate<br>
&gt; it<br>
&gt; --&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;   &lt;/settings&gt;<br>
&gt; &lt;/configuration&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Mod-nibblebill-deduct-money-but-no-hangup-at-zero-and-can-call-without-money-in-database-tp4174333p4197038.html" target="_blank">http://n2.nabble.com/Mod-nibblebill-deduct-money-but-no-hangup-at-zero-and-can-call-without-money-in-database-tp4174333p4197038.html</a><br>

Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sincerely<br><br>Jay<br>
</div>