Hi,
I use TALK_DETECT to detect sound on channel but it’s detected just source, but it’s not detected at destination
extensions.conf
exten => _0X.,1,Answer()
same => n,Set(DENOISE(rx)=on)
same => n,Set(TALK_DETECT(set)=)
same => n,Dial(PJSIP/${EXTEN}@trunk ,10,g)
if a call to b
output from CLI
PJSIP/(a-endpoint) is now talking
PJSIP/(a-endpoint) is now silent
I need to detect silent or talking from destination(b). please help thanks.
jcolp
September 6, 2022, 9:24am
2
TALK_DETECT runs on the channel it is placed on. If you want to place it on the outgoing side, then you would use a pre-dial handler[1] to set it there.
[1] Pre-Dial Handlers - Asterisk Project - Asterisk Project Wiki
many thanks. I can solve this problem.
I need to share some of my implement below
I set it to
extensions
[outgoing-calls]
exten => _0X.,1,Answer()
same => n,Dial(PJSIP/${EXTEN}@trunk ,10,gb(outgoing-calls,predial,1))
exten => predial,1,NoOP()
same => n,Set(DENOISE(rx)=on)
same => n,Set(TALK_DETECT(set)=)
same => n,Return()
it get
PJSIP/(b-endpoint) is now talking
PJSIP/(b-endpoint) is now silent
system
Closed
October 6, 2022, 9:44am
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.