similar to: Inconsistent Behavior in SYSTEMSTATUS After System() Call

Displaying 14 results from an estimated 14 matches similar to: "Inconsistent Behavior in SYSTEMSTATUS After System() Call"

2005 Sep 26
0
system() app changed drastically! How do I useit now?
It would be prudent the test for success and continue rather than failure and drop. For example: exten => s,5,GotoIf($["${SYSTEMSTATUS}" != "SUCCESS"]?105:6) That way only the result that you know is good, Will continue a call.. > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On
2009 May 22
1
VOICEMAIL : I've tried a lot but mailing through Asterisk is just not working...
Don't be afraid about the info that I'm going to post in this mail, but I want you to give as much info as possible. Also I want to show you what I've tried. What do I want When a voicemail-message is left via the Voicemail()-application, I want the .wav-file send to my mail-address as an attachment. My mail-setup I'm not using sendmail as MTA. I have msmtp as MTA and mutt as
2005 Sep 26
1
system() app changed drastically! How do I use it now?
We upgraded to the latest version of asterisk (because we needed some newer features), only to find all our PIN applications accepting any number the caller makes up! I traced this to the System application completely changing the way it deals with success or failure of the program it calls. Previously, if the PIN was completely bogus, we exited with -1, which caused asterisk to jump to priority
2010 Apr 08
3
long return times from System() calls with 1.6.2.6?
I've just upgraded to 1.6.2.6 on one of my test systems. I started out happy, with some improvements in transfers to Local() channels from a SIP channel, and much nicer verbose fax handling. However, something is really weird when I need to do System() calls. It was really, really weird. This was also affecting AGI, when I needed to read system variables from asterisk into an AGI Perl script.
2007 Nov 21
1
[1.4 - Record] How to tell if user did leave a msg?
Hello I didn't find the answer in the ATOF 2nd Ed: When using the Record() application, I need to know how it ended: Did the user leave a message, or did he hang up? If the latter, Asterisk stops right there, while I need to run some other commands before hanging up: ======== exten => _[1-4],n,Playback(/root/asterisk_sound_files/leave_msg) exten =>
2005 Sep 26
0
system() app changed drastically! How do I use itnow?
Try the following: exten => s,1,Answer exten => s,2,Wait(1) exten => s,3,Read(PIN,87) exten => s,4,System(/usr/local/bin/pin -c ${PIN}) ; check it exten => s,5,System(/usr/local/bin/pin -d ${PIN}) ; delete it Exten => s,6,GotoIf($[${SYSTEMSTATUS} = FAILURE]?105:7) exten => s,7,SetAccount(${PIN}) exten => s,8,Newt,pinout-config ; connect them exten =>
2001 Dec 01
3
include/exclude ?
All, Could someone please help me resolve this: [admx:test] $ ls ERR01 ah01 ah02 an01 an02 mp01 mp02 [admx:test] $ ls {an,mp,ERR}* ERR01 an01 an02 mp01 mp02 I want to rsync only the "{an,mp,ERR}*" files across using the following command but do not see the expected results. [admx:test] $ rsync -va --exclude="*" --include="{an,mp,ERR}*" ./*
2006 Dec 22
2
System Application with java
Hi, I created a script named example2.sh which goal is read some text from my HP Service Desk using an application in java and send this text to the text2wave application for TTS. example2.sh java -Xbatch Example10 | text2wave -f 8000 -o /var/lib/asterisk/sounds/my-sd.wav When I execute the script in prompt, everything is ok, but when I use the system() command in my extensions.conf it isn?t
2007 Nov 10
2
Record() : How to get filename created with %d?
Hello About Record(), ATFT 2nd Edition says that "if the filename contains %d, these characters will be replaced with a number incremented by one each time the file is recorded." Problem is, the documentation doesn't explain how to refer to this filename later in the dialplan :-/ In this particular example, I want to move the file to the web server's /htdocs so users can
2010 Jun 15
1
Voicemail vm-intro played even when temp greeting is setup
Hi there, I am configuring a small voicemail server and I am facing the following problem. Executing this command: exten => 1234,1,VoiceMail(${NUMBER}@test) When a user does not have a customized temporary greeting vm-intro message is played asking for the message to the user but when the user has already a temporary greeting both the temporary greeting and vm-intro are played. Basically
2010 Aug 09
2
'System' application in asterisk
Hello, Is there any way to capture the output of the 'System' application in asterisk dialplan and evaluate it. For example, i would like to get the output of following System application and use its value in next line for decision making exten => 5000,n,System(command) -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Jun 17
1
block certain numbers
Hi. i would like to manually create a list of numbers to block. these numbers are from spammers (advertizers). is there an easy way to send these particular numbers to busy or even drop the call? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130617/aa95ba36/attachment.htm>
2013 Jun 19
6
Mailing a fax with mutt does not succeed
Hello everyone, I'm trying to send a received fax with mutt, when I try it from the Linux shel it works, but when trying with Asterisk's System command it doesn't. Successful Linux command: echo | mutt -s "New fax" earohuanca at gmail.com -a /tmp/faxes/201306191111.tif Unsuccessful Asterisk Command: same => n,System(mutt -s "New fax" elder.arohuanca at
2015 Apr 08
1
Help debugging a possible SIP channel leak in 11.17.0, possible race condition
Have you tried Asterisk 13? The bridging mechanism has been completely rewritten on Asterisk 12, so there's no longer channel masquerading and zombie channels. Might be worth a try. 2015-04-07 20:33 GMT-03:00 Alex Villac??s Lasso <a_villacis at palosanto.com>: > El 07/04/15 a las 17:38, Alex Villac??s Lasso escribi?: > > I am trying to collect enough information about an