<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><SPAN class=546342913-06102005><FONT face=Arial color=#0000ff size=2>here
is the result for a call from the pstn to our server :(</FONT></SPAN></DIV>
<DIV><SPAN class=546342913-06102005><FONT face=Arial color=#0000ff size=2>same
issue for internal calls</FONT></SPAN></DIV>
<DIV><SPAN class=546342913-06102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=546342913-06102005><FONT face=Arial size=2>U 213.246.57.33:5060
-> 82.146.123.252:5060<BR> INVITE sip:3227470340@82.146.123.252
SIP/2.0..Via: SIP/2.0/UDP 213.246.57.33:5060;branch=z9hG4bK4c3acd89..From:
"495283361" <sip:495283361@213.246.57.33>;tag=as3cefb611..To<BR> :
<sip:3227470340@82.146.123.252>..Contact:
<sip:495283361@213.246.57.33>..Call-ID: <A
href="mailto:0a209c9b6676915e710b6f1415ab882f@213.246.57.33..CSeq"><FONT
color=#000000>0a209c9b6676915e710b6f1415ab882f@213.246.57.33..CSeq</FONT></A>:
102 INVITE..User-Agent: Voxbone Ca<BR> llcontrol..Date: Thu, 06 Oct 2005
13:27:12 GMT..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER..Content-Type:
application/sdp..Content-Length: 268....v=0..o=root 10009 100<BR> 09 IN
IP4 213.246.57.33..s=session..c=IN IP4 213.246.57.33..t=0 0..m=audio 19414
RTP/AVP 18 8 0 101..a=rtpmap:18 G729/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:0
PCMU/8000..a=rt<BR> pmap:101 telephone-event/8000..a=fmtp:101
0-16..a=silenceSupp:off - - - -..<BR>#<BR>U 82.146.123.252:5060 ->
213.246.57.33:5060<BR> SIP/2.0 479 We don't forward to private IP
addresses..Via: SIP/2.0/UDP 213.246.57.33:5060;branch=z9hG4bK4c3acd89..From:
"495283361" <sip:495283361@213.246.57.33>;tag=as3cef<BR> b611..To:
<sip:3227470340@82.146.123.252>;tag=59f1565d6938a98ef3fc4707bf9b43aa.d7ae..Call-ID:
<A href="mailto:0a209c9b6676915e710b6f1415ab882f@213.246.57.33..CSeq"><FONT
color=#000000>0a209c9b6676915e710b6f1415ab882f@213.246.57.33..CSeq</FONT></A>:
102 INVITE..Server: Sip<BR> EXpress router (0.9.4
(i386/freebsd))..Content-Length: 0..Warning: 392 82.146.123.252:5060 "Noisy
feedback tells: pid=22903 req_src_ip=213.246.57.33 req_src_port=5060
in_u<BR> ri=sip:3227470340@82.146.123.252
out_uri=sip:3227470340@192.168.2.100:5060
via_cnt==1"....<BR>#</FONT></SPAN></DIV>
<DIV><SPAN class=546342913-06102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=546342913-06102005><FONT face=Arial color=#0000ff size=2>Serctl
gives private adresses also</FONT></SPAN></DIV>
<DIV><SPAN class=546342913-06102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=546342913-06102005><FONT face=Arial
size=2>~~~Contact(0x284db960)~~~<BR>domain :
'location'<BR>aor :
'3227470340'<BR>Contact :
'sip:3227470340@192.168.2.101:6937'<BR>Expires :
2939<BR>q
:<BR>Call-ID :
'8a6ef9438a7e3642'<BR>CSeq : 2<BR>User-Agent:
'eyeBeam release 3007n stamp 17816'<BR>received :
'sip:81.247.160.151:6937'<BR>State :
CS_SYNC<BR>Flags :
1<BR>next :
0x284de468<BR>prev :
0x284db3b0<BR></FONT></SPAN></DIV></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><FONT face=Tahoma
size=2>-----Message d'origine-----<BR><B>De :</B> Greger V. Teigre
[mailto:greger@teigre.com] <BR><B>Envoyé :</B> jeudi 6 octobre 2005
14:39<BR><B>À :</B> Olivier Taylor;
serusers@lists.iptel.org<BR><B>Objet :</B> Re: [Serusers] mediaproxy and
private ip<BR><BR></FONT></DIV>
<DIV>:-) Thanks, now I understand. See inline.<BR></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2>ok,</FONT></SPAN></DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2>Thanks for answering ;)</FONT></SPAN></DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff size=2>I
will reformulate</FONT></SPAN></DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2>Using ser.cfg from onsip.org version 5.</FONT></SPAN></DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2>When Uas register to ser, they are register with their privates IPs
(192.168.xxx.xxx), not with the public Ip of the natted
network.</FONT></SPAN></DIV></BLOCKQUOTE>
<DIV dir=ltr><SPAN class=796111112-06102005><FONT color=#0000ff size=2>So
serctl ul show will show the private address for the UA? If so, for some
reason the client_nat_test does not detect the NATed client, an ngrep of the
registration will help.</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=796111112-06102005><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2>Making a call requires proxy authentification but ser WWW-Challenge
never arrives to UA(wrong adress).</FONT></SPAN></DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2>Register works, even with
authentification.</FONT></SPAN></DIV></BLOCKQUOTE>
<DIV dir=ltr><SPAN class=796111112-06102005><FONT color=#0000ff size=2>The
challenge is not sent to the registered address, but rather to the originator
of the request. An ngrep trace of the INVITE will again help. The
challenge response will normally be sent to the source ip and port, not the
contact (which BTW also should be fixed by calling
fix_nated_contact())</FONT></SPAN></DIV>
<DIV dir=ltr><SPAN class=796111112-06102005><FONT color=#0000ff
size=2>g-)</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2>Any idea</FONT></SPAN></DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff size=2>In
tha cfg, I have :</FONT></SPAN></DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2> if (method=="INVITE" && client_nat_test("7"))
{<BR> # INSERT YOUR IP ADDRESS
HERE<BR> record_route_preset("82.146.xxx.xxx:5060;nat=yes");<BR> }
else if (method!="REGISTER")
{ <BR> record_route(); <BR> };<BR> and also
:</FONT></SPAN></DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2> if (!search("^Contact:[ ]*\*") && client_nat_test("7"))
{<BR> setflag(6);<BR> fix_nated_register();<BR> force_rport();<BR> };</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2> if (!www_authorize("finalcut.be","subscriber"))
{<BR> www_challenge("finalcut.be","0");<BR> break;<BR> };<BR></FONT></SPAN></DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796111112-06102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><FONT
face=Tahoma size=2>-----Message d'origine-----<BR><B>De :</B> Greger
V. Teigre [mailto:greger@teigre.com] <BR><B>Envoyé :</B> jeudi 6
octobre 2005 14:10<BR><B>À :</B> Olivier Taylor;
serusers@lists.iptel.org<BR><B>Objet :</B> Re: [Serusers] mediaproxy and
private ip<BR><BR></FONT></DIV>
<DIV>Olivier,</DIV>
<DIV>You complained about no one answering your questions. An
advise: When writing a question, please state clearly what you want to
accomplish, what the problem is, and as much information about the problem
as possible.</DIV>
<DIV>I have rechecked some of your recent posts, they are all in telegraph
language, and I find it very hard to understand what your question really
is.</DIV>
<DIV>To be honest, the below question really makes no sense to me.</DIV>
<DIV>g-)</DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=olivier.taylor@gmail.com
href="mailto:olivier.taylor@gmail.com">Olivier Taylor</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=serusers@lists.iptel.org
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, October 06, 2005
01:44 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Serusers] mediaproxy and
private ip</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2><SPAN class=093154211-06102005>Using the
last cfg from onsip.org, i just see that now Uas are registered with
their private Ip when using mediaproxy.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=093154211-06102005>Mediaproxy
seems the best solution for scalability, that's why I want to test
it.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=093154211-06102005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=093154211-06102005>Any
Idea?</SPAN></FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Serusers
mailing list<BR><A
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A><BR><A
href="http://lists.iptel.org/mailman/listinfo/serusers">http://mail.iptel.org/mailman/listinfo/serusers</A><BR></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>