<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><tt>Hey Sasmita,</tt></p>
<p><tt>I had a similar problem yesterday. In 3.0,
fetch_event_params() was removed, and you are<br>
simply supposed to access your params via:</tt></p>
<p><tt> $param(cluster_id), $param(src_id), $param(rcv_msg) and
$param(rcv_tag)</tt></p>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 04.07.2019 14:22, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALf-Q47bC7giPesc+ACL0fP+jWPGLzwF12Bh18OfgKL9ADpyMg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi All ,
<div><br>
</div>
<div>Previously I have used cluster module with opensips 2.4 and
that was working fine . Now I want to upgrade to opensips 3.0
. And there are lots of parameter get changed in opensips 3.0
.</div>
<div><br>
</div>
<div>Is there any documentation for cluster module in 3.0 . I
need an example for config file which I can use with opensips
3.0 .</div>
<div><br>
</div>
<div>Now I am facing problem in bellow lines .</div>
<div><br>
</div>
<div>event_route[E_CLUSTERER_RPL_RECEIVED]{<br>
fetch_event_params("$avp(cluster_id);$avp(src_id);$avp(rcv_msg);$avp(rcv_tag)");<br>
$avp(state) = $(avp(rcv_msg){s.select,0,:});<br>
$avp(user) = $(avp(rcv_msg){s.select,1,:});<br>
$avp(proxy) = $(avp(rcv_msg){s.select,2,:});<br>
xlog("L_INFO","[CLUSTER-TALK] Replying
Proxy:$avp(proxy) User: $avp(user) State: $avp(state)
ClusterId: $avp(cluster_id) TAG: $avp(rcv_tag) \n");<br>
}</div>
<div><br>
</div>
<div>fetch_event_params this is not present in opensips 3.0 .
How I will convert this so that it will support in opensips
3.0. Please do help me . <br>
<table class="gmail-highlight gmail-tab-size
gmail-js-file-line-container"
style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;border:0px;color:rgb(51,51,51);font-family:SFMono-Regular,Consolas,"Liberation
Mono",Menlo,Courier,monospace;font-size:12px;line-height:1.4;margin:0px;padding:0px;border-collapse:collapse">
<tbody>
<tr>
<td id="gmail-file-opensips-cfg-L5"
class="gmail-blob-num gmail-js-line-number"
style="color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation
Mono",Menlo,Courier,monospace;line-height:20px;min-width:inherit;text-align:right;vertical-align:top;white-space:nowrap;width:7.2px;background:transparent;padding:1px
10px"><br>
<br>
</td>
<td id="gmail-file-opensips-cfg-LC5" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="line-height:20px;vertical-align:top;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;overflow:visible;white-space:pre;background:transparent;border:0px;padding:1px 10px">
</td>
</tr>
</tbody>
</table>
<div>
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software
Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>