Hello,
see is_avp_set() from avpops modules:
http://www.openser.org/docs/modules/1.2.x/avpops.html#AEN594
Cheers,
Daniel
PS. please start a new thread on mailing list if you have questions not
related to the subject of the message you reply
On 12/13/06 14:29, Fernando Freitas(Brastel.com.br) wrote:
Hi,
I need to check if an AVP is blank, how can I do it?
This is what I have in my script:
avp_write("tU","$avp(tmp)");
I need to check if the content of this tmp AVP is blank, how to check this??
What I need is to check if the TO Username from SIP URI is blank if so, I
need to push the To URI into the To URI Username.
Thanks,
Fernando
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users