[OpenSIPS-Users] $avp and MESSAGE

Dragomir Haralambiev goup2010 at gmail.com
Tue Jan 1 21:50:45 CET 2013


Hello,

My opensips receive a lot of a same messages.
I try to fix this with follow part of script.
Why not working?

if (is_method("MESSAGE")) {

     if ( $avp(receive_message) == $ci ) {
	xlog("L_ERR",	"I receive already this MESSAGE");
	exit;
     }
     $avp(receive_message) = $ci;
      .............................
}

Regards,
PlayMen



More information about the Users mailing list