g729 licenses are not being freed by asterisk

Hi,

Has anyone experienced this?

I’ll have to post some info to get help, but it appears that’s what is happening. I’m also seeing this WARNING
Oct 27 15:42:13 WARNING[5737]: channel.c:787 channel_find_locked: Avoided deadlock for ‘0x2aaab1069840’, 10 retries!

Cheers

Please post your sip.conf

Ok…

It’s happening on two machines. This one:

Asterisk 1.2.12.1
2.6.16.21-0.21-smp

[general]
videosupport=yes
port = 5060
bindaddr = 0.0.0.0
disallow=all
allow=g729
allow=alaw
allow=ulaw
allow=gsm
context = from-engin
callerid = Unknown
vmexten=voicemail
srvlookup = yes
maxexpiry=900
defaultexpiry=900
qualify=yes
;nat=route
nat=yes
canreinvite=no
externip=61.95.X.Y
localnet=192.168.1.0/255.255.255.0
musiconhold=default
allowanonymousinboundsipcalls=yes

[214]
;linksys
context=full-access
subscribecontext=internal
type=friend
username=214
secret=iPBX32link
host=dynamic
callerid=Rebecca 214
disallow=all
allow=g729
allow=alaw
allow=ulaw
allow=gsm
progressinband=no
dtmfmode=rfc2833
mailbox=214
callgroup=1
pickupgroup=1
vmexten=asterisk
canreinvite=no


And another config does it with this:
asterisk v1.2.11
linux 2.6.16.21-0.13-smp

[general]
videosupport=yes
port = 5060
bindaddr = 0.0.0.0
disallow=all
allow=alaw
allow=ulaw
allow=g729
allow=gsm
context=trunkincoming
callerid = Unknown
srvlookup = yes
maxexpiry=900
defaultexpiry=900
nat=yes
canreinvite=no
allowanonymousinboundsipcalls=yes
externip=61.29.X.X
localnet=192.168.1.0/255.255.255.0
;notifyringing=yes
language=au

[112]
;snom
context=full-access
subscribecontext=hints
type=friend
username=112
secret=112
host=dynamic
callerid=112
progressinband=no
dtmfmode=rfc2833
mailbox=112
callgroup=1
pickupgroup=1
vmexten=asterisk
callerid= Sam Liang <112>
disallow=all
allow=alaw
allow=ulaw
allow=g729
allow=gsm

It’s not something that happens at a given moment. I’ll keep an eye on it today and see if it happens again.

I haven’t seen it happen on a non-smp machine, but this hasn’t really happened a helluva lot anyway to notice.