Asterisk OUtbound IVR Recording

Home » Asterisk Users » Asterisk OUtbound IVR Recording
Asterisk Users 3 Comments

HI,
I have a scenario like the following .

A user clicks on the web page . This triggers an outbound call to users
phone number .
Now the user has to leave a message .

What is the best way of doing this ? Do we have any example of such a
dial plan .
Regards
Mahesh

3 thoughts on - Asterisk OUtbound IVR Recording

  • nO ,

    How to make an out bout call and have a dialplan and record the same .

    I got it from the VOIP Wiki .

    Thanks

    Mahesh

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of ext Jayson
    Baker
    Sent: Sunday, October 10, 2010 3:16 AM

    cmd record ?

    On Sat, Oct 9, 2010 at 1:28 AM, Govind, Mahesh (NSN – IN/Bangalore)
    wrote:

    HI,
    I have a scenario like the following .

    A user clicks on the web page . This triggers an outbound call to users
    phone number .
    Now the user has to leave a message .

    What is the best way of doing this ? Do we have any example of such a
    dial plan .
    Regards
    Mahesh

  • _____

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jayson Baker
    Sent: Saturday, October 09, 2010 4:46 PM

    cmd record ?

    On Sat, Oct 9, 2010 at 1:28 AM, Govind, Mahesh (NSN – IN/Bangalore)
    wrote:

    HI,
    I have a scenario like the following .

    A user clicks on the web page . This triggers an outbound call to users
    phone number .
    Now the user has to leave a message .

    What is the best way of doing this ? Do we have any example of such a
    dial plan .
    Regards
    Mahesh

    This is a simple context that plays “static” messages welcome, important and
    calllater. It plays a “passed” message as well. To use as you want, just
    replace Background(${Data}) with Record(${Data}.gsm). Lines 3-4 incorporate
    a wait if the call isn’t a SIP line because DAHDI has a 3-7 second delay on
    Answer (worse if calling a cell phone).

    [accept]

    exten => s,1,Answer

    exten => s,n,Set(IVRTRY=0)

    exten => s,n,Gotoif($[“${EXTEN}” > “SIP”]?start)

    exten => s,n,Wait(9)

    exten => s,n(start),Background(welcome)

    exten => s,n,Background(important)

    exten => s,n,WaitExten(5,m)

    exten => s,n,Set(IVRTRY=$[${IVRTRY} +1])

    exten => s,n,Verbose(Try ${IVRTRY})

    exten => s,n,Gotoif($[“${IVRTRY}” < "4"]?accept|s|start) exten => s,n,Goto(end-call|s|1)

    exten => 1,1,ForkCDR(v,s(fullcmd=${Data}))

    exten => 1,n,Background(${Data})

    exten => 1,n,Background(repeatmsg)

    exten => 1,n,WaitExten(5,m)

    exten => 1,n,Goto(end-call|s|1)

    exten => 2,1,Background(calllater)

    exten => 2,n,ForkCDR(v,s(reject=${Data}))

    exten => 2,n,Goto(end-call|s|1)

    exten => 3,1,Goto(accept|1|2)

    exten => *,1,Goto(accept|s|1)

    exten => i,1,Goto(accept|s|1)

    exten => t,1,Goto(accept|s|1)