Re: [SR-Users] Change Record Route onreply
for kamailio, rtpengine, asterisk and clients on locahost. Docker is on Linux and Windows. I have configured onreply route, not sure if it is a right way, but looks like it works as I need. if (ds_is_from_list()) { remove_hf("Record-Route"); append_hf("Record-Route: \r\n"); } пн, 10 авг. 2020 г. в 17:25, Alex Balashov : > Why do you want to do this? > > — > Sent from mobile, with due apologies for brevity and errors. > > > On Aug 10, 2020, at 6:35 AM, Aidar Kamalov > wrote: > > > > > > Hello, > > > > I have kamailio with only one interface. Is it possible to set one RR - > lan ip address to INVITEs (to dispatcher list members) and 127.0.0.1 to > replies 200OK (to softphone)? > > I can't use record_route() function in onreply route because: Command > cannot be used in the block. > > > > -- > > Aydar A. Kamalov > > ___ > > 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 > -- Aydar A. Kamalov ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Change Record Route onreply
Why do you want to do this? — Sent from mobile, with due apologies for brevity and errors. > On Aug 10, 2020, at 6:35 AM, Aidar Kamalov wrote: > > > Hello, > > I have kamailio with only one interface. Is it possible to set one RR - lan > ip address to INVITEs (to dispatcher list members) and 127.0.0.1 to replies > 200OK (to softphone)? > I can't use record_route() function in onreply route because: Command cannot > be used in the block. > > -- > Aydar A. Kamalov > ___ > 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
[SR-Users] Change Record Route onreply
Hello, I have kamailio with only one interface. Is it possible to set one RR - lan ip address to INVITEs (to dispatcher list members) and 127.0.0.1 to replies 200OK (to softphone)? I can't use record_route() function in onreply route because: Command cannot be used in the block. -- Aydar A. Kamalov ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users