[Asterisk-Users] Monitor entry not working... please help

jeffs at speakeasy.net jeffs at speakeasy.net
Sat Dec 18 10:31:12 MST 2004


Hello, and I'm glad to be a member of this list.  Perhaps an enlighted 
person can help me.

An entry in my extensions.conf has:

[macro-stdexten]
exten => s,1,Dial(${ARG1},20)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-ANSWER,1,Wait(1)
exten => s-ANSWER,2,Monitor(wav,record)
exten => s-NOANSWER,1,Voicemail(u${MACRO_EXTEN})
exten => s-NOANSWER,2,Goto(default,s,1)
exten => s-BUSY,1,Voicemail(b${MACRO_EXTEN})
exten => s-BUSY,2,Goto(default,s,1)
exten => s-.,1,Goto(s-NOANSWER,1)
exten => a,1,VoicemailMain(${MACRO_EXTEN})

for the purpose of recording a conversation if the line is answered with 
this:
exten=>s-ANSWER,1,Wait(1)
exten=>s-ANSWER,2,Monitor,2,(wav,record)

all the other entries in the content work but not this one.  Can anyone 
see why?  Or, if there is another method for only recording a conversation 
once the line is picked up, that woudl be helpful, too.

Thanks in advance,

B





More information about the asterisk-users mailing list