<div dir="ltr">Hi all,<div>I want to forward call to client C when client A calls client B in a specified time, example: after 17h30........specified time is optional.</div><div>I implement as Building Telephony Systems with OpenSIPS 1.6 but not work (when client A calls client B, it&#39;s not forwarding to client C).</div>
<div><br></div><div>My opensips_residential.cfg:</div><div><div><div>#### AVP module</div><div>loadmodule &quot;avpops.so&quot;</div><div>modparam(&quot;avpops&quot;, &quot;db_url&quot;, &quot;mysql://opensips:opensipsrw@localhost/opensips&quot;) # CUSTOMIZE ME</div>
<div>modparam(&quot;avpops&quot;, &quot;avp_table&quot;, &quot;usr_preferences&quot;)</div></div><div><br></div><div><br></div><div># apply DB based aliases</div><div>alias_db_lookup(&quot;dbaliases&quot;);</div><div> # apply blind forward<br>
</div><div>if(avp_db_load(&quot;$ru&quot;,&quot;$avp(callfwd)&quot;)) {</div><div>       $ru = $avp(callfwd);</div><div>       xlog(&quot;forwarded to: $avp(callfwd)&quot;);</div><div>       route(relay);</div><div>       exit;</div>
<div>}</div></div><div><br></div><div>After that, I create AVP by using command:</div><div>./opensipsctl avp add -T usr_preferences clientB callfwd 0 sip:clientC@my_opensips_proxy<br></div><div>And restart OpenSIPs server.</div>
<div><br></div><div>But when I test, it doesn&#39;t work. I&#39;m using OpenSIPs 1.9.1 and I don&#39;t know why it doesn&#39;t work. Can you suggest some solutions or examples for configuring like this?</div><div><br></div>
<div>Thank you so much and sorry for my bad english.</div></div>