< Previous by Date Date Index Next by Date >
  Thread Index  

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.
 

 

Date: Sat, 25 May 2013 09:19:09 -0400
Subject: Re: [repro-users] Regarding Contact URI
From: sgodin@xxxxxxxxxxxxxxx
To: sudhagar_p@xxxxxxxxxxx
CC: repro-users@xxxxxxxxxxxxxxx


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,
Scott Godin

On Fri, May 24, 2013 at 6:08 AM, sudhagar samy <sudhagar_p@xxxxxxxxxxx> wrote:
Hi Resiprocate team
 
I have a requirement to change from "contact uri: 1234@ dc.abc.org" to "Contact URI: 1234@10.70.90.8" in SIP 200 OK message. But the SIP INVTE message contains 1234@xxxxxxxxxx.
Please provide some input how i can change the Contact URI. Our product is using Resiprocate SIP stack.
 
Thanks,
With warm regards,
-Sudhagar
 

_______________________________________________
repro-users mailing list
repro-users@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/repro-users