taf2 / telephone

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

Seperate STUN-Server per Account #215

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have 2 SIP accounts. One that needs a STUN-Server and another that
doesn't work if I have entered one. 

Could it be possible to make the STUN-Server-Setting a per account setting?

Thanks!

Original issue reported on code.google.com by bodo.tas...@gmail.com on 8 Sep 2009 at 4:38

GoogleCodeExporter commented 8 years ago
It is not possible, sorry. It just how pjsip—SIP library I’m using in 
Telephone—works.

But why does that account not work when STUN is enabled? Is it some kind of 
local FRITZ!Box account?

Original comment by eofs...@gmail.com on 8 Sep 2009 at 5:29

GoogleCodeExporter commented 8 years ago
Exactly. One of the accouts is an fritz!box account. The other is the sip 
account of
my company.

Original comment by bodo.tas...@gmail.com on 8 Sep 2009 at 5:35

GoogleCodeExporter commented 8 years ago
What if you setup your company account in FRITZ!Box and setup another FRITZ!Box 
extension to use with that 
company account? Does FRITZ!Box allow that?

Original comment by eofs...@gmail.com on 8 Sep 2009 at 5:40

GoogleCodeExporter commented 8 years ago
Here’s another idea. Apparently, FRITZ!Box uses Asterisk, which can be 
configured with “nat = yes” option. In 
that case it should pay attention to the real address requests come from, not 
the address in SIP. If you could find 
where that can be set in FRITZ!Box, then, I guess, it would also solved your 
problem.

Original comment by eofs...@gmail.com on 8 Sep 2009 at 5:45

GoogleCodeExporter commented 8 years ago
Your first Idea was something that came to my mind, too. But it's not very handy
because I use SIP on my MacBook Pro and take it to work. I have to switch 
between
configs every time I change the network I am in.

I can change the config of the fritzbox, that's a beater solution. I try to 
find out
how to do that. That also means I have to reset that setting everytime I get a 
new
firmware for that box.

Original comment by bodo.tas...@gmail.com on 8 Sep 2009 at 5:49

GoogleCodeExporter commented 8 years ago
Does you company server use Asterisk? If “nat = yes” was enabled for your 
account there, you could use your 
softphone without configuring STUN server in it. That would simply move all NAT 
traversal work from client to 
server.

Doesn’t FRITZ!Box have an option somewhere in GUI to control the “nat” 
parameter?

What is the exact problem with the company account when you disable STUN in 
Telephone? Is it a timeout 
during registration or a one-way audio?

Original comment by eofs...@gmail.com on 8 Sep 2009 at 8:32

GoogleCodeExporter commented 8 years ago
Our Company doesn't use Asterisk, we use a SIP provider that handles everything 
for us. 

The Fritz!Box doesn't have this option. The settings are very limited. If I 
disable
stun I don't hear anything on my phone.

Original comment by bodo.tas...@gmail.com on 9 Sep 2009 at 3:11