From 04d911112de06d7ef38029d4398372b179d7ea29 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Wed, 18 Nov 2009 00:36:20 +0000 Subject: [PATCH] Merged revision 1328 from https://origsvn.digium.com/svn/libpri/team/mattf/libpri-1.4-q921-rewrite .......... r1328 | mattf | 2009-11-17 15:16:11 -0600 (Tue, 17 Nov 2009) | 1 line outboundbroadcast isn't set at this time, since it is set after the message is transmited, so we must use other criteria to determine the need for broadcast on a setup .......... git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1331 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/q931.c b/q931.c index 3640722..5b60352 100644 --- a/q931.c +++ b/q931.c @@ -3980,7 +3980,10 @@ static int send_message(struct pri *ctrl, q931_call *call, int msgtype, int ies[ * If those are true, we need to send the SETUP in a UI frame * instead of an I-frame. */ - uiframe = call->outboundbroadcast; + if (BRI_NT_PTMP(ctrl)) + uiframe = 1; + else + uiframe = 0; break; case Q931_FACILITY: if (ctrl->tei == Q921_TEI_GROUP) {