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

Re: [reSIProcate-users] Support for P-Preferred-Service and other customized header parameters


Wong Kok Meng-a17866 wrote:
I understand that reSIProcate currently does not support "P-Preferred-Service", do you know if there is any plan to do so?

The document that describes the "P-Preferred-Service" and "P-Asserted-Service" header fields has not been adopted by any IETF working group yet. I suspect the resiprocate project won't consider them for addition to the stack unless and until the SIP or SIPPING working group formally adopts a draft that defines them.

I would like to add two customized parameter types to the "Contact" and "Accept-Contact" headers in the REGISTER and SUBSCRIBE message. Other than modifying the code in the stack, is there any recommended way?


If you don't want to modify the stack, use the ExtensionHeader and ExtensionParameter mechanisms. They are described briefly here:

 http://www.resiprocate.org/Use_Overview#Extension_Header

If you are willing to modify the stack (and this is a fair bit more work than using the Extension mechanisms, but it's also much cleaner), see these pages:

 http://www.resiprocate.org/Adding_a_new_header
 http://www.resiprocate.org/Adding_a_new_parameter

/a