Of course, I added the following lines to original kamailio.cfg file. My aim was to change nexthop or change destination address which comes inside msrp frame. If I could do this, I can send MSRP messages to wherever I wanted. However, It doesn't let me to manipulate the variables inside msrp frame. By doing $msrp(nexthop) = something or using msrp_set_dst function.

#$msrp(nexthop) = ("msrp://192.168.1.100:30000/r02XBu00;tcp");
                #xdbg("============ nexthop after modify\n");
                #xdbg("============ nexthop:  [$msrp(nexthop)]\n");
#msrp_set_dst("msrp://192.168.1.100:30001","tcp:192.168.1.110:64066");
xdbg("============test===========\n");
#$sht(msrp(nexthop))="msrp://192.168.1.100:30001";
$sht(msrp=>$var(sessid)::nexthop) = ("msrp://192.168.1.100:30000/r02XBu00;tcp");
xdbg("============ nexthop: [$msrp(nexthop)]\n");
                xdbg("============checkcontrol\n");
msrp_relay();
msrp_reply("200", "OK");

exit;

Sergey Safarov <s.safarov@gmail.com>, 31 Mar 2020 Sal, 04:26 tarihinde şunu yazdı:
Could you share your minimal config and related logs.
This will be interest for me to look.

On Tue, Mar 31, 2020 at 2:11 PM Sefa Cebe <sefacebe1@gmail.com> wrote:
Hello, 

I'm using Kamailio MSRP module as a MSRP relay, It works successfully when I send one-to-one MSRP messages. I am having trouble while sending msrp messages to multiple receivers. My question is that can I use this module to forward msrp messages not just one receiver, but multiple receivers?  Can this module be used like MSRP switch? 

Thanks in advance.

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users