diff options
author | Richard Mudgett <rmudgett@digium.com> | 2013-05-10 22:12:52 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2013-05-10 22:12:52 +0000 |
commit | 785be439f9dc27ac7bfa86932c786edb38c49e92 (patch) | |
tree | 51c341ef024c901e3f1e76b32d5fe43051259d04 /channels/misdn | |
parent | 85fda4ca8716657cfecf7226a358e834db805204 (diff) |
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
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/misdn')
-rw-r--r-- | channels/misdn/isdn_msg_parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/misdn/isdn_msg_parser.c b/channels/misdn/isdn_msg_parser.c index 7f087c4b0..0e0ceea60 100644 --- a/channels/misdn/isdn_msg_parser.c +++ b/channels/misdn/isdn_msg_parser.c @@ -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); } |