I built a application bases on architecture below:
IAXClient <—IAX2—> Asterisk <—SIP—> Gateway <—I don’t know—> PSTN
I wrote a desktop application, which base on IAXClient open source and can connect Asterisk server by IAX2 protocol. My Asterisk sever has a public internet IP address, so it can connect Gateway by SIP protocol directly, and do not need login Gateway.
I can call any phone on PSTN now, but the problem is that DTMF from my desktop application makes no sense. And I downloaded other desktop applications which base on IAX2, it looks DTMF from them make no sense too. ‘Make no sense’ means no prompt about DTMF from CLI of Asterisk and DTMF can not effect anything during the call.
Why? Can you help me?