[OpenSIPS-Users] Basic doubt of sip routing

Adrian Georgescu ag at ag-projects.com
Fri Feb 11 14:13:04 CET 2011


If your SIP device support dialing only phone numbers, you need a translation mechanism, this you can implement in the SIP proxy. You can use standard ENUM (http://www.faqs.org/rfc/rfc3764.txt),  local database lookups, configuration logic to translate the number into a fully qualified SIP address or many other methods, there are plenty of OpenSIPS modules that do such phone number translation.

Adrian

On Feb 11, 2011, at 2:04 PM, Toyima Dias wrote:

> 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 at domain_of_b, right? how does A knows the domain of B? does A must press in the phone: usearB(a number)@DOMAIN_OF_B?
> sorry for many questions, keep reading the rfc...
> 
> 
> 
> 2011/2/11 Adrian Georgescu <ag at ag-projects.com>
> 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 to send a call...but i have a softphone righ now, and i'm trying to make a call like this:
>> 234560 at proxy2.com (inserted by me), not just puting the number....maybe i'm saying something crazy, but i'm confuse!
>> 
>> 
>> 
>> 2011/2/11 Adrian Georgescu <ag at ag-projects.com>
>> 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 address. In your example user A calls user 264512380973 on the same Proxy and not a remote one.
>> 
>> See the illustrated examples from:
>> 
>> http://www.tech-invite.com/Ti-sip-ex3261.html
>> 
>> Adrian
>> 
>> On Feb 11, 2011, at 1:17 PM, Toyima Dias wrote:
>> 
>>> 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 sip:264512380973 at 172.30.140.57;transport=UDP SIP/2.0 (172.30.140.57 is the IP of proxy A)
>>> 
>>> Where does the DNS takes part? the domain is it's ip address...i'm quite confuse, any help would b e appreciated
>>>  
>>> Thanks
>>> 
>>> 
>>> 2011/2/11 Toyima Dias <toyimads at gmail.com>
>>> Thanks Adrian...reading the RFC3263!
>>>  
>>> Thanks!
>>> 
>>> 
>>> 2011/2/11 Adrian Georgescu <ag at 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 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?
>>>>  
>>>> Any clarification would be appreciated :)
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>> 
>>> 
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110211/3982b5e3/attachment-0001.htm>


More information about the Users mailing list