diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-14 08:02:33 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-14 08:02:33 +0000 |
commit | 1312721eaccb04c5ba9ced6d9e5ca6834a8aa51c (patch) | |
tree | 4f237eef527d235023da7ad718947ee4e102861f | |
parent | fe89e7ad9173d7399ce3a776be8c7bdab041dc8c (diff) |
add debug in hopes to figure out native bridging
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1320 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | channels/h323/ast_h323.h | 3 | ||||
-rwxr-xr-x | channels/h323/chan_h323.c | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/channels/h323/ast_h323.h b/channels/h323/ast_h323.h index 492802955..050bf61c6 100755 --- a/channels/h323/ast_h323.h +++ b/channels/h323/ast_h323.h @@ -117,6 +117,7 @@ class MyH323EndPoint : public H323EndPoint { void SetEndpointTypeInfo( H225_EndpointType & info ) const; void SetGateway(void); + }; @@ -152,6 +153,8 @@ class MyH323Connection : public H323Connection { PIPSocket::Address remoteIpAddress; // IP Address of remote endpoint WORD externalPort; // local media server Data port (control is dataPort+1) WORD remotePort; // remote endpoint Data port (control is dataPort+1) + + PSyncPoint bridgeFlag; }; diff --git a/channels/h323/chan_h323.c b/channels/h323/chan_h323.c index ca0f5eb42..9ab65122c 100755 --- a/channels/h323/chan_h323.c +++ b/channels/h323/chan_h323.c @@ -1581,6 +1581,7 @@ static struct ast_rtp *oh323_get_rtp_peer(struct ast_channel *chan) p = chan->pvt->pvt; if (p && p->rtp && p->bridge) return p->rtp; + ast_log(LOG_ERROR, "No associated RTP structure in pvt???\n"); return NULL; } @@ -1597,9 +1598,10 @@ static int oh323_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, str struct sockaddr_in them; struct sockaddr_in us; - if (!rtp) + if (!rtp) { + ast_log(LOG_NOTICE, "RTP is Null\n"); return 0; - + } p = chan->pvt->pvt; if (!p) { ast_log(LOG_ERROR, "No Private Structure, this is bad\n"); |