[OpenSIPS-Users] Virtual Service Activation Codes

opensipslist at encambio.com opensipslist at encambio.com
Wed Dec 9 14:36:44 CET 2009


Hello,

On tues., dec  09, 2009, Bogdan-Andrei Iancu wrote:
>in a similar manner, when a user receives a call (somewhere before doing 
>lookup(location) for the user ), you need to check a group to see if the 
>user has (or not) the DND activated. If it is on, you can to redirect to 
>VM or return busy indication.
>
>> 		#identify the services and translate to Asterisk extensions
>> 		if ($rU=="*78") {
>> 			#ENABLE DND
>> 			seturi("sip:AN_fwdok at Asterisk IP:5060");
>> 		}
>>
That doesn't set any flag, ACL, or 'group', it just passes the
transaction to the PBX. Is it safe to assume that in just after
'#ENABLE DND' there should be a call to some OpenSIPS module to set
an ACL?

Brian



More information about the Users mailing list