[Serusers] textops module - are the inserted hfs visible after insertion in the same route block?

Miklos Tirpak miklos at iptel.org
Thu Nov 8 14:23:18 CET 2007


On 11/08/2007 01:57 PM, Tomasz Zieleniewski wrote:
> Hi,
> 
> I have the following problem after I insert a partical hf value woth
> the usage of the textops module (insert_attr_hf)
> the is_present_hf function returns negative result.
> is this correct behaviour??

yes, this is the expected result, because insert_attr_hf does not 
immediately insert the HF, it just asks SER core to insert the HF when 
the message is going to be forwarded (it inserts a new lump). Thus, 
is_present_hf does not see the change, because it works with the 
original message. This behaviour is usually true for all the message 
manipulation functions except for those which modify the RURI.

Regards,
Miklos

> 
> Regards
> Tomasz
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers



More information about the sr-users mailing list