Added more clases to kdoc documentation.

Fixed bug in text message handling in h323chan.


git-svn-id: http://yate.null.ro/svn/yate/trunk@847 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2006-06-09 13:20:31 +00:00
parent ddfde70754
commit 0c220601e5
2 changed files with 8 additions and 3 deletions

View File

@ -33,7 +33,9 @@ LINK = $(CXX) $(LDFLAGS)
DOCGEN :=
ifneq (_@KDOC_BIN@,_)
DOCGEN := @KDOC_BIN@ -C ./kdoc-filter.sh -d docs/api/ $(INCS) contrib/ysip/yatesip.h contrib/yrtp/yatertp.h
DOCGEN := @KDOC_BIN@ -C ./kdoc-filter.sh -d docs/api/ $(INCS) \
contrib/ysip/yatesip.h contrib/yrtp/yatertp.h \
contrib/ysip/yatepbx.h contrib/yrtp/yatess7.h
endif
ifneq (_@DOXYGEN_BIN@,_)
DOCGEN := @DOXYGEN_BIN@ Doxyfile
@ -118,7 +120,10 @@ apidocs: @srcdir@/docs/api/index.html
@srcdir@/docs/api/index.html: Doxyfile \
@srcdir@/yateclass.h @srcdir@/yatengine.h \
@srcdir@/yatephone.h @srcdir@/yatecbase.h \
@srcdir@/contrib/ysip/yatesip.h @srcdir@/contrib/yrtp/yatertp.h
@srcdir@/contrib/ysip/yatesip.h \
@srcdir@/contrib/yrtp/yatertp.h \
@srcdir@/contrib/ypbx/yatepbx.h \
@srcdir@/contrib/yss7/yatess7.h
$(MAKE) apidocs-build
.PHONY: strip sex love war

View File

@ -1242,7 +1242,7 @@ void YateH323Connection::OnUserInputString(const PString &value)
if (!m_chan)
return;
String text((const char *)value);
const char *type = text.startSkip("MSG") ? "chan.text" : "chan.dtmf";
const char *type = text.startSkip("MSG",false) ? "chan.text" : "chan.dtmf";
Message *m = m_chan->message(type,false,true);
lock.drop();
m->addParam("text",text);