[SR-Users] Organization in SIP header

Skyler skchopperguy at gmail.com
Mon Oct 17 10:34:01 CEST 2011


Hi Daniel,

 Thanks! That works perfectly.

S.

On Mon, 2011-10-17 at 09:53 +0200, Daniel-Constantin Mierla wrote:
> Hello,
> 
> actually the user_agent_header and server_header can take more than one 
> header. You can just put as many as you want separately by \r\n (without 
> the last \r\n). Try like:
> 
> user_agent_header="Organization: My Company\r\nUser-Agent: ..."
> 
> But be aware that these headers are used for messages generated by 
> kamailio, not added to messages that are proxied. For proxied traffic 
> you have to use append_hf().
> 
> Cheers,
> Daniel
> 
> On 10/15/11 7:14 PM, Skyler wrote:
> > On Sat, 2011-10-15 at 19:19 +0300, Juha Heinanen wrote:
> >> Skyler writes:
> >>
> >>>   I mean, is there a way to add an Organization Header Field without
> >>> using append_hf function in script.
> >>>
> >>> Example, organization_header="Organization: Company Name"
> >> i don't think there is any other way.
> >>
> >> -- juha
> >>
> >   Ok, Thanks :)
> >
> > S.
> >
> >
> > _______________________________________________
> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> > sr-users at lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> 




More information about the sr-users mailing list