barchandune / doubango

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

Unable to add headers in the response using action config or addheader function of sip session #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.invite is sent from the sipp to imsdroid 
2.From imsdroid i am sending 302 moved temporirly 
I have added an extra contact header in the 302 response but from the wireshark 
trace i am able to see that header is not being added  
config.addHeader("Contact", "ajith"); 
This works for request but not for response 

What is the expected output? What do you see instead?
Contact : ajith 
should be present in the 302 response

What version of the product are you using? On what operating system?
4.0.3 android  on windows 64 bit machine 
i am using emulator 

Please provide any additional information below.

Original issue reported on code.google.com by ajithks...@gmail.com on 25 Jan 2012 at 7:05

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 25 Jan 2012 at 11:14

GoogleCodeExporter commented 9 years ago
hi bossiel,

In file :tsip_dialog_invite.c  in function send_ERROR 
code changes from line number 1458 to 1461 i am able to send the extra header 
using config from application for error response.
I have attached the file 

Thanks
ajith k s

Original comment by ajithks...@gmail.com on 3 Feb 2012 at 6:03

Attachments: