[OpenSIPS-Users] R: Re: OPENSIPS + IVR CALL CONTROL
danilo.sm at tin.it
danilo.sm at tin.it
Tue Mar 17 11:26:44 CET 2015
hi all
Sorry for delay
these are my few lines to include in the routing logic to manage OpenSips + Asterisk IVR
On OpenSips Box
if($rU=="<aexten>){
rewriteuri("sip:<aexten>@<asterisk_ip>:<asterisk_port>");
t_relay();
resetflag(IDN); # Reset flag used to get in this subroutine
}
On Asterisk Box
[inbound-context]
include => exten_context
[exten_context]
exten => aexten,1,Answer()
exten => aexten,n,Background(/ivr/ivr_file)
exten => aexten,n,WaitExten(10)
exten => aexten,n,NoOp()
exten => aexten,n,Return()
exten => t,1,Hangup()
exten => 1,1,Dial(SIP/<outbound_trunk>/<called_number>,20)
exten => 2,1,Dial(SIP/<outbound_trunk>/<called_number_2>,20)
Hope this can help
----Messaggio originale----
Da: mail at sathees.co.uk
Data: 14-mar-2015 18.11
A: <users at lists.opensips.org>
Ogg: Re: [OpenSIPS-Users] OPENSIPS + IVR CALL CONTROL
Hello again Danilo,
Thank you for the quick replay.
I have asterisk server running at public IP.
I have to use IVR, Voicemail, on hold message and incoming DDIs. All
incoming DDI send direct to asterisk IP.
Some DDI will play welcome message while phone rings, others will ring
group and after certain time it will go direct to closed message. All these
functions are working with asterisk right now. I’m getting high-level sip
flood attack. Now I’m trying to secure server with OpenSIPS. That’s why if
I see your scripts it will help me understand more. Looking forward to your
email on Monday
Many thanks
sathees
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/OPENSIPS-IVR-CALL-CONTROL-tp7595634p7595890.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150317/03b400e8/attachment.htm>
More information about the Users
mailing list