Question : DTMF issue

Dear All,

I have the following scenario:
My customer dial a DID number and it'll be forwarded to my asterisk server by the below trunk defined in sip.conf:

[sip_proxy1]
type=peer
context=stations
host=81.201.82.112
disallow=all
allow=g729
allow=alaw
allow=ulaw  
dtmfmode=RFC2833
relaxdtmf=yes
canreinvite=no

The above trunk will use the context stations defined in extensions.conf as follow:


[stations]
exten => _X.,1,Gotoif($[${EXTEN} = 112] ? 21)
exten => _X.,2,DeadAGI,a2billing.php|3
exten => _X.,3,Wait,2
exten => _X.,4,Hangup
exten => _X.,21,AGI,a2billing.php|3
exten => _X.,22,Hangup

The System will ask the user to enter his PIN number...The problem is that sometime the system recognize the PIN entered and sometimes the PIN is not recognized...I'm using RFC2833 as dmf mode...

I would like to know if my config is correct or I need o add something to it or there is a BUG on asterisk server regarding DTMF?

Please note that I'm using Asterisk 1.4.21.2
Regards

Answer : DTMF issue

g729 is a highly compressed codec and can have issues with DTMF. Can you eliminate g729 and test?


[sip_proxy1]
type=peer
context=stations
host=81.201.82.112
dtmfmode=rfc2833
relaxdtmf=yes
rfc2833compensate=yes
disallow=all
allow=ulaw
allow=alaw
;allow=g729
canreinvite=no
Random Solutions  
 
programming4us programming4us