<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><div><br></div><div>Shahzad Bhatti</div>
</div>