Dear All,
I'm using the Linphone library on Android. I needed to add custom headers to the INVITE method so I'm using the LinphoneCallParams addCustomHeaders method; using Wireshark I could confirm that my custom headers are successfully added to the SIP message.
The problem is to retrieve the same headers from the call params.
After invoking the inviteWithParams method the getCustomHeader method simply returns null for my headers. If I try to retrieve the custom header before the inviteWithParams invocation, it will work ok.
Do you have an idea about what the problem might be, and how can I deal with it?
Thanks in advance for all your help.
Best regards,
Luís