[Serusers] AVPOPS - How do I to write Call-ID to an AVP???

Java Rockx javarockx at gmail.com
Tue Mar 22 21:17:20 CET 2005


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




More information about the sr-users mailing list