aboutsummaryrefslogtreecommitdiffstats
path: root/net/gatekeeper/files/patch-aa
blob: 49b97934993f1b6c99971756a3d69a16df75a399 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- SignalConnection.cxx.orig   Sat Aug 19 05:48:21 2000
+++ SignalConnection.cxx    Sat Aug 19 05:52:48 2000
@@ -292,10 +292,10 @@
    PTRACE(4, "GK\tMessage type : " << (int)m_q931.GetMessageType());
    PTRACE(5, ANSI::BYEL << "Q931: " << m_q931 << ANSI::OFF << endl);
 
-   if(m_q931.HasField(GkQ931::UserUserField)) {
+   if(m_q931.HasIE(GkQ931::UserUserIE)) {
        H225_H323_UserInformation signal;
 
-       PPER_Stream q = m_q931.GetField(GkQ931::UserUserField);
+       PPER_Stream q = m_q931.GetIE(GkQ931::UserUserIE);
        if ( ! signal.Decode(q) ) {
            PTRACE(4, "GK\tERROR DECODING Q931.UserInformation!");
            return false;
@@ -354,11 +354,11 @@
        signal.Encode(sb);
        sb.CompleteEncoding();
        
-       m_q931.SetField(GkQ931::UserUserField, sb);
+       m_q931.SetIE(GkQ931::UserUserIE, sb);
    } 
    
-   if (m_q931.HasField(GkQ931::CalledPartyNumberField)) {
-       PBYTEArray n_array = m_q931.GetField(GkQ931::CalledPartyNumberField);
+   if (m_q931.HasIE(GkQ931::CalledPartyNumberIE)) {
+       PBYTEArray n_array = m_q931.GetIE(GkQ931::CalledPartyNumberIE);
        const char* n_bytes = (const char*) (n_array.GetPointer());
        PString n_string(n_bytes+1, n_array.GetSize()-1);
        if(Toolkit::Instance()->RewritePString(n_string))