partysip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Partysip-dev] [Q] URI binding with IP addr


From: Aymeric Moizard
Subject: Re: [Partysip-dev] [Q] URI binding with IP addr
Date: Mon, 6 Oct 2003 14:07:53 +0200 (CEST)


On Mon, 6 Oct 2003, [big5] ppp ppp wrote:

> Hi,
>
> I have a general SIP proxy Q with URI binding with IP addr.
>
> How Proxy bind URI with IP addr?
> Does this IP addr get from ip addr in contact header or src addr from IP
> header ? I assume it get from contact header since it may not be the
> same with src ip addr

The from header in SIP is just informative. The only parameter for
forwarding message is the uri in the REQUEST-URI. (the first line
of SIP request).

If the request-uri host part match a host name (servername list) or ip
(serverip or autodetected on several OS) of the partysip configuration,
then the user is search in the local database of registred user. (using
the contact header of previous REGISTER)

When the host does not match, the message is forwarded to the host
found in the message. (with or without resolution)

> How about if addr in contact header is a domain name
> which different with the the domain that the proxy responsible for?
> e.q.
> If a proxy responsible for domain --a.com
>
> Sip client register msg may looks like
>
> REGISTER sip:a.com SIP/2.0
> Via: ......
> From: 22 <sip:address@hidden>;tag=3437148938
> To: 22 <sip:address@hidden>
> ....
> Contact: sip:address@hidden
> ...
>
>
> Does the binding will be below?
> address@hidden :  address@hidden

evry user that want to call address@hidden will call address@hidden

> So if this proxy rcv msg that dest to address@hidden, it will
> use DNS resolve z.com and send to z.com proxy first?

right.

> Is there any protocol between proxies so proxy for a.com know the IP
> addr for z.com?

DNS (with SRV records).
Aymeric

> Thanks,
> Leon
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------
> ¨C¤Ñ³£ Yahoo!©_¼¯
> ®üªºÃC¦â¡B­·ªº®ð®§¡B·R§Aªº·Å«×¡AºÉ¦b«H¯È©³¹Ï
> «H¯È©³¹Ï




reply via email to

[Prev in Thread] Current Thread [Next in Thread]