|
From: | Aymeric Moizard |
Subject: | Re: [osip-dev] username in Contact header of response |
Date: | Thu, 23 Jul 2015 01:10:08 +0200 |
Hi!
It's true that such scenario can happen even if:
1/ it doesn't happen often
2/ it doesn't harm to have a bad username here.
When answering, there is no other place to get a user-name, this is the only reason I choosed to reuse it to make the contact more.... pretty....
May be that was a bad idea and username could be just removed.
Regards
Aymeric
hi,I am just wondering about a detail in function _eXosip_complete_answer_that_establish_a_dialog.It uses the username of the To-header for the Contact-header of a response.Shouldn’t we use the username of the request-URI here ?guess the following scenario:a user registers underFrom: <sip:address@hidden>Contact: <sip:address@hidden>now, someone calls sip:address@hidden and the proxymodifies the request-URI to my registered Contact-URI.(There could also be some redirections and the proxy modifies therequest-URI several times.For what reason should the callee use the originally called To-URI-username in the Contact header,instead of its own registered Contact-URI (in my example “12345”, instead of “christoph”) ?I think this behaviour should be fixed in _eXosip_complete_answer_that_establish_a_dialog.br,Christoph
_______________________________________________
osip-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/osip-dev
[Prev in Thread] | Current Thread | [Next in Thread] |