asterisk

How to draw a circle with asterisk? function in Ruby [closed]

こ雲淡風輕ζ 提交于 2020-01-17 16:03:19
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . I'm taking a course in Ruby and in C++ as well and I had to do this problem. You have to draw a circle with asterisk. I searched a lot in the Internet but I couldn't find any complete solution. I want to explain the reasoning so in this way you are not just copying the code, you are going to be

How to draw a circle with asterisk? function in Ruby [closed]

妖精的绣舞 提交于 2020-01-17 16:02:40
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago . I'm taking a course in Ruby and in C++ as well and I had to do this problem. You have to draw a circle with asterisk. I searched a lot in the Internet but I couldn't find any complete solution. I want to explain the reasoning so in this way you are not just copying the code, you are going to be

How to cancel call created with AMI originate

六眼飞鱼酱① 提交于 2020-01-16 06:49:13
问题 I am wondering if there is an easy way to hangup a channel created with Originate? What I do is following: Call in dialplan triggers Agi; Agi starts AMI: Originate with Channel "SIP/201". Now the extension rings. At answer I can bridge the channels. But, if the calling party leaves the call before the call is answered, I would like to stop the outgoing call. When I send AMI Hangup with Channel "SIP/201", It can't hangup originated call. I can stop that call using 'hangup request channelname'

How to cancel call created with AMI originate

核能气质少年 提交于 2020-01-16 06:48:07
问题 I am wondering if there is an easy way to hangup a channel created with Originate? What I do is following: Call in dialplan triggers Agi; Agi starts AMI: Originate with Channel "SIP/201". Now the extension rings. At answer I can bridge the channels. But, if the calling party leaves the call before the call is answered, I would like to stop the outgoing call. When I send AMI Hangup with Channel "SIP/201", It can't hangup originated call. I can stop that call using 'hangup request channelname'

Asterisk Answering Machine Detection

孤者浪人 提交于 2020-01-15 19:11:08
问题 My Answering Machine Dectection detects answering machine as a Human.I have a ringtone of 7 seconds playing before playing the message, it just prompts for user to press a key , then process AMD here is my AMD.conf ; ; Answering Machine Detection Configuration ; [general] initial_silence = 2250 ; Maximum silence duration before the greeting. ; If exceeded then MACHINE. greeting = 1500 ; Maximum length of a greeting. If exceeded then MACHINE. after_greeting_silence = 1250 ; Silence after

Asterisk-Java can't find fastagi-mapping.properties

非 Y 不嫁゛ 提交于 2020-01-15 11:08:10
问题 I'm using Asterisk and I'd like to emit a call from my Java app and then use an AGI script to control what happens. So I've got a first class that contacts the Asterisk server and uses an OriginateAction to start the call (this works well) and an AGI server that runs and should serve AGI requests. Though, it doesn't work because it can't find the fastagi-mapping.properties file. Here is my fastagi-mapping.properties : alertcall.agi = AlertCallScript (It only has one case.) In the same folder,

Asterisk-Java can't find fastagi-mapping.properties

有些话、适合烂在心里 提交于 2020-01-15 11:07:15
问题 I'm using Asterisk and I'd like to emit a call from my Java app and then use an AGI script to control what happens. So I've got a first class that contacts the Asterisk server and uses an OriginateAction to start the call (this works well) and an AGI server that runs and should serve AGI requests. Though, it doesn't work because it can't find the fastagi-mapping.properties file. Here is my fastagi-mapping.properties : alertcall.agi = AlertCallScript (It only has one case.) In the same folder,

Accessing FD (3) for Asterisk EAGI

白昼怎懂夜的黑 提交于 2020-01-14 18:56:24
问题 I have the following Golang code that seems to be blocking indefinitely eagi := os.NewFile(uintptr(3), "/dev/stdeagi") data := bufio.NewReaderSize(eagi, 64*1024) ... data.WriteTo(conn) // Blocks indefinitely! It doesn't even seem to throw an error - my guess is, I'm accessing the FD incorrectly. My purpose is to access the Process' FD 3 for Asterisk EAGI. I have also tried reading the alternative path fmt.Sprintf("/proc/%d/fd/3", os.Getpid()) , but this seems to behave the same way. What am I

Accessing FD (3) for Asterisk EAGI

爱⌒轻易说出口 提交于 2020-01-14 18:56:19
问题 I have the following Golang code that seems to be blocking indefinitely eagi := os.NewFile(uintptr(3), "/dev/stdeagi") data := bufio.NewReaderSize(eagi, 64*1024) ... data.WriteTo(conn) // Blocks indefinitely! It doesn't even seem to throw an error - my guess is, I'm accessing the FD incorrectly. My purpose is to access the Process' FD 3 for Asterisk EAGI. I have also tried reading the alternative path fmt.Sprintf("/proc/%d/fd/3", os.Getpid()) , but this seems to behave the same way. What am I

Reliably identifying and tracking Asterisk calls using C# and Aster.NET

≯℡__Kan透↙ 提交于 2020-01-14 09:03:28
问题 I have been building a WinForms desktop application using C# that interfaces with Asterisk using Aster.NET (formerly/forked from Asterisk.NET). We're having real trouble reliably identifying and tracking calls that are related to an individual extension/user. The problem we're having is due to the unpredictable/fuzzy nature of the events fired/triggered by Asterisk, with them being massively variable depending on how the call is routed before it hits an extension. For example, the event