Print an xlog there, I think it's not hitting this condition !
On Wed, Sep 28, 2011 at 1:26 AM, Sven Schulz <[email protected]> wrote:
> Lets say for example, another SIP server sends my opensips server a
> header “P-Hint: 3”.
> I would like to extract the value (3) from that header (P-Hint:) and assign
> it to an AVP.
> How do I do this?
>
> I tried this but it doesn’t seem to work:
>
> if (is_present_hf("P-Hint")) {
> $avp(i:20)=$(hdr(P-Hint));
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users