Allow mISDN to send PROGRESS messsage.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 10 May 2013 22:12:52 +0000 (22:12 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 10 May 2013 22:12:52 +0000 (22:12 +0000)
* Made isdn_msg_parser.c build a progress message with the mandatory
progress indicator IE.  (The mISDNuser NT state machine rejected sending
the incomplete message.)

Note: The associated mISDN and mISDNuser patches respectively are viewable
here:
http://svnview.digium.com/svn/thirdparty?view=rev&rev=200
http://svnview.digium.com/svn/thirdparty?view=rev&rev=201

(closes issue AST-1153)
Reported by: Guenther Kelleter
Patches:
      progress-chan_misdn.diff (license #6372) patch uploaded by Guenther Kelleter
      progress-misdn.diff (license #6372) mISDN patch uploaded by Guenther Kelleter
      progress-misdnuser.diff (license #6372) mISDNuser patch uploaded by Guenther Kelleter
........

Merged revisions 388425 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 388426 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388427 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/misdn/isdn_msg_parser.c

index 7f087c4..0e0ceea 100644 (file)
@@ -283,6 +283,8 @@ static msg_t *build_progress (struct isdn_msg msgs[], struct misdn_bchannel *bc,
 
        progress=(PROGRESS_t*)((msg->data+HEADER_LEN));
 
+       enc_ie_progress(&progress->PROGRESS, msg, 0, nt ? 1 : 5, 8, nt, bc);
+
        if (bc->fac_out.Function != Fac_None) {
                enc_ie_facility(&progress->FACILITY, msg, &bc->fac_out, nt);
        }