[Home]

Summary:ASTERISK-04140: G.729A SIP handshake succeeds even without no free G.729A licenses
Reporter:Roy Sigurd Karlsbakk (rkarlsba)Labels:
Date Opened:2005-05-11 08:55:40Date Closed:2011-06-07 14:10:34
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/CodecInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:If using Digium's G.729A licensed codec, SIP protocol handshake returns G.729A even if no free licenses are available, resulting in audio problems.

Proposed remedy: Extend chan_sip to check for licenses to allow fallback to other protocol if license limit is reached.

roy
Comments:By: Brian West (bkw918) 2005-05-11 08:58:52

This is not a bug... this has been discussed in lengths before.

/b

By: Matthew Fredrickson (mattf) 2005-05-11 09:44:41

This is normal (previously discussed) behavior.

By: Michael Jerris (mikej) 2005-05-11 11:31:08

The discussion before lead down the road of possibly not offering it even if it is allowed, in a case where no licences are available.  The catch22 here is if you are just doing g729 passthrough then a license is not needed.  About the best that could be done is to check on dials if g729 transcoding is needed, and if licenses are needed.   Their is still going to be a race conndition inherent to this design as we are not "reserving" a license, nor should we really.  Patches always welcome, enjoy :)

By: Mark Spencer (markster) 2005-05-11 14:27:13

I agree that there is no easy solution to this.  You can always do a groupcount thing though right and set the sip answer codec based on the number of group members anyway.