While the status shows as "Connecting...", I press Hangup.
The calling dialog goes away. But the audio keeps going with a ringing sound. The call never goes through. [Is VM generating the ringing audio based on status?]
If you make the same call again, the second call goes through.
If you Hangup after the status goes to Connected, everything works fine.
I would suggest that, if ringtone is not nil, you stop and release it.
Not entirely sure what happens when status goes to "Connected".... Does the "confirmed" method get called? If so, it would seem to play another sound. I would presume that that cancels the ring tone.
Thanks for looking into this...
Mr. Gecko
March 10, 2011, 10:13:34 PM
Ringback and Ringtone is are 2 different things. The ringback plays when your calling someone, the ringtone plays when someone calls you. The ringback is what your having problems with, I fixed the issue by stopping it before it disconnects when you hangup on the call, but I would like to know why it isn't disconnecting when you hangup. The code hasn't been updated, nor have I updated the dropbox one. I'll take a look into this after I finish some stuff with the iPhone port.
chris
March 10, 2011, 10:20:06 PM
No problem. I'll be glad to test when a new copy is available.
I might even try my hand at installing xcode and seeing if I can actually compile this stuff.