Page 1 of 1

Recording Filename

PostPosted: Fri Dec 05, 2008 4:17 pm
by enjay
Interesting issue, the recording filename is not adhering to what is defined in the campaign, instead it is using the channel information

filename should be FULLDATE_CUSTPHONE however the recording name is actually coming out as "1228511118-Local-58600194@default-705d,1-in.wav"

some CLI output

Code: Select all
    -- Executing [8365@default:1] Playback("Local/916026638055@default-cadc,1", "sip-silence") in new stack
    -- <Local/916026638055@default-cadc,1> Playing 'sip-silence' (language 'en')
  == Spawn extension (default, 916026638055, 2) exited non-zero on 'Local/916026638055@default-cadc,2'
    -- Executing [h@default:1] DeadAGI("Local/916026638055@default-cadc,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----12-----0)") in new stack
    -- Executing [8365@default:2] AGI("IAX2/cvox-16384", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----12-----0) completed, returning 0
    -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing [8365@default:3] AGI("IAX2/cvox-16384", "agi-VDAD_ALL_outbound.agi|NORMAL-----SO") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
    -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
    -- Executing [8600194@default:1] MeetMe("IAX2/cvox-16384", "8600194|F") in new stack
  == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing [58600194@default:1] MeetMe("Local/58600194@default-774b,2", "8600194|Fmq") in new stack
       > Channel Local/58600194@default-774b,1 was answered.
    -- Executing [8309@default:1] Answer("Local/58600194@default-774b,1", "") in new stack
    -- Executing [8309@default:2] Monitor("Local/58600194@default-774b,1", "wav|") in new stack
    -- Executing [8309@default:3] Wait("Local/58600194@default-774b,1", "3600") in new stack
  == Manager 'sendcron' logged off from 127.0.0.1

PostPosted: Fri Dec 05, 2008 5:15 pm
by rajiv_kuin
if you are trying with asterisk 1.4 you might face this problem, as many keywords and variable have changed... but it fixable as we are running it with 1.4 and had to change few variable names to make recordings work..

PostPosted: Mon Dec 08, 2008 1:03 pm
by mflorell
exten 8309 and 8310 in the dialplan use different CallerID variable names.

Take a look at the extensions.conf.sample-1.4 file for more info.

PostPosted: Mon Dec 08, 2008 7:15 pm
by enjay
Hmm that makes perfect sense, not sure why I wasnt paying attention to that. I will give it a shot, Im sure thats what the issues was..