From 6d6a045cc092a7d8eea48e8f9afc420cd3ca1b00 Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Thu, 16 Aug 2007 08:21:21 +0000 Subject: [PATCH] 0x80 + protocol is wrong for USERUSER when we want to send IA5 Chars. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@79642 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/misdn/ie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/misdn/ie.c b/channels/misdn/ie.c index 9140041320..2e7fae9982 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