aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_h323.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-20 22:29:47 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-20 22:29:47 +0000
commit7a371139b2f6e54de91b803e1ded0dcb8a721e14 (patch)
tree78fc8fc124eb53840c430b7bff10b7aac752b127 /channels/chan_h323.c
parenta8d11c7b879c319b6e5e04ba86128970b6f97a80 (diff)
Try to do Packet2Packet bridging with chan_h323 if reinviting isn't enabled.
(closes issue #11901) Reported by: pj git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103955 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_h323.c')
-rw-r--r--channels/chan_h323.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c
index bba205e91..e61fa101a 100644
--- a/channels/chan_h323.c
+++ b/channels/chan_h323.c
@@ -3082,10 +3082,10 @@ static struct ast_cli_entry cli_h323_reload =
static enum ast_rtp_get_result oh323_get_rtp_peer(struct ast_channel *chan, struct ast_rtp **rtp)
{
struct oh323_pvt *pvt;
- enum ast_rtp_get_result res = AST_RTP_GET_FAILED;
+ enum ast_rtp_get_result res = AST_RTP_TRY_PARTIAL;
if (!(pvt = (struct oh323_pvt *)chan->tech_pvt))
- return res;
+ return AST_RTP_GET_FAILED;
ast_mutex_lock(&pvt->lock);
if (pvt->rtp && pvt->options.bridge) {