[asterisk-users] DTMF received twice

Brent Davidson brent at texascountrytitle.com
Mon May 11 17:02:18 CDT 2009


Administrator TOOTAI wrote:
> David fire a écrit :
>   
>> out there is a file to change the dtmf duration
>> where are you?
>>     
> France
>   
>>  [...]
>> from other phones like lkand lines it works well?
>>   
>>     
> No, the same. The called number is a number received by a trunk SIP, the
> GW is also setted as dtmfmode=auto. Calling from mobile phone or
> landline to other services using DTMF -like banks- is OK.
>
> I make further tests and so that setting dtmfmode=info for this GW make
> DTMF working correctly! Is this the normal behaviour?
>
> Our dialplan works great for others GW's, if this is normal we have to
> adapt it in case of dtmfmode=info. From where can we get the dtmf type?
> For me it looks like a bug.
>
> Thanks for your help.
>
>   
>> 2009/5/11 Administrator TOOTAI <admin at tootai.net>
>>
>>   
>>     
>>> Hi all,
>>>
>>> I run an Asterisk 1.4.24.1 and face problem with DTMF. When calling from
>>> my mobile phone -Nokia E65- in GSM, Asterisk present me a second tone so
>>> I can use the GW. For this I use:
>>>
>>> exten => s,1,NoOp(One of our workers (${CALLERID(number)}) is calling
>>> office)           ;callerID is the one of the calling mobile phone
>>> exten => s,n,Background(silence/1)
>>>
>>> ; Nokia E65 send digits in DTMF mode, no need to take care about input
>>> corrections
>>> ;
>>> exten => s,n(enterDigits),Read(myExten,pls-entr-num-uwish2-call,0,,,3)
>>> exten => s,n,GotoIf($["${myExten}"=""]?enterDigits)
>>> [...]
>>>
>>> Problem is that received DTMF digits in ${myExten} are received twice eg
>>> for 1234 ${myExten} has 11223344. I correct the extension by dialplan
>>> but I think it's not really a solution.
>>>
>>> In sip.conf, the dtmfmode is set to auto. If I set it to rfc2833, the
>>> same behaviour.
>>>
>>> Can somebody confirm this before I open a bug, thanks.
>>>
>>> Regards
>>> --
>>> Daniel
>>>       

I've seen a couple of examples of this on the list where a provider 
sends DTMF in multiple formats and Asterisk with dtmfmode=auto picks up 
all the digits sent in all formats.  Maybe there should be a code change 
so that dtmfmode=auto makes asterisk lock on to the mode of the first 
digit received for a session and ignores all other formats for that 
particular session?  Does that make sense to anybody?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090511/4d9cd4e0/attachment.htm 


More information about the asterisk-users mailing list