On Thu, Jul 31, 2008 at 1:52 PM, Eric Tamme <[EMAIL PROTECTED]> wrote:

> 1) Is it correct for the softswitch to translate the dialed number in
> the INVITE but not in the To: ? (This is not a redirect server, its just
> a switch)

That is correct.  The To header is populated by the UAC, and
represents the logical target of the request when it was generated,
not it's current target on a hop-by-hop basis.  That is what the R-URI
(the request URI) is for.

> 2) What is the correct place to be looking for the peer/dialed digits
> To: or in the INVITE ?

The R-URI is the correct place.  A UAC can ostensibly put whatever
value it likes into the To header - and that value is not allowed be
modified by any proxy at all.  The value placed into the To header
field will be the same when it reaches a UAS as when it left the UAC,
for example perhaps because the request was redirected by a proxy.

There is an example of this i've had to regularly point vendors to:
http://wiki.voip.co.uk/sip/matching_using_to_header

 ~ Theo
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to