Questions tagged [dialplan]

51 questions
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,348
  • 2
  • 12
  • 25
0
votes
1 answer

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

Asterisk dialplan parse xml string to get value

In a dialplan I need to parse an XML string like this to get the phone number for the next dial. The CUT method doesn't seems the good method for that. How can I do this please ?
Rom1906
  • 1
  • 2
-1
votes
2 answers

Asterisk block incoming call from specific country only

I am trying to make a dial plan to block incoming call coming from let say bangladesh where country code is 88 Here is my dial plan exten => _X.,1,NoOp(${CALLERID(num)}) same => n,Set(regx=^(88)[0-9]$) same => n,GotoIf($[${REGEX("${regx}"…
-3
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
  • 13
  • 4
1 2 3
4