From f03adcabed4739f88f22ad79984869ffb5fc9017 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 14 Aug 2006 19:03:36 +0000 Subject: [PATCH] twiax (tweek-iax get it twiax... lol) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2291 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_iax/mod_iax.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_iax/mod_iax.c b/src/mod/endpoints/mod_iax/mod_iax.c index 358935011a..dccbb6931c 100644 --- a/src/mod/endpoints/mod_iax/mod_iax.c +++ b/src/mod/endpoints/mod_iax/mod_iax.c @@ -934,9 +934,9 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_runtime(void) /* Wait for an event. */ if ((iaxevent = iax_get_event(0)) == NULL) { - switch_yield(1000); + switch_yield(100); continue; - } else if (iaxevent) { + } else { struct private_object *tech_pvt = iax_get_private(iaxevent->session); if (globals.debug && iaxevent->etype != IAX_EVENT_VOICE) {