ChallyCai / doubango

Automatically exported from code.google.com/p/doubango
0 stars 1 forks source link

How to change Contact header in reponse to INVITE message #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. In tsip_dialog_invite.server.c, 302 response is added for call redirection. 
Contact header is added for redirect uri. However, after 302 is sent, the 
domain name of Contact header is changed to local ip address.

What is the expected output? What do you see instead?

Expected to see Contact header containing target URI without replacing. Now the 
domain name of the target URI is replaced by local IP address.

What version of the product are you using? On what operating system?
Lastest code compiled with Imsdroid to run on Android 2.2.

Please provide any additional information below.

Original issue reported on code.google.com by xiangch...@gmail.com on 11 Feb 2011 at 2:04

GoogleCodeExporter commented 9 years ago
By changing tsip_transport_msg_update_aor() as a workaround, this problem was 
solved. But a formal solution might be needed to take into consideration of 302 
case which has non-local-ip-address Contact header.

Original comment by xiangch...@gmail.com on 11 Feb 2011 at 1:49

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 15 Feb 2011 at 5:50