Intercom with audio turned off in one direction

I am working on a graphical interface that allows intercom to specific extensions, I need the audio to work in one direction only

For now I do this:

"Action: Originate
Channel: SIP / 10
WaitTime: 5
CallerId: UPDATE <999>
Exten: 15
Variable: __SIPADDHEADER51 = Call-Info: <sip: 192.168.17.246> ; answer-after = 0
Priority: 1
Context: from-internal "

Then I check the channel with CoreShowChannels

And then I mute the channel:

"Action: MuteAudio
Channel: SIP / 15-000002d6
Direction: out
State: on
"

Is there a way to make it easier with just one pass of code?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.