From: Stanislav Sinyagin <ssinyagin@yahoo.com>
To: "freeswitch-users@lists.freeswitch.org" <freeswitch-users@lists.freeswitch.org>
Sent: Friday, June 28, 2013 5:53 PM
Subject: [Freeswitch-users] Limit usage not decreased after attended transfer
hi,My user wants to have only one incoming call on a number of his SIP accounts, and no concurrent calls.So, on incoming calls I do<action application="limit" data="hash ${domain} ${availability_username} 1"/>and on outgoing calls I do<action application="limit" data="hash ${domain_name} ${availability_username} -1"/>Problem:when an inbound call arrives, and the user transfers it to another PSTN number and hangs up, limit_usage still shows 1 active conversation, until the transferred call ends. That means, the user already hung up, but he cannot accept new calls until the original call finishes.Any idea how to eliminate this situation and free up the limit counts after transfer?thanksstanislav
_________________________________________________________________________
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
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