[Freeswitch-users] Nibble Bill Issue

Ahmed Bhaila ahmed.ajmal at gmail.com
Fri Sep 23 09:02:32 MSD 2011


Hi



I am trying to run nibble bill in our test environment and unable to see
calls hanging up when the balance depletes to 0. Following is the xml from
dialplan:



<context name="public">

<extension name="Internal-XXX_Mobile">

  <condition field="destination_number" expression="^(\d+)$">

  <action application="set" data="hangup_after_bridge=true" inline="true"/>

  <action application="set" data="continue_on_fail=true" inline="true"/>

 <action application="bridge"
data="[nibble_account=1,nibble_rate=1.458]sofia/gateway/NEXTONE/1291892xxxxxxxxx"/>

</condition>

</extension>



<extension name="hangup">

  <condition field="destination_number" expression="^(hangup)$">

    <action application="log" data="NOTICE Hanging up"/>

    <action application="hangup"/>

  </condition>

</extension>

</context>



Now the balance for this account is already below zero and interestingly the
A leg hangs up while B leg stays connected. This is what I am seeing on my
console



Transfer sofia/external/1291892xxxxxxxxx to XML[hangup at public]



So the call does get transferred to the hangup extension but only manages to
hangup the A leg.





Thanks

Ahmed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110923/aa702160/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list