Hi Bodgan,

For Virtual service activation codes, as per my observation when ever user
dials *78 u just redirecting to asterisk as follows:
if ($rU=~"^\*[1-9]+") {
                # we do provide access to media services only to our
                # subscribers, who were previously authenticated 
                if (!is_from_local()) {
                        send_reply("403","Forbidden access to media service");
                        exit;
                }
                #identify the services and translate to Asterisk extensions
                if ($rU=="*78") {
                        # access to own voicemail IVR
                        seturi("sip:an_fw...@asterisk_ip:ASTERISK_PORT");
                         t_relay();
                        exit;
            and when the user dialing *79 it was just rewriting the uri as
follows
                        
           seturi("sip:an_fw...@asterisk_ip:ASTERISK_PORT");
           t_relay();
           exit;

Is my assumption is right?Thanks in advance




Bogdan-Andrei Iancu wrote:
> 
> Hi Indiver,
> 
> the Activation Codes service is pure scripting - it is not a module in 
> opensips. Most of the VoIP features you can do with OpenSIPS are not 
> necessarily provided by module (directly by C code), but rather via 
> scripting logic (combination of different ops in the opensips script).
> 
> Regards,
> Bogdan
> 
> Indiver wrote:
>> Hi Every One,
>>
>> I registered in opensips voip services site. I found a tab regarding
>> dialing
>> plan. such as *78 for enable dnd,*72 for setting to permanent
>> redirect,*50
>> for voicemail inbox. I found no documentation in opensips regarding these
>> services. Is there a way for acheiving this thru opensips. Thanks in
>> advance.
>>   
> 
> 
> -- 
> Bogdan-Andrei Iancu
> www.voice-system.ro
> 
> 
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Virtual-Service-Activation-Codes-tp4063251p4135112.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to