[Kamailio-Users] after an append_hf
Daniel-Constantin Mierla
miconda at gmail.com
Fri Sep 12 16:29:44 CEST 2008
Hello,
On 09/12/08 16:46, BERGANZ François wrote:
> I don't really understand!
>
> If I have done: append_hf("user: XXX"\r\n");
> Can I find it with: $(hdr(user:));
>
don't put the colon after the header name. Simply $hdr(user)
Cheers,
Daniel
> ?
>
>
> Cordialement
>
> BERGANZ François
> http://www.acropolistelecom.net
>
> -----Message d'origine-----
> De : Klaus Darilion [mailto:klaus.mailinglists at pernau.at]
> Envoyé : vendredi 12 septembre 2008 15:31
> À : BERGANZ François
> Cc : users at lists.kamailio.org
> Objet : Re: [Kamailio-Users] after an append_hf
>
> You can access any header as pseudo variable:
> $hdr.....
>
> look at the pseudo varibales documentation
>
> klaus
>
> BERGANZ François wrote:
>
>> hello all
>>
>>
>>
>> I need help for 'append_hf' :
>>
>> I know how to add sip header with append_hf
>>
>> but
>>
>> how can look at this after (in another server) ?
>>
>> I need to do append_hf("user: XXX"\r\n"); and after (with another
>> OpenSer) look at the string after “user: “ ?
>>
>>
>>
>> How to do?
>>
>>
>>
>>
>>
>>
>>
>> Cordialement
>>
>>
>>
>> BERGANZ François
>>
>> http://www.acropolistelecom.net <http://www.acropolistelecom.net/>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>
>
>
> _______________________________________________
> 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