[Asterisk-Users] Record() cut off after 40 sec

Carlos Gabriel Drach gabriel.drach at gmail.com
Mon Feb 7 13:40:06 MST 2005


On Mon, 07 Feb 2005 13:54:13 -0600, Steven Critchfield
<critch at basesys.com> wrote:
> On Mon, 2005-02-07 at 16:45 -0300, Carlos Gabriel Drach wrote:
> > Hi,
> >
> > i am recording a message, but it is always cut off at 40 secs.
> > There are no time out configured.
> 
> Care to provide more relevant details such as console output when record
> ends, trimmed down section of your extensions.conf, explanation of what
> technology you use to connect to asterisk for record?
> --
> Steven Critchfield <critch at basesys.com>
> 
> 

Here i put more info from console

    -- Executing Record("Local/541141091828 at callout-5eb4,1",
"/var/spool/asterisk/message532:WAV|0|0|skip") in new stack
    -- Playing 'beep' (language 'en')
    -- Hungup 'IAX2/voiptalk/1'
  == Spawn extension (callout, 541141091828, 2) exited non-zero on
'Local/541141091828 at callout-5eb4,2'
    -- Executing Hangup("Local/541141091828 at callout-5eb4,2", "") in new stack
  == Spawn extension (callout, h, 1) exited non-zero on
'Local/541141091828 at callout-5eb4,2'
  == Spawn extension (mail2speak, 9532, 5) exited non-zero on
'Local/541141091828 at callout-5eb4,1'
    -- Executing Hangup("Local/541141091828 at callout-5eb4,1", "") in new stack

from extensions.conf:

exten => _N.,1,AbsoluteTimeout,330
exten => _N.,2,Setvar(VOICEMAILREQ=${EXTEN})
exten => _N.,3,Background(record)
exten => _N.,4,Playtones(record)
exten => _N.,5,Record(/var/spool/asterisk/message${VOICEMAILREQ:1}:WAV,0,0,skip)
exten => _N.,6,Wait,2
exten => _N.,7,Background(confirm)
exten => _N.,8,Background(silen)

exten => 1,1,Background(adio)
exten => 1,2,Hangup

exten => h,1,Hangup

exten => t,1,Goto(CDR,s,1)
exten => T,1,NoOp
exten => T,2,Goto(CDR,s,1)


-- 
The educated person is not the person who can answer the questions but
the person who can question the answer.



More information about the asterisk-users mailing list