search for: trysystem

Displaying 15 results from an estimated 15 matches for "trysystem".

2010 Mar 17
2
Asterisk 1.6.0.5 and app_system FAILED using TRYSYSTEM
Dear All, i have following CLI error while try to run this command from Dialplan *TrySystem("DAHDI/45-1", "asterisk -rx "dialplan add extension 1234111,1,Goto(incomingdundi,s,1) into dundilookup"") in new stack WARNING[32626]: app_system.c:81 system_exec_helper: Unable to execute 'asterisk -rx "dialplan add extension 1234111,1,Goto(incomingdundi,s,...
2009 Feb 12
4
Asterisk Queue and URL Calling
...) Just before Dial I put the following : [macro-stdexten] ; ; Standard extension macro: ; ${ARG1} - Extension (we could have used ${MACRO_EXTEN} here as well ; ${ARG2} - Device(s) to ring ; exten => s,1,Gotoif($[{LEN(${CALLERID(num)})} > 3]?3) exten => s,2,Goto(s,4) exten => s,3,TrySystem(wget -qb -O /dev/null -o /dev/null " http://sugarcrmIP/popup.php?number=${CALLERID(num)}&extension=${ARG1}") exten => s,4,Dial(${ARG2},35,rt) ; Ring the interface, 20 seconds maximum exten => s,5,Goto(s-${DIALSTATUS},1) ; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGEST...
2007 Nov 21
1
[1.4 - Record] How to tell if user did leave a msg?
...re hanging up: ======== exten => _[1-4],n,Playback(/root/asterisk_sound_files/leave_msg) exten => _[1-4],n,Set(CALLTIME=${STRFTIME(${EPOCH},,%d-%b-%Y-%Hh%M)}) ;check if left message : if nothing, script ends there! exten => _[1-4],n,Record(/tmp/${CALLTIME}.wav,3,30) exten => _[1-4],n,TrySystem(mv /tmp/${CALLTIME}.wav /srv/www/lighttpd/asterisk) exten => _[1-4],n,ExecIf($[${SYSTEMSTATUS}!= SUCCESS],Verbose,Failed moving WAV file) exten => _[1-4],n,TrySystem(/root/asterisk/send_call_notification.py "${CALLERIDNAME}" ${CALLERIDNUM} ${SOFTWARE} ${CALLTIME}.wav) exten => _...
2007 Nov 10
2
Record() : How to get filename created with %d?
..._[1-4],n,Set(SOFTWARE=${IF($[${EXTEN}=4]?support)}) exten => _[1-4],n,Verbose(Choice = ${SOFTWARE}) exten => _[1-4],n,Playback(/root/asterisk_sound_files/leave_msg) exten => _[1-4],n,Record(/tmp/msg%d.wav,3,30) ;move wav to lighttpd's htdocs ;How to get filename? exten => _[1-4],n,TrySystem(mv /tmp/msg%d.wav /var/www/asterisk/) ;ExecIf fails running Verbose() exten => _[1-4],n,ExecIf($[ ${SYSTEMSTATUS} != "SUCCESS" ],Verbose,Failed moving WAV file) exten => _[1-4],n,Playback(/root/asterisk_sound_files/bye_bye) exten => _[1-4],n,Hangup() =========== Any idea? Than...
2005 Oct 05
0
Asterisk 1.0.9-BRIstuffed-0.2.0-RC8o memory leak when using call files ?
...(/opt/gucky/test/gap2) exten => s,10,Playback(/opt/gucky/test/${SMID1}${SMID2}${SMID3}-filec) exten => s,11,Hangup ; Hangup during play exten => h,1,GotoIf($["${CHANNEL}" = "OutgoingSpoolFailed"]?4) ; notify callgenerator about successful accepted call exten => h,2,TrySystem(rm -f /opt/gucky/test/pending/${SMID1}${SMID2}${SMID3}*) exten => h,3,TrySystem(/bin/echo > ${CALLGEN_PATH}/done/${SMID1}${SMID2}${SMID3}.SMT) ; do nothing exten => h,4,NoOp(CHANNEL=${CHANNEL}) ; dial attempt failed, have attempt logged as CDR with SM ID, ADC, OADC exten => failed,1,...
2013 Dec 06
1
Paging in waves.
...age(${ARG8},n(${RECORDED_FILE})is),10) same => n,ExecIf($[${ISNULL(${ARG9})}=0]?Page(${ARG9},n(${RECORDED_FILE})is),10) same => n,ExecIf($[${ISNULL(${ARG10})}=0]?Page(${ARG10},n(${RECORDED_FILE})is)10) same => n,Set(MUTEAUDIO(all)=off) same => n,Playback(goodbye) same => n,TrySystem(rm -f /var/lib/asterisk/sounds/${RECORDED_FILE}.gsm) same => n,Hangup ;end sub-masspage The issue I'm having is the Page command is putting the phone that's doing the paging into the meetme bridge it's creating and the dialplan stops at the first Page command. While I was testi...
2007 Sep 03
3
Manager Originate without phone off hook?
I'm trying to keep the DND status of my Snom phones and the astdb in line but I'm stuck on integrating my gui DND button which talks to * using the manager interface (actually it uses Astmanproxy as the gui host is on a different network to asterisk and can't see the Snom's across the network). All's working fine in my Dialplan; when someone dials the code for DND-on or
2005 Mar 07
2
DTMF to Email
I need some suggestions (not necessarily using Asterisk?) on how to accomplish the following in the easiest way possible. I would like to have a ~3 prompt VM system, that would ask for some numbers from a caller (case number, id and another id). It would then take their DTMF presses and format an email to a predetermined address (i.e. the email always goes to the same place). I don't really
2007 Apr 24
5
tone generation
Does asterisk have a way in the dialplan to generate tones? Say I want to play a tone 300Hz for 3 seconds. Can I do that? If not, can I use some system command to generate the wav file then just have asterisk play it? Jerry
2007 Oct 12
4
Other apps checking Day/Night
I'm fairly new to Asterisk, so please bear with me if this is silly question. I'd like to run a script on my server that would take the "Call now to order" banner off my website automatically when I put my phone system on night. I can handle the webserver side of things, but I don't know where to begin on the Asterisk side of things - can a simple script be run to
2007 Feb 25
7
Sending Email From the dialplan
I have looked around with no luck. Does anyone know of a way to send an email from the dialplan. The system that I am working on has none thing to do with VoiceMail. This is something like the SMS command but using sending email I am working on a prepaid alarm dispatch program for Asterisk if anyone has any input please let me know. I will be more than happy to write the code as Open Source
2007 Jul 26
7
Queue stats
Greetings, list! My boss would like some statistics on how many calls are answered out of specific queues during a given time period, and I'm not sure how exactly to obtain those stats. Here's how our queue system works. 1) Call comes in and enters our 'ring' queue where the phones ring for 15 seconds (caller hears the standard ring tone). 2) After 15 seconds, the caller
2005 Feb 18
0
Installing Asterisk on Mandrake 10.1 Official
...lsd.so] => (Strip trailing digits) == Registered application 'StripLSD' [app_substring.so] => ((Deprecated) Save substring digits in a given variable) == Registered application 'SubString' [app_system.so] => (Generic System() application) == Registered application 'TrySystem' == Registered application 'System' [app_talkdetect.so] => (Playback with Talk Detection) == Registered application 'BackgroundDetect' [app_test.so] => (Interface Test Application) == Registered application 'TestClient' == Registered application 'TestServ...
2005 Jun 15
1
app_dial.c:977 dial_exec_full: Unable to create channel of type 'Zap' (cause 0)
...icemail.conf': Found [app_directory.so] => (Extension Directory) == Registered application 'Directory' [app_mp3.so] => (Silly MP3 Application) == Registered application 'MP3Player' [app_system.so] => (Generic System() application) == Registered application 'TrySystem' == Registered application 'System' [app_echo.so] => (Simple Echo Application) == Registered application 'Echo' [app_record.so] => (Trivial Record Application) == Registered application 'Record' [skipping app_image.so] [app_url.so] => (Send URL Applica...
2006 Apr 18
6
Asterisk service crashes
List, The past few days the asterisk service on my server has crashed several times. I have had it running for months and have made no changes to it. When it crashes, I am unable to make calls or gain access to the CLI. The service has been stopped. If I try to start it again (service asterisk start), it will start and run for a few seconds then crash again. After a reboot, it will run