[OpenSIPS-Users] Adding P-Preferred-Service header

2010-10-01 Thread David Santiago
Hi, I need to add a P-Preferred-Service header to the SIP messages that are sent from my OpenSIPS installation to the destination slee server. What is the recommended way to do this? Thanks in advance, David ___ Users mailing list

Re: [OpenSIPS-Users] Adding P-Preferred-Service header

2010-10-01 Thread Jeff Pyle
David, http://www.opensips.org/html/docs/modules/1.4.x/textops.html#id271351 http://www.opensips.org/html/docs/modules/1.4.x/textops.html#id271351Something like this: insert_hf(P-Preferred-Service: header value, Contact); - Jeff On Oct 1, 2010, at 11:09 AM, David Santiago wrote: Hi, I

Re: [OpenSIPS-Users] Adding P-Preferred-Service header

2010-10-01 Thread David Santiago
Thx Jeff, In the meantime I have tried with append_hf(P-Preferred-Service: header value\r\n); and it seems to also work fine. Regards, David On Fri, Oct 1, 2010 at 5:21 PM, Jeff Pyle jp...@fidelityvoice.com wrote: David,

Re: [OpenSIPS-Users] Adding P-Preferred-Service header

2010-10-01 Thread Jeff Pyle
Right... I usually put the second option in there so I have some control of where it goes in the list of headers. I think by default it puts the new ones at the top. Nothing wrong with that, just a bit weird looking. And in my example I forgot the \r\n. Oops. Glad it's working for you. -