[Asterisk-java-users] Bypass AbstractManagerEventListener for internal calls.
Brought to you by:
srt
From: aditya b. <adi...@gm...> - 2015-12-10 12:11:26
|
Hello Team, We extended AbstractManagerEventListener and wrote our logic in it for end user(Customer) to agent (CSR) calls. It has very specific business logic to Customer to CSR communication. In short we have wrote routing logic for Customer to CSR in our AbstractManagerEventListener class. Now we got a new requirement in which we have to implement CSR to CSR communication. Is there any way to filter out internal call events at asterisk level? So far we tried below changes in asterisk's manager.conf eventfilter=event: peerstatus eventfilter=event: Hangup eventfilter=event: NewStateEvent eventfilter=ChannelStateDesc: Up eventfilter=ChannelStateDesc: Ringing eventfilter=Channel: SIP/sangoma-* eventfilter=Channel1: SIP/sangoma-* In Ringing event we have make a CSR busy and On hangup we make it free. It worked fine expect we are not getting hangup event for CSR to CSR communication. Any clue why hangup event is not coming for CSR to CSR communication? Thanks, -- Aditya Barve |