Jeff-Lewis / telephone

Automatically exported from code.google.com/p/telephone
Other
0 stars 0 forks source link

Audio ceasing to work #279

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Let the application open for several hours.

What is the expected output? What do you see instead?

Sometimes there isn't audio on call. It's not a codec problem, it happens with 
all lines (depending 
of different providers). The call connects, the timer turns, but there is no 
audio, not even 
"comfort noise". If I close the application and open it again it works 
perfectly.

What version of the product are you using? On what operating system?

Telephone 0.14.3, on Mac OS X 10.6.2

Please provide any additional information below.

Macbook Pro 13" MB990F/A

Original issue reported on code.google.com by nlagal...@googlemail.com on 21 Jan 2010 at 3:19

GoogleCodeExporter commented 9 years ago
What type of internet connection are you using? Can your external IP address 
change dynamically from time to 
time? Are you using STUN?

Original comment by eofs...@gmail.com on 23 Jan 2010 at 10:12

GoogleCodeExporter commented 9 years ago
The external IP is dynamical, indeed. I'm using STUN. But I don't think the 
problem is there, because for inward 
calls the phone rings... if it where the IP failing to refresh soon enough I 
wouldn't get the call.

Original comment by nlagal...@googlemail.com on 23 Jan 2010 at 3:47

GoogleCodeExporter commented 9 years ago
Actually, it’s a typical issue with pjsip (Telephone’s SIP library), STUN 
and dynamic IP address. After your IP 
address is changed you receive a call probably because you’ve re-registered 
with the new IP after the change. 
Your SIP server probably registers your new IP address and forwards incoming 
call to you. But pjsip’s ‘audio’ 
layer doesn’t know about that change and announces the old external address. 
Then another call party sends 
audio packets to that old address.

If it’s possible, you can disable STUN and enable NAT traversal on the server 
side. Some SIP servers replace your 
internal IP address with the actual external IP address. Also, you can wait for 
the next release of Telephone. I’m 
going to link it against the latest version of pjsip, where this might be fixed.

Original comment by eofs...@gmail.com on 23 Jan 2010 at 4:51

GoogleCodeExporter commented 9 years ago
I can't change the server side, so I'll wait for the next release.

Original comment by nlagal...@googlemail.com on 23 Jan 2010 at 6:30