Record call until callee hangup

Discussion in 'General' started by pejotr, Jun 28, 2010.

  1. pejotr

    Joined:
    Jun 28, 2010
    Messages:
    1
    Likes Received:
    0
    Hi,

    i have a problem in my dialplan with creating function that:
    1. playback a message saying that conversation will be recorded
    2. playback 1 question
    3. record the answear, until callee hangup

    I tried:

    [my-context]
    exten => 100,1,Set(CALLFILENAME=${EXTEN:1}-${STRFTIME(,,NaVM)})
    exten => 100,n,Monitor(wav,${CALLFILENAME},m)
    exten => 100,n,Background(tt-weasels)
    ;exten => 100,n,Playback(tt-weasels)

    But after dialing 100 it hungup just after playing tt-weasels. Please help...
     

Share This Page