<p class="MsoNormal">Hi</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">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:</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">&lt;context name=&quot;public&quot;&gt;</p>

<p class="MsoNormal">&lt;extension name=&quot;Internal-XXX_Mobile&quot;&gt;</p>

<p class="MsoNormal"><span style="mso-spacerun:yes">  </span>&lt;condition
field=&quot;destination_number&quot; expression=&quot;^(\d+)$&quot;&gt;</p>

<p class="MsoNormal"><span style="mso-spacerun:yes">  </span>&lt;action
application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;
inline=&quot;true&quot;/&gt;</p>

<p class="MsoNormal"><span style="mso-spacerun:yes">  </span>&lt;action application=&quot;set&quot;
data=&quot;continue_on_fail=true&quot; inline=&quot;true&quot;/&gt;</p>

<p class="MsoNormal"><span style="mso-spacerun:yes"> </span>&lt;action
application=&quot;bridge&quot; data=&quot;[nibble_account=1,nibble_rate=1.458]sofia/gateway/NEXTONE/1291892xxxxxxxxx&quot;/&gt;</p>

<p class="MsoNormal">&lt;/condition&gt;</p>

<p class="MsoNormal">&lt;/extension&gt;</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">&lt;extension name=&quot;hangup&quot;&gt;</p>

<p class="MsoNormal"><span style="mso-spacerun:yes">  </span>&lt;condition
field=&quot;destination_number&quot; expression=&quot;^(hangup)$&quot;&gt;</p>

<p class="MsoNormal"><span style="mso-spacerun:yes">    </span>&lt;action
application=&quot;log&quot; data=&quot;NOTICE Hanging up&quot;/&gt;</p>

<p class="MsoNormal"><span style="mso-spacerun:yes">    </span>&lt;action
application=&quot;hangup&quot;/&gt;</p>

<p class="MsoNormal"><span style="mso-spacerun:yes">  </span>&lt;/condition&gt;</p>

<p class="MsoNormal">&lt;/extension&gt;</p>

<p class="MsoNormal">&lt;/context&gt;</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">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</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Transfer sofia/external/1291892xxxxxxxxx to XML[hangup@public]</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">So the call does get transferred to the hangup extension but
only manages to hangup the A leg.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Thanks</p>

<p class="MsoNormal">Ahmed</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>