I'm having trouble in using STUN with some UserAgents, which are not nat friendly at all. So, I've been reading about nathelper, but I did not find how does it work or how do I need to configure my ser.cfg to have this solution implemented.
I'd like to know what it the function theory of nathelper (not about its code, but yes how does it work) and how should I need to touch my ser.cfg and also how to configure my UserAgent.
Will nathelper help me with ANY UserAgent behind a NAT, no matter what kind of nat am I using and no matter whether my nat preserves or not the udp ports for the rtp connection ?? Does NAThelper impacts in the quality of the communication (QoS) ? Is NATHelper an outboundproxy ? Is NATHelper a session-border-controller ?
The thing is I'm telling my UserAgent to use some XXX rtp port, but, automagically (ufff) my linksys changes the port, and so I get one-way audio. I need to solve this urgently. It gets worse if I have many UserAgents behind this nat. I've also noticed that when broadband router (d-link) does not preserve ports, and assigns them randomly, whenever the link to internet goes down and up again, my UserAgent needs to talk again with STUN to find out its port. Just a mess !!!
Hope you can help me out in getting to know nathelper and configuring it.
Thanx in advance
Regards,
Lucas
Maybe be this is helpful for you http://www.informatik.uni-bremen.de/~prelle/terena/cookbook/Cookbook_D2/ch04...
----- Original Message ----- From: "Lucas Aimaretto" lucas@cyneric.com To: serusers@lists.iptel.org Sent: Wednesday, February 02, 2005 11:56 PM Subject: [Serusers] doubts about nathelper
I'm having trouble in using STUN with some UserAgents, which are not nat friendly at all. So, I've been reading about nathelper, but I did not find how does it work or how do I need to configure my ser.cfg to have this solution implemented.
I'd like to know what it the function theory of nathelper (not about its code, but yes how does it work) and how should I need to touch my ser.cfg and also how to configure my UserAgent.
Will nathelper help me with ANY UserAgent behind a NAT, no matter what kind of nat am I using and no matter whether my nat preserves or not the udp ports for the rtp connection ?? Does NAThelper impacts in the quality of the communication (QoS) ? Is NATHelper an outboundproxy ? Is NATHelper a session-border-controller ?
The thing is I'm telling my UserAgent to use some XXX rtp port, but, automagically (ufff) my linksys changes the port, and so I get one-way audio. I need to solve this urgently. It gets worse if I have many UserAgents behind this nat. I've also noticed that when broadband router (d-link) does not preserve ports, and assigns them randomly, whenever the link to internet goes down and up again, my UserAgent needs to talk again with STUN to find out its port. Just a mess !!!
Hope you can help me out in getting to know nathelper and configuring it.
Thanx in advance
Regards,
Lucas
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 01/02/2005
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Jimmy,
Maybe be this is helpful for you
http://www.informatik.uni-bremen.de/~prelle/terena/cookbook/Cookbook_D2/ ch04s07.html
Hi read it all, and it is really interesting. However I came across some errors. Following the link's instructions I modified my ser.cfg but got these errors.
[...] 0(14133) find_export: <search> not found 0(14133) find_export: <search> not found 0(14133) parse error (111,63-64): unknown command, missing loadmodule? [...] 0(14133) find_export: <search> not found 0(14133) find_export: <search> not found 0(14133) parse error (175,66-67): unknown command, missing loadmodule? [...] 0(14133) find_export: <append_hf> not found 0(14133) find_export: <append_hf> not found 0(14133) parse error (183,41-42): unknown command, missing loadmodule?
Searching lines 111,175 and 183 in my ser.cfg, I found the following:
Line 111
if (method == "REGISTER" || ! search("^Record-Route:"))
Line 175
if (uri=~"[@:](192.168.|10.|172.16)" && !search("^Route:")){
Line 183
append_hf("P-Behind-NAT: Yes\r\n");
There is some kind of error with the commands "search" and "append_hf". Any ideas ?
Regards,
Lucas
Jimmy,
Maybe be this is helpful for you
http://www.informatik.uni-bremen.de/~prelle/terena/cookbook/Cookbook_D2/ ch04s07.html
Hi read it all, and it is really interesting. However I came across some errors. Following the link's instructions I modified my ser.cfg but got these errors.
[...] 0(14133) find_export: <search> not found 0(14133) find_export: <search> not found 0(14133) parse error (111,63-64): unknown command, missing loadmodule? [...] 0(14133) find_export: <search> not found 0(14133) find_export: <search> not found 0(14133) parse error (175,66-67): unknown command, missing loadmodule? [...] 0(14133) find_export: <append_hf> not found 0(14133) find_export: <append_hf> not found 0(14133) parse error (183,41-42): unknown command, missing loadmodule?
Searching lines 111,175 and 183 in my ser.cfg, I found the following:
Line 111
if (method == "REGISTER" || ! search("^Record-Route:"))
Line 175
if (uri=~"[@:](192.168.|10.|172.16)" && !search("^Route:")){
Line 183
append_hf("P-Behind-NAT: Yes\r\n");
There is some kind of error with the commands "search" and "append_hf". Any ideas ?
Regards,
Lucas
Jimmy,
Maybe be this is helpful for you
http://www.informatik.uni-bremen.de/~prelle/terena/cookbook/Co
okbook_D2/
ch04s07.html
Hi read it all, and it is really interesting. However I came across some errors. Following the link's instructions I modified my ser.cfg but got these errors.
[...] 0(14133) find_export: <search> not found 0(14133) find_export: <search> not found 0(14133) parse error (111,63-64): unknown command, missing loadmodule? [...] 0(14133) find_export: <search> not found 0(14133) find_export: <search> not found 0(14133) parse error (175,66-67): unknown command, missing loadmodule? [...] 0(14133) find_export: <append_hf> not found 0(14133) find_export: <append_hf> not found 0(14133) parse error (183,41-42): unknown command, missing loadmodule?
Searching lines 111,175 and 183 in my ser.cfg, I found the following:
Line 111
if (method == "REGISTER" || ! search("^Record-Route:"))
Line 175
if (uri=~"[@:](192\.168\.|10\.|172\.16)" && !search("^Route:")){
Line 183
append_hf("P-Behind-NAT: Yes\r\n");
There is some kind of error with the commands "search" and "append_hf". Any ideas ?
Regards,
Lucas
I was missing the textops.so module. That was it THANX!!!
lucas