You can still use late negotiation... And there could be a race condition sure, but I would suspect unless you are on a very high volume system, you wouldn’t run into that race condition that often, and I would argue that if you are on a high volume system, and you are still running out of G729 licenses, you can probably make room in the budget for another 25 to 50 G729 licenses


On 6/13/13 8:57 AM, "Steven Ayre" <steveayre@gmail.com> wrote:

Although there is the case where FS picks the G729 codec for the incoming call leg before it reaches dialplan that can cause an issue...

Also there would be a race condition between checking if a license is available and actually using it.

-Steve



On 13 June 2013 14:46, Ken Rice <krice@freeswitch.org> wrote:
Why can't you detect that now? You should be able to detect that you are at
or near the upper limit in the dialplan via API in a chan var and go from
there... If you are constantly running out of licenses you probably don't
have enough


On 6/13/13 5:27 AM, "Alex Lake" <alex@digitalmail.com> wrote:

> Thanks
>>
>> If the channel picks G729 then finds there's no license available when
>> (if) it goes to transcode the call will fail and hang up.
>>
> That's a shame. I wonder what ways around that might be. Presumably one
> can work out how many are in use, and if it's at or near the max, one
> could possibly dynamically change the config and reload the appropriate
> bit (presumably a reloadxml wouldn't be the right bit).
>
> _________________________________________________________________________
> 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

--
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net <http://irc.freenode.net>  #freeswitch



_________________________________________________________________________
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



_________________________________________________________________________
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

--
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch