I have been reading across multiple sources and I have a few concerns which I'm not sure is correct?
Consider a simple call flow as below of Alice ([email protected]) <-> Bob([email protected])
Given Alice has registered with 3 devices and bob has registered with 2 devices
Alice devices
1. [email protected]
2. [email protected]:43085
3. [email protected]:5060
Bob Devices
1. [email protected]
2. [email protected]:5060
Now coming to the call flow. Alice(from [email protected]
decides to call BOB.
when the call (from Alice to Bob) is made(in the first leg) would the Request - URI would be that of proxy or bob. [Ref] (https://www.quora.com/What-is-the-difference-between-request-URI-and-to-tag-in-SIP-request-messages)
Alice called from its device
[email protected]
so we assume that contact header to be present in the SIP request. But when BOB enters its contact HEADERi.e [email protected]
in 200 OK response. Why does the route have to be directed to Proxy (ref picture)
why can't it be sent directly to the ALICE since the BOB knows about ALICE's location? since the request had the Alice Contact header.