<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The SIP proxy lookups up the domain part, what appears after the @ sign before any parameters separated by ; if is an IP address like in your example you do not perform a DNS lookup you just send the packet there. <div><br></div><div>In the request URI you must put the address of the remote end, not your own address. In your example user A calls user <span class="Apple-style-span" style="font-family: Verdana; "><a href="mailto:sip%3A264512380973@172.30.140.57">264512380973</a> on the same Proxy and not a remote one.</span><div><br></div><div>See the illustrated examples from:</div><div><br></div><div><a href="http://www.tech-invite.com/Ti-sip-ex3261.html">http://www.tech-invite.com/Ti-sip-ex3261.html</a></div><div><br></div><div><div>Adrian</div><div><br><div><div>On Feb 11, 2011, at 1:17 PM, Toyima Dias wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><font face="verdana,sans-serif">Adrian, i'm checking the rfc...but even i have a question...when UA sends an INVITE to it's proxy to a phone for example (obviously not registered on the proxy), the proxy will check the RURI of this invite and it will se the following:</font></div>
<div><font face="Verdana"></font> </div>
<div><font face="Verdana">user A sends the invite to its proxy : INVITE <a href="mailto:sip%3A264512380973@172.30.140.57">sip:264512380973@172.30.140.57</a>;transport=UDP SIP/2.0 (172.30.140.57 is the IP of proxy A)</font></div>
<div><font face="Verdana"><br>Where does the DNS takes part? the domain is it's ip address...i'm quite confuse, any help would b e appreciated</font></div>
<div><font face="Verdana"></font> </div>
<div><font face="Verdana">Thanks</font></div><font face="verdana,sans-serif">
<div><br></div></font><br>
<div class="gmail_quote">2011/2/11 Toyima Dias <span dir="ltr"><<a href="mailto:toyimads@gmail.com">toyimads@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div><font face="verdana,sans-serif">Thanks Adrian...reading the RFC3263! </font></div>
<div> </div>
<div><font face="verdana,sans-serif">Thanks!</font></div>
<div><br><br></div>
<div class="gmail_quote">2011/2/11 Adrian Georgescu <span dir="ltr"><<a href="mailto:ag@ag-projects.com" target="_blank">ag@ag-projects.com</a>></span>
<div>
<div></div>
<div class="h5"><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div style="WORD-WRAP: break-word">The proxy is using DNS to lookup the destination server.
<div><br></div>
<div>Google for RFC 3263</div>
<div><br></div>
<div>Adrian</div>
<div><br>
<div><br>
<div>
<div>
<div></div>
<div>
<div>On Feb 11, 2011, at 10:19 AM, Toyima Dias wrote:</div><br></div></div>
<blockquote type="cite">
<div>
<div></div>
<div>
<div><font face="verdana,sans-serif">Hello community, </font></div>
<div><font face="Verdana"></font> </div>
<div><font face="Verdana">I have a doubt, how does a SIP Proxy (OpenSIPS) would handle a call for a domain that he doesn't now? i mean...user A is registered in proxy AA, if A wants to call to another user in another domain (not registered in the Proxy AA) how does this proxy should handle the call? how does he now where to send this call? </font></div>
<div><font face="Verdana"></font> </div>
<div><font face="Verdana">Any clarification would be appreciated :)</font></div></div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></blockquote></div><br></div></div></div><br>_______________________________________________<br>
Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div></div></div><br></blockquote></div><br>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></div></div></div></body></html>