fix esl sendevent issue and change the sendEvent method to return the reply text like sendRecv etc

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16921 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2010-03-05 23:10:41 +00:00
parent 8111b4beb4
commit 1baa8d5eee
17 changed files with 93 additions and 80 deletions
+2 -1
View File
@@ -161,7 +161,8 @@ class ESLconnection {
}
function sendEvent($send_me) {
return ESLconnection_sendEvent($this->_cPtr,$send_me);
$r=ESLconnection_sendEvent($this->_cPtr,$send_me);
return is_resource($r) ? new ESLevent($r) : $r;
}
function recvEvent() {