DTMF Recognition problem

Hi all,

After reading several postings on all * sites, I cannot find a solution and truly hope someone outhere could help me.

I do an outgoing call (using the Spool directory) and generating the .call file to the user who request doing a survey.
When he receives the call, he press any click and sometimes works, someties has to press like 5 times and others is useless, goes to timeout.
(and for a survey, this is quite useless)

I read somewhere tha there was a bug with .call files and spool directory related to DTMF…but I am using Asterisk 1.4.19.1, so I guess if there is should be solved…and I could find that post again

My Sip provider: TELIAX
My PBX Hosting provider: LYLIX

This is the sip.conf I am using:

[Teliax]
disallow=all
allow=ulaw&alaw
canreinvite=no
host=nyc.teliax.net
rfc2833compensate=yes
dtmfmode=rfc2833
relaxdtmf=yes
insecure=invite
nat=yes
sendrpid=yes
type=peer
qualify=yes
secret=ssssssssssssssssssss
username=zzzzzzz
context=from-pstn

(I already tried INFO,INBAND and AUTO), same or worst results

and this is part of the Survey conf:

exten => s,15,Answer
exten => s,16,Wait(1)
exten => s,17,Background(${Surv1})
exten => s,18,Background(${Surv2})
exten => s,19,WaitExten(8)
exten => 1,1,Background(${Surv3})
exten => 1,2,Background(${Surv4})
exten => 1,3,Read(ask1||1)
exten => 1,4,Set(PREG1=${ask1})
exten => 1,5,GotoIf($[${PREG1}=1]?Survey1|s|1)
exten => 1,6,GotoIf($[${PREG1}=2]?Survey4|s|1)

I think this is pretty much the info…

Could someone give me a tip where I can dig more?

Thanks all

Juan

I do not use .call files since it causes asterisk to go crazy if you have a few at once. I have seen that connecting to the AMI works a lot better. I just wrote a script that connects to MySQL, checks if there are any calls in the queue and if there is it connects to the AMI and sends the call out.