Hi Paul,
Try: avp_write("$hdr[call-id]","i:11"); avp_print();
I just gave it a try and worked perfect. Note the feature is present only on development branch.
Best regards, Marian
Java Rockx wrote:
Hi All.
The AVPOPS documentation says that any header can be written to an AVP.
For example
avp_write("$hdr[My-header]","i:11");
This would right the body of the "My-header" header to AVP i:11
But this does not work.
I want to write the Call-ID header to an AVP. How do I do this?
Regards, Paul
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers