[Freeswitch-users] Limit usage not decreased after attended transfer

Stanislav Sinyagin ssinyagin at yahoo.com
Fri Jun 28 19:53:11 MSD 2013


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?


thanks
stanislav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130628/d69eff01/attachment.html 


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