Thank you for the reply.

exten => 1,1,SetVar(CALLFILENAME=${CALLERIDNUM})
exten => 1,2,SetVar(CALLTIME=${DATETIME})
exten => 1,3,SetVar(CALLPATH=/var/calls)
exten => 1,4,Monitor(wav,${CALLPATH}/${CALLTIME}-${CALLFILENAME},m)

? exten => 1,5,DIAL(SIP/something,15,t) - do I need to change SIP/something

exten => 1,6,StopMonitor

? exten => 1,7,Voicemail(u804) - what does u804 stand for or do

exten => 1,8,Hangup
exten => 1,102,StopMonitor

? exten => 1,103,VoiceMail(b804) -

exten => 1,104,Hangup

Would I also change 
exten => 1,... to reflect the extention # if I am not using 1 as an
extension ie. Exten=> 7726259 or 

Do I put the above in the [ext-local] after each exten or does it get placed
in the 

[ext-local]
include => ext-local-custom
exten => 7726257,1,Macro(exten-vm,[EMAIL PROTECTED],7726257)
exten => 7726258,1,Macro(exten-vm,[EMAIL PROTECTED],7726258)
exten => 7726259,1,Macro(exten-vm,[EMAIL PROTECTED],7726259)
exten => 9873022,1,Macro(exten-vm,[EMAIL PROTECTED],9873022)
exten => 9873023,1,Macro(exten-vm,novm,9873023)

or in the 

[aa_1]
include => aa_1-custom
exten => 1,1,Goto(ext-local,7726258,1)  ; 
exten => 2,1,Goto(ext-local,7726259,1)  ; 
exten => 3,1,Goto(ext-local,7726257,1)  ; 
exten => fax,1,Goto(ext-fax,in_fax,1)   ;
- snip - 

Thankyou in return.




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kyle Hagan
Sent: Monday, April 11, 2005 8:36 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Monitor with [EMAIL PROTECTED]

You have to put the monitor after the person presses their selection.

This is how ours is:
exten => s,1,answer
exten => s,2,SetCIDName('PMG')
exten => s,3,SetVar(company=PMG)
exten => s,4,Wait(1)
exten => s,5,DigitTimeout,5
exten => s,6,ResponseTimeout,40
exten => s,7,Background(/var/lib/asterisk/sounds/greetings/pmg)
exten => s,8,Background(greetings/dial)


exten => 1,1,SetVar(CALLFILENAME=${CALLERIDNUM})
exten => 1,2,SetVar(CALLTIME=${DATETIME})
exten => 1,3,SetVar(CALLPATH=/var/calls)
exten => 1,4,Monitor(wav,${CALLPATH}/${CALLTIME}-${CALLFILENAME},m)
exten => 1,5,DIAL(SIP/something,15,t)
exten => 1,6,StopMonitor
exten => 1,7,Voicemail(u804)
exten => 1,8,Hangup
exten => 1,102,StopMonitor
exten => 1,103,VoiceMail(b804)
exten => 1,104,Hangup

Kyle

mr. barker wrote:

> I am sure that this was answered somewhere but my lack of being able 
> to find an answer using google I turn to the pros.
>
>  
>
> What would be the easist way to record all conversations using Monitor 
> command with the latest [EMAIL PROTECTED] ?
>
> Using a FXO card with SIP extensions
>
>  
>
> I have tried adding the following in the extensions_additional.conf 
> but I am not getting a file generated in the 
> /var/spool/asterisk/monitor directory or anywhere else.
>
> Help would be muchly appreciated.
>
>  
>
> Thanks for helping the newbiein return.
>
>  
>
> exten => s,7,Monitor(wav,${TIMESTAMP}-${CALLERIDNUM}-${MACRO_EXTEN})
>
>  
>
>  
>
> [aa_1]
>
> include => aa_1-custom
>
> exten => 1,1,Goto(ext-local,7726258,1)   ;
>
> exten => 2,1,Goto(ext-local,7726259,1)   ;
>
> exten => 3,1,Goto(ext-local,7726257,1)   ;
>
> exten => fax,1,Goto(ext-fax,in_fax,1)       ;
>
> exten => h,1,Hangup()    ;
>
> exten => i,1,Playback(invalid)     ;
>
> exten => i,2,Goto(s,7)    ;
>
> include => ext-local
>
> include => app-messagecenter
>
> include => app-directory
>
> exten => s,1,GotoIf($[${DIALSTATUS} = ANSWER]?4)     ;
>
> exten => s,2,Answer()    ;
>
> exten => s,3,Wait(1)      ;
>
> exten => s,4,SetVar(DIR-CONTEXT=default)        ;
>
> exten => s,5,DigitTimeout(3)       ; Select
>
> exten => s,6,ResponseTimeout(7)           ;
>
> exten => s,7,Monitor(wav,${TIMESTAMP}-${CALLERIDNUM}-${MACRO_EXTEN})
>
> exten => s,8,Background(custom/aa_1)   ; Press 1 for Peter Press 2 for 
> Paula Press 3 for the Kids
>
>  
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to