Transfer hangup but b-leg ring
Hi. I am trying to use nibblebill and lcr. If originator (example 1006) account have zero balance and trying to call to 1004, the call hangup but the phone 1004 ring anyway. My dialplan: <context name="default"> <extension name="Outbound to PSTN 11 Digits"> <condition field="destination_number" expression="^(10[01][0-9])$"> <action application="set" data="hangup_after_bridge=false"/> <action application="set" data="continue_on_fail=true"/> <action application="lcr" data="$1 pg_prefix2"/> <action application="set" data="nibble_account=${accountcode}"/> <action application="set" data="nibble_rate=${lcr_rate_1}"/> <action application="bridge" data="${lcr_auto_route}"/> </condition> </extension> <extension name="hangup"> <condition field="destination_number" expression="^(hangup)$"> <action application="hangup"/> </condition> </extension> The log of call: http://pastebin.freeswitch.org/19228 How i can do?
I have same issue, odd is it is not consistent. Doing tests, same caller, came callee, sometimes it fails, sometimes it doesnt. 2012-06-04 22:10 GMT-04:00 FERNANDO VILLARROEL <fvillarroel@yahoo.com>:
Hi.
I am trying to use nibblebill and lcr.
If originator (example 1006) account have zero balance and trying to call to 1004, the call hangup but the phone 1004 ring anyway.
My dialplan:
<context name="default">
<extension name="Outbound to PSTN 11 Digits"> <condition field="destination_number" expression="^(10[01][0-9])$"> <action application="set" data="hangup_after_bridge=false"/> <action application="set" data="continue_on_fail=true"/> <action application="lcr" data="$1 pg_prefix2"/> <action application="set" data="nibble_account=${accountcode}"/> <action application="set" data="nibble_rate=${lcr_rate_1}"/> <action application="bridge" data="${lcr_auto_route}"/>
</condition> </extension>
<extension name="hangup"> <condition field="destination_number" expression="^(hangup)$"> <action application="hangup"/> </condition> </extension>
The log of call:
http://pastebin.freeswitch.org/19228
How i can do?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
FERNANDO VILLARROEL
-
Luis Daniel Lucio Quiroz