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

Re: [reSIProcate-users] question regarding "received" and "rport" tags


There is no way to do that automatically with resip.

You will need to manually modify the 2nd out going registration and fiddle with the contact headers before sending.  Profile::setOverrideHostAndPort may be of assistance, or you can just strip all contacts and re-add your own.  Note: If you provide a pre-populated contact header, the stack won't try to fill it in itself.

Scott

On Tue, Jan 2, 2018 at 5:08 PM, Francesco Lamonica <alienpenguin@xxxxxxxxx> wrote:
Hi all and happy 2018,
i have one UA that uses another sip stack (sofia-sip) then when receiving a response ( 200 OK to a REGISTER) containing a "received" and an "rport" tags in the Via Header then issues automatically another REGISTER with 2 contact headers
1) the old one, with expires=0 
2) the new one where the ip address and port are gathered from the received/rport tags parsed from the Via header

is there a way to do this automatically w resiprocate?
or, what would be the best actions to emulate this behaviour?

thanks

_______________________________________________
resiprocate-users mailing list
resiprocate-users@resiprocate.org
List Archive: http://list.resiprocate.org/archive/resiprocate-users/