[SR-Users] Change Record Route onreply

2020-08-10 Thread Aidar Kamalov
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. Kam

Re: [SR-Users] Change Record Route onreply

2020-08-10 Thread 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) an

Re: [SR-Users] Change Record Route onreply

2020-08-10 Thread Aidar Kamalov
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 авг