AMD problems

Hello,

I am using iax channels for outband calls, also we are using vicidial.

We are having some strange problems with the Answering Machine Detect.

In some cases the AMD leave some iax channels open or stucked we have to hang up the channels by hand.

ASTCLI> show channels

Local/XXXXXXXXX@d 8369@default:2 Up AMD(2000|2000|400|5000|120|25
Local/XXXXXXXXX@d 8369@default:2 Up AMD(2000|2000|400|5000|120|25
Local/XXXXXXXXX@d 8369@default:2 Up AMD(2000|2000|400|5000|120|25

show channel Local/XXXXXXXXXX@default-573d,2
– General --ial*CLI>
Name: Local/XXXXXXXXXX@default-573d,2
Type: Local
UniqueID: 1151536964.14352
Caller ID: XXXXXXXXX
Caller ID Name: V0628172244000000048
DNID Digits: (N/A)
State: Up (6)
Rings: 0
NativeFormat: 64
WriteFormat: 64
ReadFormat: 64
1st File Descriptor: -1
Frames in: 0
Frames out: 0
Time to Hangup: 0
Elapsed Time: 16h2m20s
Direct Bridge: SIP/vonage15-cf3b
Indirect Bridge: SIP/vonage15-cf3b
– PBX –
Context: default
Extension: xxxxxxxxxxxxxx
Priority: 2
Call Group: 0
Pickup Group: 0
Application: Dial
Data: SIP/xxxxxxxx@vonage15|60|Ttro
Blocking in: ast_waitfor_nandfds
Variables:
BRIDGEPEER=SIP/vonage15-cf3b
DIALEDPEERNUMBER=xxxxxxxxx@vonage15
DIALEDPEERNAME=SIP/vonage15-cf3b

The problem is when the channels reach our limit we lost sound quality.
The agents cant ear to the custumers becase that.

Any advice is welcome.

This looks like it might be an Asterisk bug so you might want to submit a bug report on bugs.digium.com