桥接处理程序前星号播放问题

桥接处理程序前星号播放问题

你好,我正在使用预桥接处理程序 U 在被叫方应答呼叫时播放音频,但呼叫者也能够听到播放,是否有可能只有被叫方才能听到该声音?`

 same => n(agentreq),Set(LIMIT_CONNECT_FILE=playbackfile)
same => n,Set(LIMIT_PLAYAUDIO_CALLER=no) ;check no
    same => n,Set(LIMIT_PLAYAUDIO_CALLEE=yes)
same => n,UserEvent(CallEnteringConference, Channel:${CHANNEL}, Agent:${TARGET_AGENT}, DialedPhoneNumber:${DialedPhoneNumber})
same => n,GotoIf($["${${TARGET_AGENT}IsBeingSpied}" == "1"]?spyhangup:request)
    same => n(spyhangup),SoftHangup(${${TARGET_AGENT}ChannelName})
 same => n,Set(GLOBAL(${TARGET_AGENT}ChannelName)=0)
    same => n,Set(CHANNEL(hangup_handler_push)=agent-request-coach-generate,${TARGET_AGENT},1)
    same => n(request),Dial(Local/${TARGET_AGENT}@agent-request,,m(default)L(${MILLI_SECONDS_IN_DAY}:1:1)U(testsound))
    same => n,Hangup()


[testsound]
exten => s,1,NoOp()
    same=> n,Playback(en/beep)
same=> n,Return()

答案1

如果您在拨号选项帮助中找不到标志(例如 M 始终没问题),您始终可以只使用 chanspy 与一方联系。

相关内容