<div dir="ltr"><div>------phona A-------kamailio---------asterisk-----</div><div>OPTION 1: configure asterisk or kamailio</div><div>i used asterisk, and install kamailio for traffic RTP can be send between end points that behind NAT router, and do not have to go through RTP proxy,, plz help!</div><div>i think to the moment install kamailio, headrs'sdp fix IP private, but no!, how can fix it plz!!?</div><div>regards!</div><div><br></div><div>orĀ </div><div>OPTION 2: edit sip/sdp</div><div>mi sip/sdp is</div><div>[code]</div><div><--- SIP read from UDP:<a href="http://152.74.21.12:5060">152.74.21.12:5060</a> ---></div><div>ACK <a href="http://sip:1001@152.74.21.12:6112">sip:1001@152.74.21.12:6112</a> SIP/2.0</div><div>Via: SIP/2.0/UDP 152.74.21.12;branch=z9hG4bKcydzigwkX</div><div>Via: SIP/2.0/UDP 190.164.204.227:41553;branch=z9hG4bK-d8754z-84f73c7e042445de-1---d8754z-;rport=41553</div><div>Max-Forwards: 16</div><div>Contact: <sip:JavierTren@190.164.204.227:41553;transport=UDP></div><div>To: <<a href="mailto:sip%3A1001@152.74.21.12">sip:1001@152.74.21.12</a>;transport=UDP>;tag=as6e487bf1</div><div>From: <<a href="mailto:sip%3AJavierTren@152.74.21.12">sip:JavierTren@152.74.21.12</a>;transport=UDP>;tag=2b8fa52c</div><div>Call-ID: NjgyMTViMDAyMzczNjIyNWIwZWU3OWJjZDAxMWFkNjY.</div><div>CSeq: 2 ACK</div><div>Proxy-Authorization: Digest username="JavierTren",realm="152.74.21.12",nonce="VGFnblRhZkIpJRpScSaEi795VKe4uof0",uri="<a href="mailto:sip%3A1001@152.74.21.12">sip:1001@152.74.21.12</a>;transport=UDP",response="116bf459c22231d0a770534d674b768d",algorithm=MD5</div><div>User-Agent: Zoiper r27147</div><div>Content-Length: 0</div><div><br></div><div><-------------></div><div>--- (12 headers 0 lines) ---</div><div>set_destination: Parsing <sip:152.74.21.12;lr=on;ftag=2b8fa52c> for address/port to send to</div><div>set_destination: set destination to <a href="http://152.74.21.12:5060">152.74.21.12:5060</a></div><div>Audio is at 12064</div><div>Adding codec 100002 (gsm) to SDP</div><div>Adding codec 100003 (ulaw) to SDP</div><div>Adding non-codec 0x1 (telephone-event) to SDP</div><div>Reliably Transmitting (NAT) to <a href="http://152.74.21.12:5060">152.74.21.12:5060</a>:</div><div>INVITE sip:JavierTren@190.164.204.227:41553;transport=UDP SIP/2.0</div><div>Via: SIP/2.0/UDP 152.74.21.12:6112;branch=z9hG4bK3992226d;rport</div><div>Route: <sip:152.74.21.12;lr=on;ftag=2b8fa52c></div><div>Max-Forwards: 70</div><div>From: <<a href="mailto:sip%3A1001@152.74.21.12">sip:1001@152.74.21.12</a>;transport=UDP>;tag=as6e487bf1</div><div>To: <<a href="mailto:sip%3AJavierTren@152.74.21.12">sip:JavierTren@152.74.21.12</a>;transport=UDP>;tag=2b8fa52c</div><div>Contact: <<a href="http://sip:1001@152.74.21.12:6112">sip:1001@152.74.21.12:6112</a>></div><div>Call-ID: NjgyMTViMDAyMzczNjIyNWIwZWU3OWJjZDAxMWFkNjY.</div><div>CSeq: 102 INVITE</div><div>User-Agent: Asterisk PBX 11.13.0</div><div>Session-Expires: 1800;refresher=uac</div><div>Min-SE: 90</div><div>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</div><div>Supported: replaces, timer</div><div>X-asterisk-Info: SIP re-invite (External RTP bridge)</div><div>Content-Type: application/sdp</div><div>Content-Length: 256</div><div><br></div><div>v=0</div><div>o=root 1842142539 1842142540 IN IP4 192.168.1.8</div><div>s=Asterisk PBX 11.13.0</div><div>c=IN IP4 192.168.1.8</div><div>t=0 0</div><div>m=audio 8000 RTP/AVP 3 0 101</div><div>a=rtpmap:3 GSM/8000</div><div>a=rtpmap:0 PCMU/8000</div><div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-16</div><div>a=ptime:20</div><div><br></div><div>[/code]</div><div><br></div><div>and the field o and c i need to IP public y no private,,</div><div>plz any?</div></div>