aboutsummaryrefslogtreecommitdiffstats
path: root/net/ohphone/files/patch-aa
blob: c7beeb3b206ea230d89b4fe9002a33dbac1c947d (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
--- main.cxx.orig   Fri Sep 29 02:07:38 2000
+++ main.cxx    Sun Oct 22 19:13:43 2000
@@ -1221,7 +1221,9 @@
     if (callerIdCallWaitingEnable) {
       PString callerId = ((MyH323Connection &)connection).GetCallerIdString();
       cout << "Sending caller ID " << callerId << endl;
+#ifdef HAS_IXJ
       xJack.SetCallerID(OpalIxJDevice::POTSLine, callerId);
+#endif
     }
     return FALSE;
   }
@@ -2042,8 +2044,6 @@
   }
 }
 
-#endif
-
 unsigned MyH323EndPoint::VolumeToIXJ(int vol)
 {
   int hw;
@@ -2084,6 +2084,8 @@
 
   return vol;
 }
+
+#endif
 
 void MyH323EndPoint::HandleUserInterface()
 {