From: Steve K. <st...@st...> - 2003-11-03 22:54:04
|
First, two things I forgot in my previous update message: 1) I've changed the default build, at least for those using Makefiles, to use IAX2 instead of IAX1. 2) I added some support for handling IAX "text" frames. They will get passed along to the client as: ev.type=IAXC_EVENT_TEXT; ev.ev.text.type=IAXC_TEXT_TYPE_IAX; ev.ev.text.callNo = callNo; Second, two new things: 1) Fixed a bug in digium's libiax2 which caused authentication-requiring calls with IAX2 to fail. (Michael found the bug, and tested my fix, which worked for him). 2) Implemented a simple activity/connectivity timeout mechanism for calls. If we don't hear from the other end of an active call in 10 seconds, we will send it a PING. If we don't hear from them in 30 seconds, we dump the call and tell the client it timed out. (the PONG, of course, counts as "hearing from", and caused the call not to get dumped). Normally, when there are voice frames being sent to the client, it won't ever send PINGs. I'm no longer developing and/or testing with IAX1, so some of these things may break the IAX1 build. It should be easy enough to fix if someone out there is relying on IAX1 working. -SteveK |