[OpenSIPS-Users] Virtual Service Activation Codes

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Dec 9 18:18:52 CET 2009


Just to be sure we speak the same language :) - when you dial *78, what 
should happen on the service side ?

Regards,
Bogdan

opensipslist at encambio.com wrote:
> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list