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@public]
So the call does get transferred to the hangup extension but only manages to hangup the A leg.
Thanks
Ahmed