diff options
author | crichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-16 08:21:21 +0000 |
---|---|---|
committer | crichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-16 08:21:21 +0000 |
commit | 89f734ab31dd6dd8f0ecd37a35a94be5c6c881be (patch) | |
tree | 921404a0c1021be000e97f6904f627806fa5d80a /channels | |
parent | ab1ee9aa063a71d0b60a32dfa996fd84ed378872 (diff) |
0x80 + protocol is wrong for USERUSER when we want to send IA5 Chars.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@79642 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/misdn/ie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/misdn/ie.c b/channels/misdn/ie.c index 914004132..2e7fae998 100644 --- a/channels/misdn/ie.c +++ b/channels/misdn/ie.c @@ -1361,7 +1361,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); p[0] = IE_USER_USER; p[1] = l; - p[2] = 0x80 + protocol; + p[2] = protocol; memcpy(p+3, user, user_len); } #endif |