<div dir="ltr">Ah, sorry! I read "<span style="font-family:arial,sans-serif;font-size:12.666666984558105px">apply connection charges" as "when the call connects" and figured I understood.</span><div><font face="arial, sans-serif"><span style="font-size:12.666666984558105px"><br>
</span></font></div><div style><font face="arial, sans-serif"><span style="font-size:12.666666984558105px">OK, so I presume you want to export:nolocal an execute_on_answer or api_on_answer that calls something that charges the 5cents</span></font></div>
<div style><a href="http://wiki.freeswitch.org/wiki/Variable_execute_on_answer">http://wiki.freeswitch.org/wiki/Variable_execute_on_answer</a><font face="arial, sans-serif"><span style="font-size:12.666666984558105px"><br>
</span></font></div><div style><a href="http://wiki.freeswitch.org/wiki/Variable_api_on_answer">http://wiki.freeswitch.org/wiki/Variable_api_on_answer</a><font face="arial, sans-serif"><span style="font-size:12.666666984558105px"><br>
</span></font></div><div style><br></div><div style>It seems nibblebill supports this directly: </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class="" id="Adding.2FDeducting_funds">Adding/Deducting funds<br></span>Inserting this in your dialplan:<br><action application="nibblebill" data="adjust 5.00"/><br><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.1875px">... Use negative numbers to deduct from an account.</span></blockquote>
<div style><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.1875px">... you'd of course want to make sure this ends up in your logs somewhere so you have an audit trail!</span><br></div>
<div style><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.1875px">Seemingly this would be an execute_on_answer.</span></div><div style><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.1875px"><br>
</span></div><div style><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.1875px">Hope that helps!</span></div><div style><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.1875px">-Avi</span></div>
<div style><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.1875px"><br></span></div><div><font face="arial, sans-serif"><span style="font-size:12.666666984558105px"><br></span></font><div class="gmail_extra">
<div class="gmail_quote">On Thu, Nov 28, 2013 at 7:03 PM, Andrew Cassidy <span dir="ltr"><<a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebservices.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Avi, he wants to apply an additional charge to the call that is per call and not per minute, as well as the per minute rate.</div><div class="gmail_extra"><br></div></blockquote></div></div></div></div>