[OpenSIPS-Users] need some help using opensips 3.0 cluster module .
Liviu Chircu
liviu at opensips.org
Thu Jul 4 07:40:26 EDT 2019
Hey Sasmita,
I had a similar problem yesterday. In 3.0, fetch_event_params() was
removed, and you are
simply supposed to access your params via:
$param(cluster_id), $param(src_id), $param(rcv_msg) and $param(rcv_tag)
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 04.07.2019 14:22, Sasmita Panda wrote:
> Hi All ,
>
> 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 .
>
> 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 .
>
> Now I am facing problem in bellow lines .
>
> event_route[E_CLUSTERER_RPL_RECEIVED]{
> fetch_event_params("$avp(cluster_id);$avp(src_id);$avp(rcv_msg);$avp(rcv_tag)");
> $avp(state) = $(avp(rcv_msg){s.select,0,:});
> $avp(user) = $(avp(rcv_msg){s.select,1,:});
> $avp(proxy) = $(avp(rcv_msg){s.select,2,:});
> xlog("L_INFO","[CLUSTER-TALK] Replying Proxy:$avp(proxy) User:
> $avp(user) State: $avp(state) ClusterId: $avp(cluster_id) TAG:
> $avp(rcv_tag) \n");
> }
>
> 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 .
>
>
>
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Senior Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190704/2417e9f9/attachment-0001.html>
More information about the Users
mailing list