[HELP] Two ringback tone can be heard at the client

Hi all,

My problem is that when I dial out to some pstns (especially when I dial mobile numbers) I get two ringtones at the client. One is generated locally by the iaxcomm, and the other is coming from the pstn. It’s really annoying and it makes the users confused.
Is there any solution to avoid this, like recognizing if we receive the ringback tone from the server?

Another strange problem (maybe related to the previous) that the other party can hear what I’m talking in my microphone before I’ve accepted the call. I don’t need to explain why it’s a problem :smile:.