DTMF recognition problems with Asterisk in combination with ISDN

Hi,

I have some DTMF recognition problems with Asterisk in combination with ISDN .

I have set up Asterisk 1.8 with a Dialogic Diva V-4PRI/E1/T1 card (using CAPI). Asterisk is configured to answer and interconnection between MSN. Everything is working fine, but when two mobile are connected through Asterisk box, the DTMF digit is not properly working . its resposing for 1 digit DTMF , but more then one digit its recognizing each digit separately. i assumed its duration and minimum gap issue. but i cant understand where it can be modified and what is the best combination of minimmum duration and gap

thanks

Share your dialplan ?
is the two mobile phones are in conference ? if so then try enabling echo-cancellation in your card configuration

nope. i used Dial() function . my dialplan is simple . when anyone call from his mobile number to my ISDN mobile phone number it answer the call and ask for input te destination mobile number

exten => 01XXXXXXXX,1,Answer() ;; 01xxxxxxxxx is my ISDN number

then the dialplan just dial the destination mobile no

exten => s,1,NoOP()
same => n,Dial(CAPI/ISDN1/${CALLERNO}:${mobileno},20,tkKxX))

then the CALLER and CALLED mobile no are connected with each other.

echo-cancellation is enabled in my capi.conf

[ISDN1]
ntmode=no
isdnmode=did
incomingmsn=* ;Use Diva MSN settings
group=1
controller=1
softdtmf=off
relaxdtmf=off
faxdetect=off
faxdetecttime=0
accountcode=
context=isdn-in
holdtype=local
echocancelold=yes
bridge=yes
devices=30
echocancel=yes
echocancelnlp=0
econtransitconn=0
disallow=all