Hola a todos!<br><br>Actualmente me encuentro configurando mi Openser y quiero direccionar las llamadas de acuerdo a mi número de origen (al campo From), estuve leyendo por ahí y vi que se podía hacer con el módulo AVPOPS, pero al configurarle los parámetros, me arroja un error.
<br><br><span style="color: rgb(255, 0, 0);">"ERROR: add_avp_galias_str <$fu> set module parameter"</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">"Can`t set module parameter"
</span><br><br>Lo que hice fue lo siguiente: <br><span style="color: rgb(51, 51, 255);">...</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">loadmodule "avpops.so" </span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">...</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam("avpops", "avp_url", "mysql://openser:openserrw@161.xxx.xxx.xxx
/openser")</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam("avpops", "avp_table", "usr_preferences")</span><br style="color: rgb(51, 51, 255);">
<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam("avpops","avp_aliases","email=s:email_addr;fwd=i:753;$Tf=s:time;$from=$fu")</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">modparam("avpops","uuid_column","uuid")</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam("avpops","username_column","username")
</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam("avpops","domain_column","domain")</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
modparam("avpops","attribute_column","attribute")</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam("avpops","value_column","value")
</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam("avpops","type_column","type</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
...</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">if (method == "INVITE"){</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);"> route(3);</span>
<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">exit;</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">};</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
...</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">route[3]{</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);"> if (avp_check("s:0001sip:0001@.*"eq/$from/I)) {
</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">exit;</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">};<br><br><span style="color: rgb(0, 0, 0);">Me falta algo? o estoy colocando mal alguna línea?
<br><br>Muchas Gracias por la ayuda que puedan brindar<br></span><br><span style="color: rgb(0, 0, 0);"></span><br style="color: rgb(51, 51, 255);"></span><br><br><br><br>