<div dir="ltr">Does anyone know of a way to cast the eth0 to an avp ? Currently I am having to hard set it every time the route is called like this <div><br>
<div>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">event_route</span><span class="">[E_UL_AOR_DELETE]</span><span class=""> {</span></p>
<p class=""><span class=""> fetch_event_params("aor=</span><span class="">$avp(aor)")</span><span class="">;</span></p>
<p class=""><br></p>
<p class=""><span class=""> $avp(param) =</span><span class=""> "x.x.x.x.x."</span><span class="">;</span></p>
<p class=""><span class=""> $avp(param) =</span><span class=""> $avp(aor)</span><span class="">;</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class=""> raise_event("UL_AOR_DELETE", $avp(param))</span><span class="">;</span><br></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">}</span></p></div></div><div><br></div><div>I need this value when passing an event to rabbitmqueue. I am wrapping the event in order to get the aor being deleted. My intention is to make this script more portable when spinning up a new instance with a different address.</div><div><br></div><div><br></div><div>Thanks,</div><div>Tito</div></div>