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

Java Rockx javarockx at gmail.com
Tue Mar 22 21:29:46 CET 2005


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 at 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 at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
> 
> --
> Voice System
> http://www.voice-system.ro
>




More information about the sr-users mailing list