Hi, let's assume a proxy with SIP multidomain support, and some users:

- sip:al...@domain1
- sip:b...@domain1
- sip:al...@domain2


Some cases:


a) sip:al...@domain1 whises to do an anonymous call so it generates
and INVITE as follows:

  INVITE tel:+12345678 SIP/2.0
  From: "Anonymous" <sip:[email protected]>
  P-Preferred-Identity: "Alice 1" <sip:al...@domain1>

The proxy must ask for authentication, but in the 407 the proxy must
include a "realm" parameter matching the user domain, so it needs to
extract the domain from the request, so it inspects the PPI header and
uses "domain1" as realm in the 407.


b) sip:b...@domain1 is allowed to use any callerid starting by +1234,
so in case it wants to show +12345678 as callerid it would send an
INVITE:

  INVITE tel:+12345678 SIP/2.0
  From: Bob <sip:b...@domain1>
  P-Preferred-Identity: "Bob" <tel:+12345678>

Then the proxy should reply 407 with realm = "domain1" (the domain in From).


It sounds a bit annoying, doesn't it? In case a) the proxy inspects
the PPI domain since the From domain is "anonymous.invalid", is it
correct? However it will not work in real work since each
implementantion uses a different URI for "anonymous" (also RFC 3261
doesn't specifies it very well).

Any comment on it please? Thanks a lot.


-- 
Iñaki Baz Castillo
<[email protected]>

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

Reply via email to