<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><?xml version="1.0" encoding="UTF-8" standalone="no"?></div><div>
<document type="freeswitch/xml"></div><div> <section name="dialplan" description="Dial Plan For FreeSwitch"></div><div> <context name="default"></div><div>
<extension name="Bridge Call to Destination"></div><div> <condition field="destination_number" expression="^1004$"><br></div><div> <action application="set" data="process_cdr=b_only"/></div>
<div> <action application="set" data="hangup_after_bridge=true"/></div><div> <action application="set" data="nibble_account=1"/></div>
<div> <action application="set" data="nibble_rate=0"/></div><div> <action application="export" data="nolocal:nibble_account=1"/></div>
<div> <action application="export" data="nolocal:nibble_rate=0.034155"/><br></div><div> <action application="answer" /><br></div><div>
<action application="bridge" data="sofia/external/1004%192.168.0.100"/></div><div> <action application="hangup"/></div><div> </condition></div>
<div> </extension></div><div> <extension name="hangup"></div><div> <condition field="destination_number" expression="^(hangup)$"></div><div>
<action application="respond" data="503"/></div><div> <action application="hangup"/></div><div> </condition></div>
<div> </extension></div><div> </context><br></div><div> </section></div><div></document></div></div><div><br></div><div><br></div><div>Regards</div><div><br></div><div>Shahzad Bhatti</div>
</div>