[OpenSIPS-Users] append_hf not working

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Dec 19 20:31:10 CET 2012


Hi,

and are you sure the script processing is getting to that append_hf() ? 
put an xlog("before append\n"); before the append_hf line to check.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/19/2012 05:59 PM, peter ness wrote:
>
> Hi Bogdan
>
> I am setting it like this
>
> append_hf("X-ACCOUNT: $avp(accnum)\r\n");
>
> There is no effect on the sip headers
>
> Regards
>
> Abdul
>
>> ----- Original Message -----
>> From: Bogdan-Andrei Iancu
>> Sent: 12/19/12 05:36 AM
>> To: OpenSIPS users mailling list
>> Subject: Re: [OpenSIPS-Users] append_hf not working
>>
>> Hi Peter,
>>
>> What are you trying to do and how exactly fails (error, nothing happens,
>> wrong change, etc) ?
>>
>> Regarding the note you find, that's about 1.8 and higher versions.
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>>
>>
>> On 12/19/2012 04:06 AM, peter ness wrote:
>>> I am trying to work out why append_hf is not working for me. I am using version 1.7.0
>>>
>>> I have seen this note on the doc
>>> Note: all SIP-aware functions like insert_hf, append_hf or codec operations have been moved to the sipmsgops module.
>>>
>>> However I can't see sipmsgops in the module src folder.? Is this info relevent to my version?
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>



More information about the Users mailing list