Asterisk doesn't take softphoe(X-lite/Zoiper) Pressed Digit

hi to all,

I am using Festival TTS with Asterisk. I put asterisk on remote machine and I trying to connect with remote asterisk with  X-lite softphone from my windows machine.

I can hear sound but when I press any digit, the asterisk doesn't take the pressed digit even if i have written code to handle it. 
 
I was forwarded all ports which are required for sip, rtp and asterisk ith both sided firewalls.  Also, I made following changes in sip.conf,

“nat=yes” and
"qualify=yes"

and I also gives an proxy in x-lite that is, stun.counterpath.net
and I also tried the same thing with zoiper softphone.
but, the results are same, both phone’s pressed digits are not recived a asterisk.

I am also giving the sip.conf some lines that helpful for you also for providing me
a solution

sip.conf
[102]
callerid=102 <102>
canreinvite=no
dtmfmode=rfc2833
host=dynamic
nat=yes
port=5060
qualify=yes
record_in=Adhoc
record_out=Adhoc
secret=102
type=friend
context=sip
username=102

please help me out. :frowning:

Thanks in advance. :smile:

Regards,
Deepen

Is the softphone set for the same dtmfmode? You might need to change it from rfc2833 to dtmfmode=info or some other setting.

If you debug DTMF what do you get ? Also are you running 1.2.X ?