[Freeswitch-users] Transfer hangup but b-leg ring

FERNANDO VILLARROEL fvillarroel at yahoo.com
Tue Jun 5 06:10:03 MSD 2012


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?



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