[asterisk-biz] how can i play IVR without Answer the call.....

Jared Smith jsmith at digium.com
Wed Nov 18 13:25:28 CST 2009


On Wed, 2009-11-18 at 22:00 +0300, Mian Asif wrote:
> i am facing one issue, i am running one IVR with playback option and
> one IVR with Background option.. but in user site call has been
> connect and user provider charge him, i want to play one IVR file but
> call should not connect customer site, its a simple IVR message that
> user is not registered.

You should probably be asking this on the -users list, but here goes
anyway.  You should pass the "noanswer" option to the Playback
application or the "n" option to the Background application, to tell
them not to answer the call.

exten => 123,1,Progress()
exten => 123,n,Playback(user-is-not-registered,noanswer)
exten => 123,n,Playback(goodbye,noanswer)
exten => 123,n,Hangup()




-- 
Jared Smith
Training Manager
Digium, Inc.




More information about the asterisk-biz mailing list