Skip to content
Snippets Groups Projects
Commit a3a32e66 authored by Christian Richter's avatar Christian Richter
Browse files

Merged revisions 79642 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r79642 | crichter | 2007-08-16 10:21:21 +0200 (Do, 16 Aug 2007) | 1 line

0x80 + protocol is wrong for USERUSER when we want to send IA5 Chars.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 0c321a54
No related branches found
No related tags found
No related merge requests found
...@@ -1356,7 +1356,7 @@ static void enc_ie_useruser(unsigned char **ntmode, msg_t *msg, int protocol, ch ...@@ -1356,7 +1356,7 @@ static void enc_ie_useruser(unsigned char **ntmode, msg_t *msg, int protocol, ch
qi->QI_ELEMENT(useruser) = p - (unsigned char *)qi - sizeof(Q931_info_t); qi->QI_ELEMENT(useruser) = p - (unsigned char *)qi - sizeof(Q931_info_t);
p[0] = IE_USER_USER; p[0] = IE_USER_USER;
p[1] = l; p[1] = l;
p[2] = 0x80 + protocol; p[2] = protocol;
memcpy(p+3, user, user_len); memcpy(p+3, user, user_len);
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment