Hi,
Add them as Attribute and Value(opensipsctl avp add ....... ): Add them as two 
separate AVP. 

Then load them in your script as AVP (avp_db_load function).


// Binan


________________________________
 Från: Engineer voip <[email protected]>
Till: Binan AL Halabi <[email protected]>; OpenSIPS users mailling list 
<[email protected]> 
Skickat: torsdag, 18 oktober 2012 10:21
Ämne: Re: [OpenSIPS-Users] Transfering a call by opensips
 

Hi,

I don't have the fields in user_preferences  table or i add them ?


2012/10/18 Binan AL Halabi <[email protected]>

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
>
>


-- 

Best Regards.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to