Recording conference

I could have sworn I had this working properly. I created an extension that will start and stop a recording of a meetme conference as per the docs:

exten => 2060,1,Answer
exten => 2060,2,Wait(1)
exten => 2060,3,Monitor(wav,rec)
exten => 2060,4,Meetme(8100,ps)

It works great if I call in from the xten-xlite sip phone and dial 2060. If I call from a pstn line (we’re using Broadvoice) or if I use xlite and dial 7777 access this extension. I can access conferences no problem.

I see in the log

Sep 12 21:43:28 DEBUG[1854]: Oooh, got something to jump out with (‘2’)!
Sep 12 21:43:28 WARNING[1854]: Invalid extension ‘2’, but no rule ‘i’ in context ‘custom-meetme’

Is it possible to control recording this way?

Well, after messing around I figured it out. Instead of using 2060, I used an existing extension conference and added the above information in the ext-meetme section:

exten => 8104,1,SetVar(CALLFILENAME=${EXTEN:1}-${TIMESTAMP})
exten => 8104,2,Monitor(wav,${CALLFILENAME},m)
exten => 8104,3,MeetMe(8100)

Maybe there is a better way to do this?

[quote=“danns”]Well, after messing around I figured it out. Instead of using 2060, I used an existing extension conference and added the above information in the ext-meetme section:

exten => 8104,1,SetVar(CALLFILENAME=${EXTEN:1}-${TIMESTAMP})
exten => 8104,2,Monitor(wav,${CALLFILENAME},m)
exten => 8104,3,MeetMe(8100)

Maybe there is a better way to do this?[/quote]

Did you get it work? Do you know how to start recording with dialing specific number?

Tomislav