similar to: Any way of creating a file to write to from the dialplan, or must I use AGI?

Displaying 20 results from an estimated 4000 matches similar to: "Any way of creating a file to write to from the dialplan, or must I use AGI?"

2016 Nov 04
2
Any way of creating a file to write to from the dialplan, or must I use AGI?
That's just what I'm using, John. But I'm getting (eg) [Nov 4 21:46:16] ERROR[1676][C-00000003]: func_env.c:449 file2format: Cannot open '/home/logs/anonymous.txt': No such file or directory [Nov 4 21:46:16] ERROR[1676][C-00000003]: func_env.c:949 file_write: File '/home/logs/anonymous.txt' not in line format Asterisk is running as root (yeah, I know!), and has
2020 Sep 22
1
AMI vs. Dialplan Originate
On Tuesday 22 September 2020 at 13:27:27, Joshua C. Colp wrote: > On Tue, Sep 22, 2020 at 7:37 AM Antony Stone wrote: > > Hi. > > > > (Asterisk 16.2.1) > > > > I'm using AMI Originate to initiate calls, and I'm passing some > > additional data in to the dialplan context using the Variable: > > parameter. Works fine. > > > >
2016 Oct 18
2
Say duration of alaw file?
I can get the size of a ulaw file using STAT. And I can get the duration in seconds by doing filesize/8000. Your tea-break challenge is to help me find the shortest most Asterisk-like way of saying: "The following file is [<n> minutes and] <s> seconds long". ...without referring to external applications! Yes, I'm aware of the math behind it, but I was hoping for a
2014 Jan 28
4
Integration with outlook
Hello; Is there a method "way" to be able to dial the phone number through asterisk from the outlook email contact? Regards Bilal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140128/17174762/attachment.html>
2016 Jun 30
2
how to join 2 channels using AGI/AMI
thanks John yeah, your approach is much siple, i've tried it but i'm not able do detect DTMF tones. it seems that on calls that i receive DTMF tones are handled correctly, but on calls generated from Asterisk to the world when the called side sends some DTMF digits they are not detected: -- Executing [s at macro-myconnector:1] NoOp("SIP/pbx2-000004b2", "") in new
2016 Aug 22
3
Dial and start music on hold after timeout
Sorry, I forgot to write that the SIP peer must keep ringing while the announcement is being played. Le 22/08/2016 ? 17:42, John Kiniston a ?crit : > This seems like the obvious answer but maybe I'm misunderstanding the > question. > > exten => s,1,Dial(SIP/alice,20) > same => n,Playback(myannouncement) > same => n,NoOP(Whatever else you want to do goes
2014 Jul 02
1
quoting arguments to System command in dialplan
I'm trying to invoke a program to send a received fax. I'd like to *safely* pass the value of ${CALLERID(all)} as an argument to the program, executed by System(...). The problem is that the callerid can have quotes or other dangerous characters as far as the shell is concerned. For example, the test-fax service that I'm using sets the callerid to "UNAVAILABLE "
2020 Apr 21
3
Dialplan - using multiple AND or OR in set is it possible ?
Hello, we want to use something like same = n,ExecIf($["A" = "B"]?Set(C=1) & Set(D=2) & ...) Problem is that result gives C=1) & Set(D=2) & ... Is there a possibility to use multiple AND or OR in such a way ? -- Daniel
2016 Jun 30
4
how to join 2 channels using AGI/AMI
Dear all i'm using an "old" Asterisk 1.6.2.9-2+squeeze12, and want to know if is possible to configure a scenario like this: 1) receive a call and put it on-hold in a queue (OK) 2) monitor the queue and trigger an outbound call to a remote number using AMI, setting the channel of the on-hold on a specific var named channel2Link (OK) 3) when the remote number answer, trigger an
2015 Jul 28
2
Queues don't follow dialplan if no members are registered
Hello, I am running Asterisk 11 on CentOS 6.x. I have configured several queues as follows in extensions.conf: exten => s,1,Queue(myqueue,rtnC,18) same => n,Background(user_unavail) same => n,WaitExten(10) exten => 1,1,Voicemail(1111 at my-vm,s) This rings the phones in the queue for 18 seconds. If no queue members answer, the caller is then prompted to press 1 and leave a
2017 Nov 23
2
How to supervise a Voicemail box with a BLF button ? What does "State:Unavailable" exactly means ?
Hi, 1. How do you then, synced then unread message presence with custom device status ? From an external program ? When a user leaves VoiceMailMan application ? Using externnotify ? 2. What is MWI:101 at default expression for (see [2] ? Cheers [2] https://wiki.freepbx.org/display/FPG/Subscribe+a+BLF+button+to+Monitor+a+Voicemail+Box 2017-11-21 17:58 GMT+01:00 John Kiniston <johnkiniston at
2016 Aug 22
2
Dial and start music on hold after timeout
Thank you for the idea. The problem with RetryDial, is that it will cancel the first call, play the announce and then dial the SIP peer once again, so the telephone will display a missed call. I would prefer to do everything in a single call. Le 22/08/2016 ? 17:57, John Kiniston a ?crit : > You could try using RetryDial() instead of Dial, It supports playing > an announcement. >
2020 Jul 16
3
Problem with OPTIONS requests.
I'm implementing a SBC with my Asterisk PBX but the keeps disabling the trunk group I've configured and I think it may be because Asterisk is returning a 4r04 to the OPTIONS. I've created a test context and have put in a wildcard pattern match to try and catch those options but it doesn't seem to work. Is there a way to have asterisk respond with an 200 OK instead of a 404? --
2014 Sep 07
2
Pattern Extension not working in Dialplan
Hi, I created a dummy dialplan where I ask the user to enter the age. [macro-age] exten => s,1,Background(my/age) ;;Play recorded message to enter age exten => s,n,WaitExten(10) exten => _XX,1,Set(AGE=${EXTEN}) ;; this line is not executing, instead dialplan is terminating with error given below. exten => s,n,NoOp(${AGE}) exten => s,n,GotoIf($[${LEN(${AGE})} >
2018 May 23
3
More testing
More testing. Test test test. :-) -- Matthew Fredrickson Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
2018 Jan 10
2
how do i enable call features??
That is the general idea. But how do i make it work? is there somewhere ready? On Wed, Jan 10, 2018 at 6:39 PM, John Kiniston <johnkiniston at gmail.com> wrote: > Define your *72 and *73 extensions in your internal context, Have them set > a value in the ASTDB that you then check when dialing your handsets. > > The same can be done for call forwarding, store a number in the
2015 Jul 29
2
Queues don't follow dialplan if no members are registered
----- Original Message ----- > From: "John Kiniston" <johnkiniston at gmail.com> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> > Sent: Tuesday, July 28, 2015 12:12:05 PM > Subject: Re: [asterisk-users] Queues don't follow dialplan if no members are registered > > In your queues.conf do you
2015 Mar 26
1
Determining if a queue member is paused in Dialplan logic. [1.8]
Thank you Kevin, I've looked at your solution and while I agree it's not ideal it does appear to be something that might work for me. I'll see if I can maybe backport the QUEUE_MEMBER stuff to 1.8 from 11. I'm also exploring an idea with a co-worker of using an AMI listener that will fire off actions in response to the member being paused and doing things that way. I looked at
2020 Feb 13
2
Help with FUNC_MATH
John, >From looking at the wiki won't STRFIME just give me what I need based on the unix time that I put in? What I am actually looking to do is convert over from 12 hour format to 24 (unless strftime does just that and I don't kow what am I am doing?). On Thu, Feb 13, 2020 at 12:03 PM John Kiniston <johnkiniston at gmail.com> wrote: > Try using the STRFIME function
2016 Feb 22
5
Voice recognition IVR Is it possible?
Thanks for the link. Are there no free alternatives for speech recognition?