[asterisk-users] Out Dial Interface for Asterisk

Conrad Wood asterisk-users at conradwood.net
Thu Nov 2 13:55:07 MST 2006


On Thu, 2006-11-02 at 12:31 -0600, Shawn Kelley wrote:
> Hi All,
> I sent this a while back but never received any replies. My deadline is fast
> approaching so I thought I'd throw it out there again in hope of some
> advice. 
> 
> I need the ability to automatically out-dial and play a dynamically
> generated message. I then need the ability for the answering party to give
> feedback via touch tone. 
> 
> I am a .Net Programmer and I have looked at the Asterisk.NET examples, but
> all I see there is creating calls and sending them to system phones, etc. I
> don't see anyway of capturing responses back from the answering party, or
> how to play dynamically generated messages. 
> Does anyone know if this is possible with the Asterisk.NET interface? 
> Or does anyone know of another way to accomplish my needs?
> 

I'd drop a call file into asterisks spool dir:

---- call file begin ---
Channel: Zap/g1/phonenumber
Context: playbackmenu
Extension: main
Priority: 1
---- call file end  ---

in extensions.conf:

[playbackmenu]
exten => main,1,Background(your-announcement)
exten => 1,1,NoOp(User Pressed 1)
exten => 2,1,NoOp(User Pressed 2)
exten => 3,1,NoOp(User Pressed 3)
...


Is that all you need? 


Conrad






More information about the asterisk-users mailing list