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);">&quot;ERROR: add_avp_galias_str &lt;$fu&gt; set module parameter&quot;</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">&quot;Can`t set module parameter&quot;
</span><br><br>Lo que&nbsp; 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 &quot;avpops.so&quot; </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(&quot;avpops&quot;, &quot;avp_url&quot;, &quot;mysql://openser:openserrw@161.xxx.xxx.xxx
/openser&quot;)</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam(&quot;avpops&quot;, &quot;avp_table&quot;, &quot;usr_preferences&quot;)</span><br style="color: rgb(51, 51, 255);">
<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam(&quot;avpops&quot;,&quot;avp_aliases&quot;,&quot;email=s:email_addr;fwd=i:753;$Tf=s:time;$from=$fu&quot;)</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">modparam(&quot;avpops&quot;,&quot;uuid_column&quot;,&quot;uuid&quot;)</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam(&quot;avpops&quot;,&quot;username_column&quot;,&quot;username&quot;)
</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam(&quot;avpops&quot;,&quot;domain_column&quot;,&quot;domain&quot;)</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">
modparam(&quot;avpops&quot;,&quot;attribute_column&quot;,&quot;attribute&quot;)</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam(&quot;avpops&quot;,&quot;value_column&quot;,&quot;value&quot;)
</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">modparam(&quot;avpops&quot;,&quot;type_column&quot;,&quot;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 == &quot;INVITE&quot;){</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">&nbsp;&nbsp;&nbsp; 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);">&nbsp;&nbsp;&nbsp;&nbsp; if (avp_check(&quot;s:0001sip:0001@.*&quot;eq/$from/I))&nbsp; {
</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>