[asterisk-scf-commits] asterisk-scf/integration/sip.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Fri Sep 24 12:58:48 CDT 2010
branch "master" has been updated
via 6a9f1180087a2e81a455faf0fd06b9524d9fe10e (commit)
from 7848baf1b065b3b404c945cf76aa5fc78f9b9a51 (commit)
Summary of changes:
src/PJSipSessionModule.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 6a9f1180087a2e81a455faf0fd06b9524d9fe10e
Author: Joshua Colp <jcolp at digium.com>
Date: Fri Sep 24 15:01:52 2010 -0300
Use the correct event type so responses to an INVITE are handled.
diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index 68dabf5..c6a78a0 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -484,7 +484,7 @@ static void invOnTransactionStateChanged(pjsip_inv_session *inv, pjsip_transacti
static void invOnStateChanged(pjsip_inv_session *inv, pjsip_event *event)
{
if ((inv->state == PJSIP_INV_STATE_EARLY || inv->state == PJSIP_INV_STATE_CONNECTING) &&
- event->type == PJSIP_EVENT_RX_MSG)
+ event->type == PJSIP_EVENT_TSX_STATE)
{
//Received a 1XX or 2XX message in response to our initial outgoing INVITE.
handle_invite_response(inv, event->body.tsx_state.src.rdata, inv->dlg);
-----------------------------------------------------------------------
--
asterisk-scf/integration/sip.git
More information about the asterisk-scf-commits
mailing list