[asterisk-users] Wait command
Hi I've got a script like this exten = s,1,SetVar(CALLFILENAME=/var/www/recordings/${TIMESTAMP:0:8:7}/${UNIQUEID}) exten = s,2,AGI(recordstart.py,${ARG1},${CALLERIDNUM},${CALLFILENAME},Ind) exten = s,3,DIAL(ZAP/g2/${ARG1},70) exten = s,4,AGI(logerror.py,${ARG1},${CALLERIDNUM},${CHANNEL},${DIALSTATUS},${DATETIME}, ${CAUSECODE}) exten = s,5,hangup exten = s,104,AGI(logerror.py,${ARG1},${CALLERIDNUM},${CHANNEL},${DIALSTATUS},${DATETIME}, ${CAUSECODE}) exten = h,1,stopmonitor exten = h,2,SetVar(CALLFILEDIR=/var/www/recordings/${TIMESTAMP:0:8:7}) exten = h,3,System(/etc/asterisk/agi-bin/filexfer ${CALLFILENAME} ${CALLFILEDIR}) It causes me some problems occausionsly and I want to pause the scipt by wait in 5 s. exten = s,1,SetVar(CALLFILENAME=/var/www/recordings/${TIMESTAMP:0:8:7}/${UNIQUEID}) exten = s,2,AGI(recordstart.py,${ARG1},${CALLERIDNUM},${CALLFILENAME},Ind) exten = s,3,DIAL(ZAP/g2/${ARG1},70) exten = s,4,AGI(logerror.py,${ARG1},${CALLERIDNUM},${CHANNEL},${DIALSTATUS},${DATETIME}, ${CAUSECODE}) exten = s,5,hangup exten = s,104,AGI(logerror.py,${ARG1},${CALLERIDNUM},${CHANNEL},${DIALSTATUS},${DATETIME}, ${CAUSECODE}) exten = h,1,stopmonitor exten = h,2,wait(5) exten = h,3,SetVar(CALLFILEDIR=/var/www/recordings/${TIMESTAMP:0:8:7}) exten = h,4,System(/etc/asterisk/agi-bin/filexfer ${CALLFILENAME} ${CALLFILEDIR}) but it doesn't work h,1 and h,2 is OK, but then it stops, any goood suggetions /RC _ Få 250 MB gratis lagerplads på MSN Hotmail: http://www.hotmail.com ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Upgrading sox
Hi, I'm currently running an * version 1.2.13 and sox version 12.17.5. I want to upgrade sox to the newest release ( 12.18.2 ); need mp3 support. But how do I make the upgrade. Do I need to recompile asterisk afterwards? If I make a sox -h after a reboot I can see the new version is running but is that enough? _ Log på MSN Messenger direkte på nettet http://webmessenger.msn.com/ ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] How to determine which version is running
Hi, Is it possible to see which version of libpri and zaptel that's currently running/loaded for example in the * CLI? _ Få de bedste søgeresultater med MSN Search: http://search.msn.dk ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] wav format isn't compatible with Windows Media Player
Hi, When playing a wav-format (( low compression),(wav49-format?)) file with Windows Media Player, it plays the file and then sometimes bombs out with an error about how the file is corrupt or unsupported. If you listen to the file in wavepad you will hear the whole file, in Media Player the last 2-3 sec. is missing (not played). The file is recorded with monitor function. The problem is reproduceable in Asterisk version 1.2.4 til 1.2.13. Error dialog: Windows Media Player cannot play the file. The file is either corrupt or the Player does not support the format you are trying to play. Clicking on More Information gives 0xC00D1199: Cannot play the file and a fair bit of troubleshooting stuff. _ Del dine store filer uden problemer med MSN Messenger: http://messenger.msn.dk ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users