[Asterisk-Users] Monitor application and e-mailing attachment

Gonzalo Servat gservat at gmail.com
Sun Jun 4 09:37:17 MST 2006


On 6/4/06, Attilla De Groot <mail at youmeandvoip.nl> wrote:
> Hi all,
>
>
> I'm trying to make a context that will monitor a call and when it's
> completed it would e-mail the wav to a specified mail adres.
>
> So I made a standard context that records a call, like this:
>
> exten => _*31*00[1-9].,1,Setvar(CALLFILENAME=CALL-${EXTEN:4}-$
> {TIMESTAMP})
> exten => _*31*00[1-9].,2,Monitor(wav,${CALLFILENAME},m})
[..snip..]

Not sure if this is the problem or if you made a typo when sending the
list email, but you seem to have put an extra } by accident:

exten => _*31*00[1-9].,2,Monitor(wav,${CALLFILENAME},m})

.. should be:

exten => _*31*00[1-9].,2,Monitor(wav,${CALLFILENAME},m)

Regards,
Gonzalo



More information about the asterisk-users mailing list