[Kamailio-Users] SUBSCRIBE message with a private header

Daniel-Constantin Mierla miconda at gmail.com
Fri Sep 26 10:04:16 CEST 2008


Hello,

just to complete, the existence of an header can be tested with 
is_present_hf() function from textops module.

Cheers,
Daniel


On 09/25/08 23:49, Yoo Chan Jeon wrote:
> Hi, 
> Now I got the value.
> Discard the previous message.
>  
> Thanks.
> Jeon
>  
>  
>  
> >Hi,
> >Thank you for your reponse.
> >By using $hdr(HEADER-NAME),  it returns "Private-Header:value".
> >Now I have other problems
> >I would like to check if the header exist, then I want to get the value.
> >How do I get the value from $hdr(HEADER-NAME) ?
>  
> >Thanks.
>  
> >Jeon
>  
>  
>  
>  
> El Miércoles, 24 de Septiembre de 2008, Yoo Chan Jeon escribió:
> > Hi,
> > I have a client sip agent which sends a SUBSCRIBE msg with a private 
> header
> > to the Kamailio presence server.
> > Hwo do I get the private header informtaion?  I want to read it and 
> send it
> > with a Notify message.
>
> Read it with $hdr(HEADER-NAME).
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the Users mailing list