[asterisk-commits] rmudgett: branch 1.8 r388425 - /branches/1.8/channels/misdn/isdn_msg_parser.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 10 17:09:33 CDT 2013
Author: rmudgett
Date: Fri May 10 17:09:32 2013
New Revision: 388425
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=388425
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
Modified:
branches/1.8/channels/misdn/isdn_msg_parser.c
Modified: branches/1.8/channels/misdn/isdn_msg_parser.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/misdn/isdn_msg_parser.c?view=diff&rev=388425&r1=388424&r2=388425
==============================================================================
--- branches/1.8/channels/misdn/isdn_msg_parser.c (original)
+++ branches/1.8/channels/misdn/isdn_msg_parser.c Fri May 10 17:09:32 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