[Freeswitch-svn] [commit] r4271 - freeswitch/trunk/src/mod/endpoints/mod_wanpipe
Freeswitch SVN
anthm at freeswitch.org
Wed Feb 14 15:06:39 EST 2007
Author: anthm
Date: Wed Feb 14 15:06:39 2007
New Revision: 4271
Modified:
freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c
Log:
fix
Modified: freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c Wed Feb 14 15:06:39 2007
@@ -527,7 +527,6 @@
return SWITCH_STATUS_GENERR;
}
-
if (sangoma_socket_waitfor(tech_pvt->wpsock->fd, 1000, POLLIN | POLLERR | POLLHUP) <= 0) {
return SWITCH_STATUS_GENERR;
}
@@ -1150,7 +1149,6 @@
switch_core_session_t *session;
switch_channel_t *channel;
struct channel_map *chanmap;
- private_object_t *tech_pvt;
switch_core_session_message_t *msg;
chanmap = spri->private_info;
@@ -1160,7 +1158,7 @@
channel = switch_core_session_get_channel(session);
assert(channel != NULL);
- switch_core_session_queue_indication(tech_pvt->session, SWITCH_MESSAGE_INDICATE_RINGING);
+ switch_core_session_queue_indication(session, SWITCH_MESSAGE_INDICATE_RINGING);
switch_channel_mark_ring_ready(channel);
switch_core_session_rwunlock(session);
More information about the Freeswitch-svn
mailing list