[asterisk-commits] rmudgett: branch certified-11.2 r388471 - in /certified/branches/11.2: ./ cha...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 10 17:34:45 CDT 2013


Author: rmudgett
Date: Fri May 10 17:34:43 2013
New Revision: 388471

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=388471
Log:
Allow mISDN to send PROGRESS messsage.

* 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

Modified:
    certified/branches/11.2/   (props changed)
    certified/branches/11.2/channels/misdn/isdn_msg_parser.c

Propchange: certified/branches/11.2/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Modified: certified/branches/11.2/channels/misdn/isdn_msg_parser.c
URL: http://svnview.digium.com/svn/asterisk/certified/branches/11.2/channels/misdn/isdn_msg_parser.c?view=diff&rev=388471&r1=388470&r2=388471
==============================================================================
--- certified/branches/11.2/channels/misdn/isdn_msg_parser.c (original)
+++ certified/branches/11.2/channels/misdn/isdn_msg_parser.c Fri May 10 17:34:43 2013
@@ -282,6 +282,8 @@
 	msg_t *msg =(msg_t*)create_l3msg(CC_PROGRESS | REQUEST, MT_PROGRESS,  bc?bc->l3_id:-1, sizeof(PROGRESS_t) ,nt);
 
 	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);




More information about the asterisk-commits mailing list