Re: [OpenSIPS-Users] Basic doubt of sip routing

2011-02-14 Thread Dave Singer
Toyima, The client does NOT have to use NAPTR or SRV. It can use regular A or CNAM records as well or even just an IP. (unless it is a half baked client) SRV and NAPTR are special DNS records that can be used tell the client what services are available and where and how to connect to them. If your

[OpenSIPS-Users] Basic doubt of sip routing

2011-02-11 Thread Toyima Dias
Hello community, 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

Re: [OpenSIPS-Users] Basic doubt of sip routing

2011-02-11 Thread Adrian Georgescu
The proxy is using DNS to lookup the destination server. Google for RFC 3263 Adrian On Feb 11, 2011, at 10:19 AM, Toyima Dias wrote: Hello community, 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

Re: [OpenSIPS-Users] Basic doubt of sip routing

2011-02-11 Thread Toyima Dias
Thanks Adrian...reading the RFC3263! Thanks! 2011/2/11 Adrian Georgescu a...@ag-projects.com The proxy is using DNS to lookup the destination server. Google for RFC 3263 Adrian On Feb 11, 2011, at 10:19 AM, Toyima Dias wrote: Hello community, I have a doubt, how does a SIP

Re: [OpenSIPS-Users] Basic doubt of sip routing

2011-02-11 Thread Toyima Dias
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: user A sends the invite to its proxy : INVITE

Re: [OpenSIPS-Users] Basic doubt of sip routing

2011-02-11 Thread Adrian Georgescu
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. In the request URI you must put the address of the remote end, not your own

Re: [OpenSIPS-Users] Basic doubt of sip routing

2011-02-11 Thread Toyima Dias
Thanks Adrian... So...how does ALice now that bob is in the biloxi.com domain? per the rfc 3263 section 4 (client usage) the ua must use DNS to determine where to send a call...but i have a softphone righ now, and i'm trying to make a call like this: 234...@proxy2.com (inserted by me), not just

Re: [OpenSIPS-Users] Basic doubt of sip routing

2011-02-11 Thread Adrian Georgescu
SIP routing works exactly like email. How did you know to email this list? Adrian On Feb 11, 2011, at 1:42 PM, Toyima Dias wrote: Thanks Adrian... So...how does ALice now that bob is in the biloxi.com domain? per the rfc 3263 section 4 (client usage) the ua must use DNS to determine where

Re: [OpenSIPS-Users] Basic doubt of sip routing

2011-02-11 Thread Toyima Dias
create...got it...that means that if i have a phone registered in proxy A, and i want to call userB, A has no idea where B resides, at all...how does A know the domain of B? he must put in the RURI of the invite userB@domain_of_b, right? how does A knows the domain of B? does A must press in the

Re: [OpenSIPS-Users] Basic doubt of sip routing

2011-02-11 Thread Toyima Dias
COOL Adrian...many thanks for your kindly answers...by the way, i've checked on the rfc that the client must use NAPTR and SRV to resolve domains! 2011/2/11 Adrian Georgescu a...@ag-projects.com If your SIP device support dialing only phone numbers, you need a translation mechanism, this you