System Recordings Issue with wav files

Discussion in 'General' started by jgrimaldos, Feb 1, 2011.

  1. jgrimaldos

    Joined:
    Dec 9, 2010
    Messages:
    14
    Likes Received:
    0
    Hi, I'm having a really weird issue with my Elastix install.

    I'm on Elastix 2.0.0, running on a VM.

    System Recordings is doing this: If I want to make the recording from my extensions it works fine, the ext-recording.wav file is created while the extension is recording but as soon as I hang up, the recording gets deleted. :S

    Here's what asterisk -rvv spits:

    Code:
    Connected to Asterisk 1.6.2.13 currently running on elastixvm (pid = 3608)
    Verbosity is at least 4
      == Using SIP RTP TOS bits 184
      == Using SIP RTP CoS mark 5
        -- Executing [*77@from-internal:1] Macro("SIP/1002-00000108", "user-callerid,") in new stack
        -- Executing [s@macro-user-callerid:1] Set("SIP/1002-00000108", "AMPUSER=1002") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("SIP/1002-00000108", "0?report") in new stack
        -- Executing [s@macro-user-callerid:3] ExecIf("SIP/1002-00000108", "1?Set(REALCALLERIDNUM=1002)") in new stack
        -- Executing [s@macro-user-callerid:4] Set("SIP/1002-00000108", "AMPUSER=1002") in new stack
        -- Executing [s@macro-user-callerid:5] Set("SIP/1002-00000108", "AMPUSERCIDNAME=JORGE GRIMALDOS") in new stack
        -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1002-00000108", "0?report") in new stack
        -- Executing [s@macro-user-callerid:7] Set("SIP/1002-00000108", "AMPUSERCID=1002") in new stack
        -- Executing [s@macro-user-callerid:8] Set("SIP/1002-00000108", "CALLERID(all)="JORGE GRIMALDOS" <1002>") in new stack
        -- Executing [s@macro-user-callerid:9] ExecIf("SIP/1002-00000108", "0?Set(CHANNEL(language)=)") in new stack
        -- Executing [s@macro-user-callerid:10] GotoIf("SIP/1002-00000108", "0?continue") in new stack
        -- Executing [s@macro-user-callerid:11] Set("SIP/1002-00000108", "__TTL=64") in new stack
        -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1002-00000108", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,19)
        -- Executing [s@macro-user-callerid:19] NoOp("SIP/1002-00000108", "Using CallerID "JORGE GRIMALDOS" <1002>") in new stack
        -- Executing [*77@from-internal:2] Wait("SIP/1002-00000108", "2") in new stack
        -- Executing [*77@from-internal:3] Macro("SIP/1002-00000108", "systemrecording,dorecord") in new stack
        -- Executing [s@macro-systemrecording:1] Set("SIP/1002-00000108", "RECFILE=/var/spool/asterisk/tmp/1002-ivrrecording") in new stack
        -- Executing [s@macro-systemrecording:2] ExecIf("SIP/1002-00000108", "0?Authenticate()") in new stack
        -- Executing [s@macro-systemrecording:3] Goto("SIP/1002-00000108", "dorecord,1") in new stack
        -- Goto (macro-systemrecording,dorecord,1)
        -- Executing [dorecord@macro-systemrecording:1] System("SIP/1002-00000108", "rm /var/lib/asterisk/sounds//var/spool/asterisk/tmp/1002-ivrrecording.*") in new stack
        -- Executing [dorecord@macro-systemrecording:2] Record("SIP/1002-00000108", "/var/spool/asterisk/tmp/1002-ivrrecording:wav") in new stack
        -- <SIP/1002-00000108> Playing 'beep.gsm' (language 'en')
      == Spawn extension (macro-systemrecording, dorecord, 2) exited non-zero on 'SIP/1002-00000108' in macro 'systemrecording'
      == Spawn extension (from-internal, *77, 3) exited non-zero on 'SIP/1002-00000108'
        -- Executing [h@from-internal:1] Macro("SIP/1002-00000108", "hangupcall") in new stack
        -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1002-00000108", "1?noautomon") in new stack
        -- Goto (macro-hangupcall,s,3)
        -- Executing [s@macro-hangupcall:3] NoOp("SIP/1002-00000108", "TOUCH_MONITOR_OUTPUT=") in new stack
        -- Executing [s@macro-hangupcall:4] GotoIf("SIP/1002-00000108", "1?skiprg") in new stack
        -- Goto (macro-hangupcall,s,7)
        -- Executing [s@macro-hangupcall:7] GotoIf("SIP/1002-00000108", "1?skipblkvm") in new stack
        -- Goto (macro-hangupcall,s,10)
        -- Executing [s@macro-hangupcall:10] GotoIf("SIP/1002-00000108", "1?theend") in new stack
        -- Goto (macro-hangupcall,s,12)
        -- Executing [s@macro-hangupcall:12] Hangup("SIP/1002-00000108", "") in new stack
      == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/1002-00000108' in macro 'hangupcall'
      == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1002-00000108'
    elastixvm*CLI>
    
    I can't see why the recording is deleted after hangup, the folder permissions are ok (I wouldn't see the file while the recording is being done on /var/spool/asterisk/tmp if there was a folder permission error).

    Anyway, I copied one of those files (while recording) and copied it to the folder after hangup and I was able to upload it with the interface... however, when trying to use it on an IVR, it plays nothing... I doubt that it is a wav format issue, as the file WAS created via Elastix.

    Anyone has seen something similar or has an idea of what to do?
     
  2. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    cant repeat that scenario...recording works great in my testbed systems...with always and by demand options
    did you look in bug tracker for any bug regarding to your version of elastix...
    2.00 is quite old and the actual version is 2.0.4 as in this menu
    Name Package Name Version Release
    Kernel
    Linux(i386) 2.6.18 194.32.1.el5
    Name Package Name Version Release
    Elastix
    elastix 2.0.4 7
    elastix-sugarcrm-addon 5.2.0l 5
    elastix-redfone 2.0.0 2
    elastix-addons 2.0.4 2
    elastix-email_admin 2.0.4 2
    elastix-developer 2.0.4 1
    elastix-pbx 2.0.4 9
    elastix-asterisk-sounds 1.2.3 1
    elastix-vtigercrm 5.1.0 8
    elastix-a2billing 1.8.1 11beta
    elastix-distributed_dialplan 2.0.4 1
    elastix-reports 2.0.4 1
    elastix-rear 1.7.23 2.1.0
    elastix-conferenceroom 0.0.0 10
    elastix-callcenter 2.0.0 12
    elastix-firstboot 2.0.4 1
    elastix-my_extension 2.0.4 3
    elastix-fax 2.0.4 2
    elastix-system 2.0.4 4
    elastix-agenda 2.0.4 3
    Name Package Name Version Release
    RounCubeMail
    RoundCubeMail 0.3.1 7
    Name Package Name Version Release
    Mail
    postfix 2.3.3 2.1.el5_2
    cyrus-imapd 2.3.7 7.el5_4.3
    Name Package Name Version Release
    IM
    openfire 3.5.1 2
    Name Package Name Version Release
    FreePBX
    freePBX 2.7.0 8
    Name Package Name Version Release
    Asterisk
    asterisk 1.6.2.16.1 0
    asterisk-perl 0.10 2
    asterisk-addons 1.6.2.2 0
    Name Package Name Version Release
    FAX
    hylafax 4.3.9 0rhel5
    iaxmodem 1.2.0 1.1
    Name Package Name Version Release
    DRIVERS
    dahdi 2.4.0 1
    rhino 0.99.4 0.rc1
    wanpipe-util 3.5.18 1
     
  3. jgrimaldos

    Joined:
    Dec 9, 2010
    Messages:
    14
    Likes Received:
    0
    This is what I got after running yum update.

    Code:
    Kernel
       Linux(i386)-2.6.18-194.3.1.el5
    
     Elastix
       elastix-2.0.0-58
       elastix-firstboot-2.0.0-14
       elastix-email_admin-2.0.0-23
       elastix-system-2.0.0-38
       elastix-sugarcrm-addon-5.2.0l-5
       elastix-asterisk-sounds-1.2.3-1
       elastix-vtigercrm-5.1.0-8
       elastix-agenda-2.0.0-24
       elastix-fax-2.0.0-18
       elastix-reports-2.0.0-20
       elastix-conferenceroom-0.0.0-10
       elastix-pbx-2.0.0-41
       elastix-a2billing-1.3.0-4
       elastix-addons-2.0.0-19
       elastix-callcenter-2.0.0-12
    
     RounCubeMail
       RoundCubeMail-0.3.1-5
    
     Mail
       postfix-2.3.3-2.1.el5_2
       cyrus-imapd-2.3.7-7.el5_4.3
    
     IM
       openfire-3.5.1-2
    
     FreePBX
       freePBX-2.7.0-9
    
     Asterisk
       asterisk-1.6.2.13-0
       asterisk-perl-0.10-2
       asterisk-addons-1.6.2.1-0
    
     FAX
       hylafax-4.3.9-0rhel5
       iaxmodem-1.2.0-1.1
    
     DRIVERS
       dahdi-2.3.0.1-3
       rhino-0.99.3-2.beta2
       wanpipe-util-3.5.14-0
    How can I upgrade to your suggested version, instead?
     
  4. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    After you have recorded a message using *77, you must press # (before you hangup), that is the normal procedure for the Record Application.
    If you have done this correctly, then you can hear it with *99, and if you like that recording, just place the name and hit the save button.
    I assume that you are trying with *77 because you are on the System Recording submenu
     

Share This Page