I have a hangup handler thats added at the beginning of a call. It logs all the call details. Using the CONTEXT variable I am always going to get the context where the code is being ran and not the last context that the caller is in. Is there any creat..
Author : Dovid Bender
Has anyone gotten SAY_DTMF_INTERRUPT to work? In 19.0.1 if I do core show function SAY_DTMF_INTERRUPT it does not show up. As per the documentation This application will play the sounds that correspond to the given . Optionally, amay be specified. T..
I didnt see any documentation for this so I assume it cant be done but Ifigured I would check here first. Is there any way of using ExecIf to run two commands instead of 1? e.g. instead ofExten 123,1,ExecIf($[FOO == BAR]?BackGround(you-owe))Exten 123,1,ExecIf($[..
I am experimenting with arrays in Asterisk. I am looking at https://wiki.asterisk.org/wiki/display/AST/Function_SHIFT and https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_ARRAY.So for example I Do Set(FOO(1,2,3,4),20,30,40)What wo..
I am trying to help a friend that is using Asterisk along with a Python AGI. In the code I see: agi.execute(pystrix.agi.core.StreamFile(MY_PATH+/+msg)) try:agi.execute(pystrix.agi.core.RecordFile(rec_file, format=wav, escape_digits=#, timeout=-1, sample_offset..
I see that you have pricing for the 12 C1000-48T-4X-L Catalyst 1000 48port GE, 4x10G. How much is the smartnet 8/5 support for them. Also what would be the lead time if we purchased them in the next week..
If I have in extensions.conf includes to files that does not exist Asterisk stop loading all other files. Say for instance I have:#include one.conf ; Exists#include two.conf ; Does not exist#include three.conf ; ExistsIf two.conf does not exist, e..
Is there any way to set the default expiration for the media cache? After looking at the sqlite3 db it seems that asterisk by default sets the expiration to the time that the file was accessed so the file is never cached locally and everytime the f..
Is there any way in Asterisk to say an ordinal number? For instance if Iwere to pass the application 1 it would say first. If I were to pass it 2it would say Second etc.? I know that Voicemail has this when hearing your message count but I have not s..
We have a project where people will be making payments over the phone. Iwould like block Asterisk from logging any time the system is processing a card. So be it SayDigits(123456789), when the user enters DTMF or when Ipass a card number as a varia..