<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3603" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=2>Hi,Daniel<BR></FONT></DIV>
<DIV><FONT size=2> I have according to your instruction modify
the config file,but it remain as before. following is my modify
part:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2># -- nathelper<BR>modparam("nathelper", "rtpproxy_sock",
"udp:127.0.0.1:7722") <FONT color=#ff0000>#Is 127.0.0.1 should modify
my internet ip? <BR></FONT>modparam("nathelper", "natping_interval",
30)<BR>modparam("nathelper", "ping_nated_only", 1)<BR>modparam("nathelper",
"sipping_bflag", 7)<BR>modparam("nathelper", "sipping_from",
"sip:pinger@kamailio.org")<FONT color=#ff0000> </FONT><A
href="mailto:#pinger@kamailio.org"><FONT
color=#ff0000>#pinger@kamailio.org</FONT></A><FONT color=#ff0000> no
modify?</FONT> <BR>modparam("registrar|nathelper", "received_avp",
"$avp(i:80)")<BR>modparam("usrloc", "nat_bflag", 6)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> Can you tell my how to find the kamailio's log
file(it's path)?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> Thank you!</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> --aiphie</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>----- Original Message ----- </FONT>
<DIV><FONT size=2>From: "Daniel-Constantin Mierla" <</FONT><A
href="mailto:miconda@gmail.com"><FONT size=2>miconda@gmail.com</FONT></A><FONT
size=2>></FONT></DIV>
<DIV><FONT size=2>To: "aiphie" <</FONT><A
href="mailto:chengwu8@139.com"><FONT size=2>chengwu8@139.com</FONT></A><FONT
size=2>></FONT></DIV>
<DIV><FONT size=2>Cc: <</FONT><A href="mailto:users@lists.kamailio.org"><FONT
size=2>users@lists.kamailio.org</FONT></A><FONT size=2>></FONT></DIV>
<DIV><FONT size=2>Sent: Monday, August 24, 2009 3:45 PM</FONT></DIV>
<DIV><FONT size=2>Subject: Re: [Kamailio-Users] sip phone behind the
nat</FONT></DIV></DIV>
<DIV><FONT size=2><BR></FONT></DIV><FONT size=2>> <BR>> <BR>> On
24.08.2009 9:49 Uhr, aiphie wrote:<BR>>>
hi,all<BR>>> <BR>>> I have
use sed command to clear the comment which in front of regarding nat,But it's
always use local network IP to fill session description protocol->connection
information->connection address,I know sip server can rewrite this message
item,Can you tell me how to let sip server rewrite
it?<BR>>> annex is my config file,please look what wrong
in this? <BR>>> <BR>> have you read my previous
email entirely? There was something about<BR>> rtpproxy that may lead you to
discover what is wrong.<BR>> <BR>> Cheers,<BR>> Daniel<BR>>
<BR>>> thank
you!<BR>>><BR>>>
--aiphie<BR>>><BR>>><BR>>><BR>>> ----- Original Message
----- <BR>>> From: "Daniel-Constantin Mierla" <</FONT><A
href="mailto:miconda@gmail.com"><FONT size=2>miconda@gmail.com</FONT></A><FONT
size=2>><BR>>> To: "aiphie" <</FONT><A
href="mailto:chengwu8@139.com"><FONT size=2>chengwu8@139.com</FONT></A><FONT
size=2>><BR>>> Cc: <</FONT><A
href="mailto:users@lists.kamailio.org"><FONT
size=2>users@lists.kamailio.org</FONT></A><FONT size=2>><BR>>> Sent:
Friday, August 21, 2009 6:55 PM<BR>>> Subject: Re: [Kamailio-Users] sip
phone behind the nat<BR>>><BR>>><BR>>>
<BR>>>> Hello,<BR>>>><BR>>>> On 21.08.2009 12:52 Uhr,
aiphie wrote:<BR>>>> <BR>>>>>
Hi,body.<BR>>>>> I'm using the kamailio as a sip server,If in the
local network ,It<BR>>>>> works very well ,But when i set the sip
server in the internet, When<BR>>>>> starting voice chat,Two sip
phone will receive the behind net ip<BR>>>>> address(sip phone's
local ip address).<BR>>>>> How i can configure sip server(kamailio)
let sip server send sip<BR>>>>> phone's peer ip address using front
nat ip address(internet ip address)?<BR>>>>> Any body can give me
how to realize it?<BR>>>>>
<BR>>>> you need to enable nathelper module + appropriate lines in
config file<BR>>>> and install
rtpptoxy.<BR>>>><BR>>>> If you check the default config file
you will see at the top some<BR>>>> comments regarding nat traversal
and what sed command you can use to<BR>>>> enable
it.<BR>>>><BR>>>> Cheers,<BR>>>>
Daniel<BR>>>><BR>>>> -- <BR>>>> Daniel-Constantin
Mierla<BR>>>> * </FONT><A href="http://www.asipto.com/"><FONT
size=2>http://www.asipto.com/</FONT></A><BR><FONT
size=2>>>> <BR>>> ><BR>>>
------------------------------------------------------------------------<BR>>><BR>>>
_______________________________________________<BR>>> Kamailio (OpenSER) -
Users mailing list<BR>>> </FONT><A
href="mailto:Users@lists.kamailio.org"><FONT
size=2>Users@lists.kamailio.org</FONT></A><BR><FONT size=2>>> </FONT><A
href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users"><FONT
size=2>http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</FONT></A><BR><FONT
size=2>>> </FONT><A
href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users"><FONT
size=2>http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</FONT></A><BR><FONT
size=2>> <BR>> -- <BR>> Daniel-Constantin Mierla<BR>> * </FONT><A
href="http://www.asipto.com/"><FONT
size=2>http://www.asipto.com/</FONT></A><BR><FONT
size=2>></FONT></BODY></HTML>