Questions tagged [dialplan]
54 questions
0
votes
2 answers
Say a date in asterisk (not current time)
I need help with asterisk's dial plan. I want that every time I make a call, when the user picks up the phone, I want it to say a specific date, but I can't figure out which application in the dial plan can do that.
I am using SayUnixTime but it…
0
votes
1 answer
How to play a complete prompt and do a CURL request at the backend?
The callflow I want to build:
Play Welcome Prompt (5 seconds)
Do a CURL request to an API based on the callerId number
Based on the response of step 2, play another prompt or hangup the call
Problem
The Curl request may take upto 3 seconds of…

shabby
- 3,002
- 3
- 39
- 59
0
votes
1 answer
How to detect ring tone in freeswitch dialplan?
After dialing to a remote callcenter and getting past the IVR, my customer's staff usually end up waiting a long time for an agent to pickup, while listening to hold music. I am considering a possibility where they can transfer the call to a…

Sharath
- 1,627
- 2
- 18
- 34
0
votes
2 answers
Automated Call Recording Uploader in Dial Plan
i have an issue regarding call recording.
What i wanted to do is automatically upload the call recording after hangup
My extensions.conf looks some like this
exten => _!,n,System(mkdir “/var/spool/asterisk/${CALLERID(number)}”)
exten =>…
user2268642
0
votes
1 answer
How do I get yesterday date in Freeswitch?
In Freeswitch dialplan, I know I can get today date using ${strftime(%Y%m%d}, but how do I get yesterday date correctly?
I can do ${strftime(%Y%m)}${expr(${strftime(%d}-1)}, but what about yesterday date of Jan, 1st, 2017?
Thanks for all your helps.

Hugh Le
- 1
- 1
-1
votes
1 answer
Browsing through multiple audio files for playback on Asterisk dialplan
I'm trying to make a voicemail system on Asterisk 16, FreePBX 16 and CentOS 7 that lets people browse and choose from a list of prerecorded audio files. When the caller enters the menu to select the audio files, they're told how to browse through…

bataniraa
- 1
- 1
-1
votes
2 answers
How can I create hints for extensions created with a 'pattern matching' defintion
I have tried this:
[from-internal]
exten => _4XX,1,Dial(SIP/${EXTEN})
same => hint,SIP/${EXTEN}
After reloading dial plan, core show hints only showed the "unexpanded" hint.
This forced me to define the hint explicitly like…

mkl
- 131
- 1
- 9
-1
votes
1 answer
How to execute code before making a call on Asterisk
I have an asterisk pbx server. I’m new to asterisk, I know there are dial plans extensions groups etc.
My goal is to handle a dial event do some checks then decide whether to let the call go through or not.
I read about ARI AGI AMI and dial plan…

Tarek
- 1
- 2
-2
votes
1 answer
Dial 10 digit mobile number from asterisk and C#
I have configured asterisk and using AsterNet to consume asterisk functionality. While I am trying to originate call to a local mobile number. Call first come to the extension number (2001) if I pick up only then call goes to mobile number.
I have…

Ankit
- 23
- 4