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"><<a href="mailto:senakahks@gmail.com">senakahks@gmail.com</a>></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>
><br>
> Dear Sir,<br>
><br>
> I have successfully installed freeSWITCH and it works fine in passthrough<br>
> mode. I installed nibblebill and it deduct money from the accounts<br>
> database<br>
> and it works fine. but I have two problems.<br>
><br>
> 1. Calls can be initiated even though there is a minus value in accounts<br>
> database<br>
><br>
> 2. Calls doesn't hangup when it goes to minus values.<br>
><br>
> Any answers are greatly appreciated.<br>
><br>
> This is my dialplan:<br>
><br>
><br>
> <action application="nibblebill" data="flush"/><br>
> <extension name="hangup"><br>
> <condition field="destination_number" expression="^(hangup)$"><br>
> <action application="playback" data="no_more_funds.wav"/><br>
> <action application="hangup"/><br>
> </condition><br>
> </extension><br>
> <extension name="Omega_Out"><br>
> <condition field="caller_id_number" expression="^(\d{4})$"/><br>
> <condition field="destination_number" expression="^(\d{11})$"><br>
> <action application="set" data="nibble_rate=0.0448"/><br>
> <action application="set" data="nibble_account=${accountcode}"/><br>
> <action application="set" data="bypass_media=true"/><br>
> <action application="bridge"<br>
> data="{absolute_codec_string=g729}sofia/gateway/OMEGA/5544$1"/><br>
> </condition><br>
> </extension><br>
><br>
><br>
><br>
> This is the configuration file;<br>
><br>
> <configuration name="nibblebill.conf" description="Nibble Billing"><br>
> <settings><br>
> <!-- 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>
> help with these options --><br>
><br>
> <!-- Information for connecting to your database --><br>
><br>
><br>
><br>
><br>
> <!-- The database table where your CASH column is located --><br>
><br>
><br>
> <!-- The column name where we store the value of the account --><br>
><br>
><br>
> <!-- The column name for the unique ID identifying the account --><br>
><br>
><br>
><br>
> <!-- Default heartbeat interval. Set to 'off' for no heartbeat (i.e.<br>
> bill only at end of call) --><br>
><br>
><br>
> <!-- By default, warn a caller when their balance is at $5.00. You can<br>
> set this to a negative number. --><br>
><br>
><br>
><br>
> <!-- By default, terminate a caller when their balance hits $0.00. You<br>
> can set this to a negative number. --><br>
><br>
><br>
><br>
> <!-- If a call goes beyond a certain dollar amount, flag or terminate<br>
> it<br>
> --><br>
><br>
><br>
><br>
> </settings><br>
> </configuration><br>
><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>
><br>
><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>