[Serusers] RV: [Serdev] Parse Referred-By
Andreas Granig
andreas.granig at inode.info
Wed Oct 19 22:02:03 CEST 2005
Ing. Francisco Talavera wrote:
> I need send to other Process the Referred_By header field in the Invite
> Method. How can I do this?
>
> I read the Parser (parser/hf.h) directory but it can not parse this header
> field.
You only need to parse the header field if you want to load parts of it
into avp or use them in other code parts of SER. In newer versions of
SER (don't know exactly from which version upwards) you can also load
the content of the header into avp using the avpops module.
If you just want to pass it to a script called by exec_dset() or
exec_msg(), you can access any header field using the environment
variable SIP_HF_<header-name>.
So I'm not sure if it's really needed to touch the parser unless you
tell us how exactly you plan to use it.
Andy
More information about the sr-users
mailing list