"Calwell, David" wrote:
> 
> Hi,
> 
> I'm after some help on the format for the Record-Route request.
> 
> I am writing a "Mini Proxy" which will sit on the UA and filter or change
> messages before they are sent to the "main" Proxy.
> 
> So on one machine (IP number xxx.xxx.xxx.xxx) I have the client (Nortel
> Raider) on port 5060 (cant be changed) and the Mini Proxy on 5070. The
> Raider is set to use Proxy Server at xxx.xxx.xxx.xxx:5070.
> 
> This is presenting a problem with the Record-Route request, which we need 
> to maintain detailed call control
> 
> Consider the following header
> 
> Record-Route: <sip:[EMAIL PROTECTED]:5060;maddr=xxx.xxx.xxx.xxx>
> 
> My question is :
> 
> Is it possible to specify the port to use in the maddr parameter or some
> other parameter.
> 
> What is happening is that the default port of 5060 is being assumed, which
> causes the Raiders requests to be sent back to itself.

David:

Since R-R are added by proxies (or in your case, your mini-Proxy), the R-R
it should construct is:

 Record-Route:<sip:[EMAIL PROTECTED]:5070;maddr=xxx.xxx.xxx.xxx>

before sending it to the main proxy.  In a R-R, the port number is specified
in the R-URI.  After the subsequent Route creation, your Mini proxy will be
contacted first on port 5070 for requests and it should proxy the request to 
the UA on port 5060.

Mayank Sharma <[EMAIL PROTECTED]> wrote:
> I believe that we can specify the port number in the maddr field itself.. 
> ie your maddr will look like maddr=xxx.xxx.xxx.xxx:5070, check the grammar 
> for the maddr.. it does support port number, if it does'nt then i believe 
> it should ;-)

Nope; a non-5060 port is put in the R-URI of the R-R.  I don't know what the
genesis of this decision was, but it has been there since 2543 and you
would probably break compatibility if it was changed now.

- vijay
-- 
Vijay K. Gurbani  vkg@{lucent.com,research.bell-labs.com,acm.org}
Internet Software and eServices Group 
Lucent Technologies/Bell Labs Innovations 263 Shuman Blvd., Rm 1A-413
Naperville, Illinois 60566     Voice: +1 630 224 0216   Fax: +1 630 713 0184
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to