Hi,
Store in usr_preferences table the time_from and time_to
then read them in your script using avpops module
Take the hour of the call and compare it to the range you got it from database.
http://www.opensips.org/html/docs/modules/1.7.x/avpops.html
// Binan
________________________________
Från: Engineer Voip <[email protected]>
Till: [email protected]
Skickat: torsdag, 18 oktober 2012 8:53
Ämne: [OpenSIPS-Users] Transfering a call by opensips
Hello all,
I want to transfert the call to user C when user A calls user B in interval of
time for example: 11h-14h
I can do that by asterisk but i prefer to do it by opensips
It's possible to do that by opensips?
Cordialement.
Envoyé de mon iPhone
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users