Displaying 2 results from an estimated 2 matches for "514316xxxx".
2020 Oct 15
2
Parallel dialing / running dialplan process in background
...ocal
extensions. One extension will run an AGI script (a continuous background
process, running until hangup), the other will connect the active channel
to Jack() (also running as continuous process, until hangup).
This is my current dialplan attempt:
---------------------
[from-internal]
exten = 514316XXXX,1,Answer()
same => n,Playback(hello)
same => n,Dial(LOCAL/100 at extensions&LOCAL/101 at extensions)
[extensions]
exten => 100,1,JACK([i(SuperCollider:in_1), o(SuperCollider:out_1)])
same => n,Hangup()
exten => 101,1,AGI(test.py)
---------------------
Currently, this will start...
2020 Oct 15
0
Parallel dialing / running dialplan process in background
Asterisk will try calling both at once. As soon as one is answered it
cancels the call to the other. What you can do is for extension 101 to put
it in it's own context and then call the agi from the h extension. So
something like this:
[from-internal]
exten = 514316XXXX,1,Answer()
same => n,Playback(hello)
same => n,Dial(LOCAL/100 at extensions&LOCAL/101 at extensions)
[extensions]
exten => 100,1,JACK([i(SuperCollider:in_1), o(SuperCollider:out_1)])
same => n,Hangup()
[our_agi]
Exten => 101,1,Congestion
Exten => h,1,AGI(test.py)
On Thu,...