<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div><span></span></div><div><span>Hi,</span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>Add them as Attribute and Value(opensipsctl <span class="yshortcuts cs4-visible" id="lw_1350549243_0">avp</span> add ....... ): Add them as two separate AVP. <br></span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>Then load them in your script as AVP (avp_db_load function).<br></span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0,
0);font-size:13.3333px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>// Binan</span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">Från:</span></b> Engineer voip <forvoip4@gmail.com><br> <b><span style="font-weight: bold;">Till:</span></b> Binan AL Halabi <binanalhalabi@yahoo.com>; OpenSIPS users mailling list <users@lists.opensips.org> <br> <b><span style="font-weight: bold;">Skickat:</span></b> torsdag, 18 oktober 2012 10:21<br> <b><span style="font-weight: bold;">Ämne:</span></b> Re: [OpenSIPS-Users] Transfering a call by opensips<br> </font> </div> <br>
<div id="yiv1722966745">Hi,<br><br><span id="yiv1722966745result_box" class="yiv1722966745short_text" lang="en"><span class="yiv1722966745hps">I don't have</span> <span class="yiv1722966745hps">the fields in user_preferences </span> <span class="yiv1722966745hps">table or i add them ?</span></span><br><br>
<div class="yiv1722966745gmail_quote">2012/10/18 Binan AL Halabi <span dir="ltr"><<a rel="nofollow" ymailto="mailto:binanalhalabi@yahoo.com" target="_blank" href="mailto:binanalhalabi@yahoo.com">binanalhalabi@yahoo.com</a>></span><br><blockquote class="yiv1722966745gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-size:10pt;font-family:times new roman, new york, times, serif;">Hi,<br><br>Store in usr_preferences table the time_from and time_to<br>then read them in your script using avpops module <br>Take the hour of the call and compare it to the range you got it from database.<br>
<br>http://www.opensips.org/html/docs/modules/1.7.x/avpops.html<br><br>// Binan <br><br><div><span></span></div><div style="font-family:times new roman, new york, times, serif;font-size:10pt;">
<div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">Från:</span></b> Engineer Voip <<a rel="nofollow" ymailto="mailto:forvoip4@gmail.com" target="_blank" href="mailto:forvoip4@gmail.com">forvoip4@gmail.com</a>><br>
<b><span style="font-weight:bold;">Till:</span></b> <a rel="nofollow" ymailto="mailto:users@lists.opensips.org" target="_blank" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a> <br> <b><span style="font-weight:bold;">Skickat:</span></b> torsdag, 18 oktober 2012 8:53<br>
<b><span style="font-weight:bold;">Ämne:</span></b> [OpenSIPS-Users] Transfering a call by opensips<br> </font> </div><div><div class="yiv1722966745h5"> <br>
Hello all, <br>I want to transfert the call to user C when user A calls user B in interval of time for example: 11h-14h<br>I can do that by asterisk but i prefer to do it by opensips<br>It's possible to do that by opensips?<br>
<br>Cordialement. <br>Envoyé de mon iPhone<br></div></div><div class="yiv1722966745im">_______________________________________________<br>Users mailing list<br><a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br><br><br> </div></div> </div> </div></div><br>_______________________________________________<br>
Users mailing list<br>
<a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><font color="#663300"><font face="comic sans ms,sans-serif"><br><span style="color:rgb(0,0,0);">Best Regards.</span><br></font></font><br><br>
</div><br><br> </div> </div> </div></body></html>