[Asterisk-Users] ZAP/DTMF

Dmitry Zhukovski
Fri, 20 May 2005 07:12:19 -0000

Hi all!

  I have got strange problem with DTMF. This is my test setup

Phone1(#101) --> (*1) -----E1------ (*2) <-- Phone2(#201)
*1 handles 1XX numbers
*2 same for 2XX
*1 and *2 have proper routings so phones can call each other

*1 has dial number 103 which answers automatiaclly and get keys and
tells their voice equvalent
*2 has same functionality on autoresponder #203

Test cases:
1) Phone2 calls 203 - local (*) - asterisk detects dtms and run in
proper way
2) Phone2 calls 103 - thru ZAP - works well
3) Phone1 calls 103 - local (*) - works well
4) Phone1 calls 203 - thru ZAP - DTMF are not detected !

So it works only in one way. Any ideas?

Btw - with debug on ZAP channels case 2 gives on asterisk2

>> [ TYPE: DTMF (1) SUBCLASS: 1 (49) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]

And on asterisk1

<< [ TYPE: DTMF (1) SUBCLASS: 1 (49) ] [Zap/1-1]

In case 4 ---------->
Asterisk1 has
>> [ TYPE: DTMF (1) SUBCLASS: 1 (49) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]
<< [ TYPE: Null Frame (5) SUBCLASS: N/A (0) ] [Zap/1-1]

And NO MESSAGES on asterisk2!

Looking forward to get any help!

Br,
dmitry


-------------- next part --------------
An HTML attachment was scrubbed...