From 8fc0b5cd5d312b0efb7cee8dbe2644ee4400e5a7 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 2 Jan 2008 18:22:36 +0000 Subject: [PATCH] fixed compilation to new sipmsg def git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@577 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/ivr/IvrSipReply.h | 2 +- apps/ivr/IvrSipRequest.cpp | 5 +---- apps/ivr/IvrSipRequest.h | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/apps/ivr/IvrSipReply.h b/apps/ivr/IvrSipReply.h index bfe14baf..67e55460 100644 --- a/apps/ivr/IvrSipReply.h +++ b/apps/ivr/IvrSipReply.h @@ -26,7 +26,7 @@ #include #include "structmember.h" -#include "AmSipReply.h" +#include "AmSipMsg.h" extern PyTypeObject IvrSipReplyType; PyObject* IvrSipReply_FromPtr(AmSipReply* req); diff --git a/apps/ivr/IvrSipRequest.cpp b/apps/ivr/IvrSipRequest.cpp index 90427f46..eb642ef7 100644 --- a/apps/ivr/IvrSipRequest.cpp +++ b/apps/ivr/IvrSipRequest.cpp @@ -21,7 +21,7 @@ */ #include "IvrSipRequest.h" -#include "AmSipRequest.h" + #include "log.h" // Data definition @@ -91,8 +91,6 @@ def_IvrSipRequest_GETTER(IvrSipRequest_getto_tag, to_tag) def_IvrSipRequest_GETTER(IvrSipRequest_getroute, route) def_IvrSipRequest_GETTER(IvrSipRequest_getnext_hop, next_hop) -def_IvrSipRequest_GETTER(IvrSipRequest_getkey, key) - def_IvrSipRequest_GETTER(IvrSipRequest_getbody, body) @@ -127,7 +125,6 @@ static PyGetSetDef IvrSipRequest_getset[] = { {"route", (getter)IvrSipRequest_getroute, NULL, "record routing", NULL}, {"next_hop", (getter)IvrSipRequest_getnext_hop, NULL, "next_hop for t_uac_dlg", NULL}, {"cseq", (getter)IvrSipRequest_getcseq, NULL, "CSeq for next request", NULL}, - {"key", (getter)IvrSipRequest_getkey, NULL, "CSeq for next request", NULL}, {"body", (getter)IvrSipRequest_getbody, NULL, "CSeq for next request", NULL}, {NULL} /* Sentinel */ }; diff --git a/apps/ivr/IvrSipRequest.h b/apps/ivr/IvrSipRequest.h index e8395f17..8052fad4 100644 --- a/apps/ivr/IvrSipRequest.h +++ b/apps/ivr/IvrSipRequest.h @@ -27,7 +27,7 @@ #include #include "structmember.h" -#include "AmSipRequest.h" +#include "AmSipMsg.h" extern PyTypeObject IvrSipRequestType; PyObject* IvrSipRequest_FromPtr(AmSipRequest* req);