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
This commit is contained in:
Richard Mudgett 2009-11-18 00:36:20 +00:00
parent b698032e04
commit 04d911112d

5
q931.c
View File

@ -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 * If those are true, we need to send the SETUP in a UI frame
* instead of an I-frame. * instead of an I-frame.
*/ */
uiframe = call->outboundbroadcast; if (BRI_NT_PTMP(ctrl))
uiframe = 1;
else
uiframe = 0;
break; break;
case Q931_FACILITY: case Q931_FACILITY:
if (ctrl->tei == Q921_TEI_GROUP) { if (ctrl->tei == Q921_TEI_GROUP) {