Re: [reSIProcate-users] [repro-users] Regarding Contact URI
By default DUM/resip fills in the contact header for you automatically based on the ip address of the network interface that is used to send the request. You must be doing something to get the hostname in the contact header in the first place - perhaps you are using the setOverrideHostAndPort API of the DUM Profile/UserProfile.
Scott
On Tue, Jun 4, 2013 at 7:43 AM, sudhagar samy
<sudhagar_p@xxxxxxxxxxx> wrote:
My Apologies for the delay.
I am using DUM, now i understood that contact URI is different from INVITe and SIP 200.
The issue i am having here is in the INVITE message i am seeing following TO details
sip.To == "<
sip:27732@xxxxxxxxxxxxxxxxxxxxx>""
the
AvayaSIP.ldstat01.net is the domain name.
In the SIP 200 message i am seeing the contact value as below
sip.Contact == "<
sip:27732@xxxxxxxxxxxxxxxxxxxxx>"
I need to change the contact value like below
sip.Contact == "<
sip:27732@10.10.65.67>"
Kindly let me know how i can implement the contact changes while sending SIP 200 message.
I'm a little confused about what you are trying to accomplish. The contact header in the 200 is not related to the contact header in the INVITE, they are independent - one from each side/end of a session. Given that you posted to repro users, should I assume you are using repro? Or are you using the DUM api's in your own application and just posted to the wrong list? The answers will be different depending on what code you are using. If you can clarify your requirements a little better I'm sure we can help you out.
Regards,