Let me explain my scenario first, what i am trying is to detect channel talking and silence events during call, and perform some task on event detection, i have successfully detect 'talk_detect' events on the channel who initiated the call but i am not able to detect the 'talk_detect' events on the channel who receives the call, here is a code sample:
Dailing channel:
exten =111,1,Answer()
exten =111,n,Set(SPYGROUP=3300)
exten =111,n,Set(DENOISE(rx)=on)
exten =111,n,Set(TALK_DETECT(set)=1000)
exten =111,n,Dail(SIP/111,100)
exten =111,n,Hangup()
Receiving channel:
exten =222,1,Answer()
exten =222,n,Set(SPYGROUP=3300)
exten =222,n,Set(DENOISE(rx)=on)
exten =222,n,Set(TALK_DETECT(set)=1000)
exten =222,n,Dail(SIP/222,100)
exten =222,n,Hangup()
but it only enables the talk_detect events on dailing channel please guide how can i detect talk events on both channel.