Questions tagged [dialplan]

54 questions
0
votes
2 answers

Asterisk, Dial plan, how can I hang after answer?

I want to hang the call just after answered. exten => _3XXXXXXXXXX,1,Set(CALLERID(num)=1234567890) same => n,MixMonitor(${UNIQUEID}.wav) same => n,Dial(SIP/${EXTEN:1}@provider,,M(hang)) same => n,StopMixMonitor() same =>…
Fraga
  • 1,361
  • 2
  • 15
  • 47
0
votes
1 answer

Googl ASR integration using UniMRCP for two way communication

I wanted to capture all the voice conversation between customer and agent in text format. I have done the integration with Asterisk and Google Speach-to-Text using UniMRCP. I'm successfully able to capture customer side speech only but I wanted to…
0
votes
2 answers

Send pulse before call answer

Problem: I bought a local DID and when I call it the phone is mute until the connection is executed in Asterisk and then immediately begins the synthesized speech. How it should be: I would like to make the customer's phone (who is calling) hear the…
luisdemarchi
  • 1,402
  • 19
  • 29
0
votes
1 answer

passing values from dialplan to python agi script

Below is my python agi script. I'm trying to pass a value from dialplan to agi script and trying to print the value through the script. Everything is working fine but the value is not passing to the script. Please let me know if anything went wrong…
0
votes
2 answers

Asterisk start dialpan many times at the same times

Please help understand out what's going on. Asterisk starts dialpan many times for one input call. I use Asterisk 15.4.0 (FreePBX 14.0.5.25), My extensions_custom.conf: [bpms_input] exten => _[A-Za-z0-9]!,1,NoOp(>>>>>>>>>>>>>>>>>>>>>>Exten =…
Vladimir
  • 157
  • 2
  • 16
0
votes
1 answer

Asterisk Dial Command with M or U option mute call

I'm trying to use AMD with a DAHDI trunk. I put my macro on default Dial, but this mute the call. How can i execute AMD? If my code is correct, how can i enable sound (no muted call)? thanks in advance. [macro-amd-detect] exten=>…
0
votes
1 answer

Hangup an Asterisk call by pressing any keyboard key

I have be able to hangup an asterisk call (if it can be named "call") by pressing any keyboard button. Flow looks like this: (Call file is copied to outbound directory) -> Asterisk detects it and read call file -> in call file there is instruction…
widmopl
  • 21
  • 11
0
votes
2 answers

Asterisk 13 - system() dialplan app cannot call bash script on filing system

This was working fine in Asterisk 1.8.32.3 - I'm testing with Asterisk 13.22.0 on Centos 7 running as root (already - as you'll see below): same=>n,System(/usr/src/bash/setData.sh ${CHANNEL(accountcode)}) The script's permissions: [root@localhost…
Stefan
  • 316
  • 2
  • 16
0
votes
1 answer

Reduce the time lapse when using goto

When using the Goto command I realize that I have a time lapse of about 5 seconds before the next extension is reached. Is there a way to reduce it? [test] ... exten => 1001,3,Background(chooseOption) exten => 1001,4,WaitExten(3) exten =>…
Seb
  • 508
  • 8
  • 25
0
votes
1 answer

How to automatically create a new wav file for each recorded calls with MixMonitor?

Intro : I am trying to record each calls but I don't want to append them to a same file or overwrite it all the time. I'd like to have a file for each call. The name of the file should be the date+time when the call was made so that it is unique. I…
Seb
  • 508
  • 8
  • 25
0
votes
1 answer

how to stop an ivr if the caller presses before the end

Intro : I am brand new to Asterisk. I followed some tutorials in order to set my own basic responder. Though, I don't know how to do the following : Problem : When someone calls, the IVR will start, but since there are lots of options to choose…
Seb
  • 508
  • 8
  • 25
0
votes
2 answers

Dynamic_features problems with asterisk

I have developed a small portion of dialplan code that allows participants of a conversation to dial a code that plays a playback (on both channels). In addition, this has to be recorded (the whole call and the voice-over played). In the beginning,…
juanute
  • 11
  • 1
  • 5
0
votes
1 answer

Asterisk ringback tone recording

I made an outbound-call service application using Asterisk AMI interface. Following is how my application works. I generate an Originate request to internal channel using TCP/IP socket. my dialplan accepts the request and run dial command.…
user727062
  • 127
  • 2
  • 9
0
votes
1 answer

Asterisk SipHeader Diversion

Hello Craftsmen Asterisk, I have a problem I can not extract in the variable from SipHeader. I followed with dump I'm getting: Diversion: ;reason=unconditional Diversion:…
Andrei
  • 63
  • 10
0
votes
1 answer

Asterisk context executed on not answer call files

I am using call files such as these: Channel: SIP/TRUNK/1-111522282783163
CallerID: 522299308962
MaxRetries: 1
Data: GqFR7rubPw_10
Context: calls
Extension: s
Priority: 1
Setvar:…