<div dir="ltr"><div>Hello,</div><div><br></div><div>A question on Kamailio variables and using dispatcher:</div><div><br></div><div>When in failure_route I want to know if the request message was going to a dispatcher ip or a sip client ip (as in any other than dispatcher ip), how do I make an if statement for that? </div>
<div><br></div><div>If I use ds_is_from_list(), I get wrong results because in both cases the request was sent by Kamailio. Also, I don't seem to be able to get the source ip of the 4xx message (src_ip shows the source ip of the request message).</div>
<div><br></div><div>cheers,</div><div>Olli</div></div>