<div dir="ltr">Same question from me, although perhaps we could use <a href="http://wiki.freeswitch.org/wiki/Mod_nibblebill#Adding.2FDeducting_funds">http://wiki.freeswitch.org/wiki/Mod_nibblebill#Adding.2FDeducting_funds</a> but it doesn&#39;t say if that affects the <span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.1875px">nibble_total_billed variable.</span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 28 November 2013 16:05, Shahzad Bhatti <span dir="ltr">&lt;<a href="mailto:shahzad.bhatti@g-r-v.com" target="_blank">shahzad.bhatti@g-r-v.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all, i am using mod_xml_curl to bridge call to legB and charge call using mod_nibblebill and it works fine, but now i want to apply connection charges to that bridge call when legB is answered but want to know how?<div>

any suggestion will be appreciated</div><div><br></div><div>here is sample of my xml_dialplan</div><div><br></div><div><div>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;</div>
<div>
&lt;document type=&quot;freeswitch/xml&quot;&gt;</div><div>   &lt;section name=&quot;dialplan&quot; description=&quot;Dial Plan For FreeSwitch&quot;&gt;</div><div>        &lt;context name=&quot;default&quot;&gt;</div><div>

            &lt;extension name=&quot;Bridge Call to Destination&quot;&gt;</div><div>                &lt;condition field=&quot;destination_number&quot; expression=&quot;^1004$&quot;&gt;<br></div><div>                        &lt;action application=&quot;set&quot; data=&quot;process_cdr=b_only&quot;/&gt;</div>

<div>                        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div>                        &lt;action application=&quot;set&quot; data=&quot;nibble_account=1&quot;/&gt;</div>

<div>                        &lt;action application=&quot;set&quot; data=&quot;nibble_rate=0&quot;/&gt;</div><div>                        &lt;action application=&quot;export&quot; data=&quot;nolocal:nibble_account=1&quot;/&gt;</div>

<div>                        &lt;action application=&quot;export&quot; data=&quot;nolocal:nibble_rate=0.034155&quot;/&gt;<br></div><div>                        &lt;action application=&quot;answer&quot; /&gt;<br></div><div>

                        &lt;action application=&quot;bridge&quot; data=&quot;sofia/external/1004%192.168.0.100&quot;/&gt;</div><div>                        &lt;action application=&quot;hangup&quot;/&gt;</div><div>                &lt;/condition&gt;</div>

<div>            &lt;/extension&gt;</div><div>            &lt;extension name=&quot;hangup&quot;&gt;</div><div>                &lt;condition field=&quot;destination_number&quot; expression=&quot;^(hangup)$&quot;&gt;</div>
<div>
                        &lt;action application=&quot;respond&quot; data=&quot;503&quot;/&gt;</div><div>                        &lt;action application=&quot;hangup&quot;/&gt;</div><div>                &lt;/condition&gt;</div>

<div>            &lt;/extension&gt;</div><div>        &lt;/context&gt;<br></div><div>   &lt;/section&gt;</div><div>&lt;/document&gt;</div></div><div><br></div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Shahzad Bhatti</div>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote></div><br><br clear="all"><div><br></div>-- <br><b>Andrew Cassidy BSc (Hons) MBCS SSCA</b><div>Managing Director<div><div><img src="http://c1170247.r47.cf3.rackcdn.com/emailsig.png"><br></div><div><br><div>
<b style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif"><a href="mailto:info@cassidywebservices.co.uk" style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif" target="_blank">T</a> </b>03300 100 960 
<b style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif"><a href="mailto:info@cassidywebservices.co.uk" style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif" target="_blank">F</a> </b>03300 100 961</div>
<div><b style="text-decoration:none;font-family:sans-serif"><a href="mailto:info@cassidywebservices.co.uk" style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif" target="_blank">E</a> </b><a href="mailto:andrew@cassidywebservices.co.uk" target="_blank">andrew@cassidywebservices.co.uk</a></div>
<div><b style="text-decoration:none;font-family:sans-serif"><a href="mailto:info@cassidywebservices.co.uk" style="color:rgb(51,135,171);text-decoration:none;font-family:sans-serif" target="_blank">W</a> </b><a href="http://www.cassidywebservices.co.uk" target="_blank">www.cassidywebservices.co.uk</a></div>
</div></div></div>
</div>