<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's not forwarding to client C).</div>
<div><br></div><div>My opensips_residential.cfg:</div><div><div><div>#### AVP module</div><div>loadmodule "avpops.so"</div><div>modparam("avpops", "db_url", "mysql://opensips:opensipsrw@localhost/opensips") # CUSTOMIZE ME</div>
<div>modparam("avpops", "avp_table", "usr_preferences")</div></div><div><br></div><div><br></div><div># apply DB based aliases</div><div>alias_db_lookup("dbaliases");</div><div> # apply blind forward<br>
</div><div>if(avp_db_load("$ru","$avp(callfwd)")) {</div><div> $ru = $avp(callfwd);</div><div> xlog("forwarded to: $avp(callfwd)");</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't work. I'm using OpenSIPs 1.9.1 and I don't know why it doesn'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>