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
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
Thanks!
But development branch -- are you refering to the CVS HEAD branch only?
Regards, Paul
On Tue, 22 Mar 2005 21:28:13 +0100, Marian Dumitru marian.dumitru@voice-sistem.ro wrote:
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
-- Voice System http://www.voice-system.ro
Java Rockx wrote:
Thanks!
But development branch -- are you refering to the CVS HEAD branch only?
Exactly.
Regards, Marian
Regards, Paul
On Tue, 22 Mar 2005 21:28:13 +0100, Marian Dumitru marian.dumitru@voice-sistem.ro wrote:
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
-- Voice System http://www.voice-system.ro