[OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Sep 17 18:06:12 CEST 2009


Iñaki Baz Castillo wrote:
> 2009/9/17 Alex Balashov <abalashov at evaristesys.com>:
>   
>> Iñaki Baz Castillo wrote:
>>     
>>> 2009/9/17 Alex Balashov <abalashov at evaristesys.com>:
>>>       
>>>> insert_hf()
>>>>         
>>> But that is just for request, not for responses...
>>> There is some function in tm module to add headers in responses (AFAIR).
>>>
>>>       
>> That's not true, AFAIK:
>>
>>   http://www.opensips.org/html/docs/modules/1.5.x/textops.html#id271292
>>
>> "This function [insert_hf] can be used from REQUEST_ROUTE,
>> ONREPLY_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE. "
>>     
>
> Ops, great!
>   
probably you confused with append_to_reply() (from textops) which adds a 
header to the future localy-generated replies to the currently processed 
request.

Regards,
Bogdan



More information about the Users mailing list