Can you give me/us the output of the full log (verbose set to 5 please)? Once I hve that, I can probably help you quite quickly, I work with callfile generation often without problem
First, you're trying to copy On Sun, Feb 6, 2011 at 9:36 AM, Gilles <[email protected]> wrote: > On Sat, 05 Feb 2011 12:07:28 +0100, Gilles <[email protected]> > wrote: > >I've seen articles about Call files. Is this the easiest way to solve > >this problem? > > For some reason, Asterisk executes Wait(10), but then hangs up without > running the rest of the commands (cp, echo, mv): > > ========== > [from_fxo] > exten => s,1,Wait(2) > > exten => s,n,Set(SOURCE_CIDNUMBER=${CALLERID(num)}) > exten => s,n,Set(SOURCE_CIDNAME=${CALLERID(name)}) > exten => s,n,NoOp(Call from ${SOURCE_CIDNAME} - ${SOURCE_CIDNUMBER}) > > exten => s,n,GotoIf($["${SOURCE_CIDNUMBER}" = ${GSM}]?goodcid:badcid) > > exten => s,n(goodcid),NoOp(CID OK) > ;how to reliably detect that line is now quiet? > exten => s,n,Wait(10) > > exten => s,n,NoOp(Before cp) > exten => s,n,system(cp /var/spool/asterisk/skelett.call > /var/tmp/skelett.call) > exten => s,n,NoOp(Before echo) > exten => s,n,system(echo 'Channel: ZAP/1/${IPPI}' >> > /var/tmp/skelett.call) > exten => s,n,NoOp(Before mv) > exten => s,n,system(mv /var/tmp/skelett.call > /var/spool/asterisk/outgoing) > > ;exten => s,n,Hangup > > ;Context set in call file > [callback-dialtone-auth] > exten => s,1,NoOp(Call from ${CALLERIS(num)}) > ========== > > FWIW, "show modules" says that pbx_spool.so is loaded. > > Has someone experienced this? > > Thank you. > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
