[Asterisk-java-users] Re: Timeout when hanging up
Brought to you by:
srt
From: <be...@mo...> - 2006-01-12 13:17:41
|
Hello! I'm trying to do exactly the same thing as in the Timeout when hanging up topic. The difference is that instead of SIP, I want to use Zap channels (well zap compatible aculab card). I have a problem with receiving events to the call manager. What I'm trying to do is to call a phone, and as soon as I get a ringing tone, I want to hangup. Therefore I'm trying to get the NewChannelEvent with state ringing. When I use SIP, everything is fine, the event shows up just like it should, but when I'm using a SIP VOIP provider or a Zap (aculab) card, the event is not comming to the call manager. I can see in the asterisk console that the card event is occuring, and the card driver then sends AST_CONTROL_RINGING to the asterisk queue. Ufortulately the event is not passed by the call manager. The only events that are sent are: net.sf.asterisk.manager.event.NewChannelEvent, State:Down net.sf.asterisk.manager.event.NewCallerIdEvent net.sf.asterisk.manager.event.HangupEvent net.sf.asterisk.manager.event.OriginateFailureEvent net.sf.asterisk.manager.event.DisconnectEvent When I'm calling using local SIP phone, the events go through: net.sf.asterisk.manager.event.NewChannelEvent: State: Down net.sf.asterisk.manager.event.NewCallerIdEvent: net.sf.asterisk.manager.event.NewChannelEvent: State: Ringing net.sf.asterisk.manager.event.HangupEvent: net.sf.asterisk.manager.event.PeerStatusEvent: Is there some configuration file in asterisk that needs to be changed in order for zap channels to report the NewChannelEvent every time? -- Robert Krzyminski Mobiteam Sp. z o.o. ul. Rynek Glowny 6, 31-042 Krakow, Poland tel: +48 22 372 63 42 ICQ #: 25467968 e-mail: rob...@mo... |