[OpenSIPS-Users] Virtual Service Activation Codes
Indiver
nehru.indu at gmail.com
Tue Dec 8 21:31:53 CET 2009
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_fwdok at ASTERISK_IP:ASTERISK_PORT");
t_relay();
exit;
and when the user dialing *79 it was just rewriting the uri as
follows
seturi("sip:AN_fwdko at 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 at 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.
More information about the Users
mailing list