Pièce jointe « PALMH323-1-55-auf1.patch »
Téléchargement 1 diff --ignore-file-name-case -ur PALMH323.orig/cleanall.bat PALMH323/cleanall.bat
2 --- PALMH323.orig/cleanall.bat 2006-10-08 11:20:40.000000000 +0000
3 +++ PALMH323/cleanall.bat 2006-10-31 12:40:42.000000000 +0000
4 @@ -280,42 +280,6 @@
5 del *.tmp
6 cd ..
7
8 -cd p_epn
9 -del *.bak
10 -del *.lst
11 -del *.obj
12 -del *.hex
13 -del *.m51
14 -del *.abs
15 -del *.xrf
16 -del *.~rj
17 -del *.wmc
18 -del *.scc
19 -del *.tmp
20 -del *.aps
21 -del *.plg
22 -rd debug /s /q
23 -rd release /s /q
24 -cd ..
25 -
26 -cd p_h323
27 -del *.bak
28 -del *.lst
29 -del *.obj
30 -del *.hex
31 -del *.m51
32 -del *.abs
33 -del *.xrf
34 -del *.~rj
35 -del *.wmc
36 -del *.scc
37 -del *.tmp
38 -del *.aps
39 -del *.plg
40 -rd debug /s /q
41 -rd release /s /q
42 -cd ..
43 -
44 cd p_iax2
45 del *.bak
46 del *.lst
47 @@ -334,42 +298,6 @@
48 rd release /s /q
49 cd ..
50
51 -cd p_mgcp
52 -del *.bak
53 -del *.lst
54 -del *.obj
55 -del *.hex
56 -del *.m51
57 -del *.abs
58 -del *.xrf
59 -del *.~rj
60 -del *.wmc
61 -del *.scc
62 -del *.tmp
63 -del *.aps
64 -del *.plg
65 -rd debug /s /q
66 -rd release /s /q
67 -cd ..
68 -
69 -cd p_n2p
70 -del *.bak
71 -del *.lst
72 -del *.obj
73 -del *.hex
74 -del *.m51
75 -del *.abs
76 -del *.xrf
77 -del *.~rj
78 -del *.wmc
79 -del *.scc
80 -del *.tmp
81 -del *.aps
82 -del *.plg
83 -rd debug /s /q
84 -rd release /s /q
85 -cd ..
86 -
87 cd p_sip
88 del *.bak
89 del *.lst
90 @@ -388,24 +316,6 @@
91 rd release /s /q
92 cd ..
93
94 -cd p_tcpip
95 -del *.bak
96 -del *.lst
97 -del *.obj
98 -del *.hex
99 -del *.m51
100 -del *.abs
101 -del *.xrf
102 -del *.~rj
103 -del *.wmc
104 -del *.scc
105 -del *.tmp
106 -del *.aps
107 -del *.plg
108 -rd debug /s /q
109 -rd release /s /q
110 -cd ..
111 -
112 cd p_util
113 del *.bak
114 del *.lst
115 @@ -424,24 +334,6 @@
116 rd release /s /q
117 cd ..
118
119 -cd p_wp
120 -del *.bak
121 -del *.lst
122 -del *.obj
123 -del *.hex
124 -del *.m51
125 -del *.abs
126 -del *.xrf
127 -del *.~rj
128 -del *.wmc
129 -del *.scc
130 -del *.tmp
131 -del *.aps
132 -del *.plg
133 -rd debug /s /q
134 -rd release /s /q
135 -cd ..
136 -
137 cd page0
138 del *.bak
139 del *.lst
140 @@ -689,129 +581,4 @@
141
142 cd ..
143
144 -if not exist p_user goto end
145 -
146 -cd p_user
147 - cd auvtech
148 - del *.bak
149 - del *.lst
150 - del *.obj
151 - del *.hex
152 - del *.m51
153 - del *.abs
154 - del *.xrf
155 - del *.~rj
156 - del *.wmc
157 - del *.scc
158 - del *.tmp
159 - cd ..
160 -
161 - cd asiainfo
162 - del *.bak
163 - del *.lst
164 - del *.obj
165 - del *.hex
166 - del *.m51
167 - del *.abs
168 - del *.xrf
169 - del *.~rj
170 - del *.wmc
171 - del *.scc
172 - del *.tmp
173 - cd ..
174 -
175 - cd ringtec
176 - del *.bak
177 - del *.lst
178 - del *.obj
179 - del *.hex
180 - del *.m51
181 - del *.abs
182 - del *.xrf
183 - del *.~rj
184 - del *.wmc
185 - del *.scc
186 - del *.tmp
187 - cd ..
188 -
189 - cd citron
190 - del *.bak
191 - del *.lst
192 - del *.obj
193 - del *.hex
194 - del *.m51
195 - del *.abs
196 - del *.xrf
197 - del *.~rj
198 - del *.wmc
199 - del *.scc
200 - del *.tmp
201 - cd ..
202 -
203 - cd yiyang
204 - del *.bak
205 - del *.lst
206 - del *.obj
207 - del *.hex
208 - del *.m51
209 - del *.abs
210 - del *.xrf
211 - del *.~rj
212 - del *.wmc
213 - del *.scc
214 - del *.tmp
215 - cd ..
216 -
217 - cd txtc
218 - del *.bak
219 - del *.lst
220 - del *.obj
221 - del *.hex
222 - del *.m51
223 - del *.abs
224 - del *.xrf
225 - del *.~rj
226 - del *.wmc
227 - del *.scc
228 - del *.tmp
229 - cd ..
230 -
231 - cd skycom
232 - del *.bak
233 - del *.lst
234 - del *.obj
235 - del *.hex
236 - del *.m51
237 - del *.abs
238 - del *.xrf
239 - del *.~rj
240 - del *.wmc
241 - del *.scc
242 - del *.tmp
243 - cd ..
244 -
245 - cd mediaring
246 - del *.bak
247 - del *.lst
248 - del *.obj
249 - del *.hex
250 - del *.m51
251 - del *.abs
252 - del *.xrf
253 - del *.~rj
254 - del *.wmc
255 - del *.scc
256 - del *.tmp
257 - cd ..
258 -
259 -del *.scc
260 -del *.aps
261 -del *.plg
262 -rd debug /s /q
263 -rd release /s /q
264 -cd ..
265 -
266 -
267 -
268 -:end
269
270 diff --ignore-file-name-case -ur PALMH323.orig/inc/flags.h PALMH323/inc/flags.h
271 --- PALMH323.orig/inc/flags.h 2006-10-08 11:20:48.000000000 +0000
272 +++ PALMH323/inc/flags.h 2006-11-16 16:02:08.000000000 +0000
273 @@ -34,7 +34,8 @@
274 #elif defined VER_TIGER
275 'T', 'I', 'N', 'Y', ' ', 'T', 'I', 'G', 'E', 'R', 0, 0, 0, 0, 0, 0,
276 #elif defined VER_YWH500
277 - ' ', ' ', ' ', 'I', 'P', ' ', 'P', 'H', 'O', 'N', 'E', ' ', '5', 0, 0, 0,
278 + // ' ', ' ', ' ', 'I', 'P', ' ', 'P', 'H', 'O', 'N', 'E', ' ', '5', 0, 0, 0,
279 + 'A', 'U', 'F', ' ', 'V', 'o', 'I', 'P', ' ', '1', '.', '5', '5', '-', '1', 0,
280 #elif defined VER_YWH300
281 ' ', ' ', ' ', 'I', 'P', ' ', 'P', 'H', 'O', 'N', 'E', ' ', '4', 0, 0, 0,
282 #elif defined VER_YWH200
283 diff --ignore-file-name-case -ur PALMH323.orig/inc/p_iax2.h PALMH323/inc/p_iax2.h
284 --- PALMH323.orig/inc/p_iax2.h 2006-10-08 11:20:50.000000000 +0000
285 +++ PALMH323/inc/p_iax2.h 2006-11-10 14:20:59.000000000 +0000
286 @@ -17,7 +17,7 @@
287 void Iax2Connect();
288 void Iax2CallHold();
289 void Iax2AttendedTransfer();
290 - void Iax2UnattendedTransfer(PXCHAR pDstNumber);
291 + void Iax2_AUF_SendKey(UCHAR iKey);
292 void Iax2HandleTimer();
293 void Iax2SendDtmfKeys(PXCHAR pKeyBuf, UCHAR iLen);
294 void Iax2SendVoice(UCHAR iLen, PXCHAR pData);
295 diff --ignore-file-name-case -ur PALMH323.orig/main/function.c PALMH323/main/function.c
296 --- PALMH323.orig/main/function.c 2006-10-08 11:21:48.000000000 +0000
297 +++ PALMH323/main/function.c 2006-10-31 12:27:21.000000000 +0000
298 @@ -798,14 +798,7 @@
299 #endif
300
301 #ifdef CALL_IAX2
302 - if (p_strlen_x(Key_pBuf))
303 - {
304 - Iax2UnattendedTransfer(Key_pBuf);
305 - }
306 - else
307 - {
308 - Iax2AttendedTransfer();
309 - }
310 + Iax2AttendedTransfer();
311 #endif
312 KeypadClear();
313 }
314 diff --ignore-file-name-case -ur PALMH323.orig/p_apps/lcd_fr.c PALMH323/p_apps/lcd_fr.c
315 --- PALMH323.orig/p_apps/lcd_fr.c 2006-10-08 11:21:50.000000000 +0000
316 +++ PALMH323/p_apps/lcd_fr.c 2006-11-16 16:01:35.000000000 +0000
317 @@ -1,82 +1,82 @@
318 -CCHAR g_cWeekDay[DAYS_PER_WEEK][4] = {"DIM", "LUN", "MAR", "MER", "JEU", "VEN", "SAM"};
319 -CCHAR g_cMonth[MONTHS_PER_YEAR][4] = {"JAN", "FEV", "MAR", "AVR", "MAI", "JUI", "JUL", "AOU", "SEP", "OCT", "NOV", "DEC"};
320 +CCHAR g_cWeekDay[DAYS_PER_WEEK][4] = {"Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"};
321 +CCHAR g_cMonth[MONTHS_PER_YEAR][4] = {"jan", "fev", "mar", "avr", "mai", "jui", "jul", "aou", "sep", "oct", "nov", "dec"};
322
323 CCHAR g_cPasswordPrompt[] = "Mot de passe:";
324 CCHAR g_cSettings[] = "Configuration";
325
326 CCHAR g_cEnableLabel[] = "1[Activer]";
327 -CCHAR g_cDisableLabel[] = "0[Deactiver]";
328 +CCHAR g_cDisableLabel[] = "0[Desactiver]";
329 CCHAR g_cInvalidLabel[] = "Invalide";
330 -CCHAR g_cSuperLable[] = "Passwd Administ..";
331 +CCHAR g_cSuperLable[] = "MdP Admin.";
332
333 -CCHAR g_cBooting[] = "Booting ...";
334 -CCHAR g_cReady[] = "Pret";
335 -CCHAR g_cLocalIP[] = "IP Locale";
336 -CCHAR g_cSubnetMask[] = "Masque S/ Reseau";
337 -CCHAR g_cRouterIP[] = "Adresse Routeur";
338 -CCHAR g_cServiceIP[] = "Adresse serveur";
339 -CCHAR g_cPhoneNumber[] = "Numero du Poste";
340 -CCHAR g_cMissedCalls[] = "Appels Manques:";
341 -CCHAR g_cAnsweredCalls[] = "Appels Recus:";
342 -CCHAR g_cDialedCalls[] = "Appels Emis:";
343 +CCHAR g_cBooting[] = "Initialisation";
344 +CCHAR g_cReady[] = "Telephone pret !";
345 +CCHAR g_cLocalIP[] = "IP locale";
346 +CCHAR g_cSubnetMask[] = "Masque reseau";
347 +CCHAR g_cRouterIP[] = "IP routeur";
348 +CCHAR g_cServiceIP[] = "IP serveur";
349 +CCHAR g_cPhoneNumber[] = "Numero du poste";
350 +CCHAR g_cMissedCalls[] = "Appels manques:";
351 +CCHAR g_cAnsweredCalls[] = "Appels recus:";
352 +CCHAR g_cDialedCalls[] = "Appels emis:";
353 CCHAR g_cEmpty[] = "Vide";
354 CCHAR g_cMemory[] = "Memoire";
355 -CCHAR g_cSpeedDial[] = "selection Rapide:";
356 +CCHAR g_cSpeedDial[] = "Selection rapide:";
357 CCHAR g_cVolPlus[] = "Vol+";
358 CCHAR g_cVolMinus[] = "Vol-";
359 CCHAR g_cRedial[] = "Bis";
360 CCHAR g_cCall[] = "Appel";
361 -CCHAR g_cCalling[] = "Appel En cours...";
362 -CCHAR g_cRinging[] = "Sonnerie ...";
363 -CCHAR g_cAnswering[] = "Reponse ...";
364 +CCHAR g_cCalling[] = "Appel en cours";
365 +CCHAR g_cRinging[] = "Sonnerie";
366 +CCHAR g_cAnswering[] = "Reponse";
367 CCHAR g_cConnected[] = "Connecte";
368 CCHAR g_cBlank[] = " ";
369 CCHAR g_cFailed[] = "Echoue";
370 -CCHAR g_cHandsetUp[] = "Vol+ Combine";
371 -CCHAR g_cHandsetDown[] = "Vol- Combine";
372 +CCHAR g_cHandsetUp[] = "Vol+ combine";
373 +CCHAR g_cHandsetDown[] = "Vol- combine";
374 CCHAR g_cNetwork[] = "Reseau";
375 CCHAR g_cDHCP[] = "DHCP";
376 CCHAR g_cPPPoE[] = "PPPoE";
377 -CCHAR g_cLogon[] = "Ouverture Session";
378 -CCHAR g_cLogoff[] = "Log Off";
379 -CCHAR g_cUpdating[] = "Mise a jour ...";
380 -CCHAR g_cPleaseWait[] = "Patientez Svp";
381 -CCHAR g_cTestMode[] = "Mode Test ...";
382 +CCHAR g_cLogon[] = "Ouverture session";
383 +CCHAR g_cLogoff[] = "Deconnexion";
384 +CCHAR g_cUpdating[] = "Mise a jour";
385 +CCHAR g_cPleaseWait[] = "Patientez SVP";
386 +CCHAR g_cTestMode[] = "MODE TEST";
387 CCHAR g_cStart[] = "Debut";
388 CCHAR g_cStop[] = "Arret";
389 CCHAR g_cRestart[] = "Redemarrage";
390 CCHAR g_cPercentStart[] = " 0%";
391 CCHAR g_cTimeStart[] = "00:00:00";
392 -CCHAR g_cConnecting[] = "Connexion en cours";
393 -CCHAR g_cDisconnecting[] = "Disconnecting...";
394 +CCHAR g_cConnecting[] = "Connexion ...";
395 +CCHAR g_cDisconnecting[] = "Deconnexion";
396 CCHAR g_cModem[] = "Modem";
397 -CCHAR g_cPeerHangup[] = "Dest: Raccrocher";
398 +CCHAR g_cPeerHangup[] = "Dest. a raccroche";
399 CCHAR g_cPeerBusy[] = "Occupe";
400 -CCHAR g_cCallHold[] = "Appel En Attente";
401 -CCHAR g_cPleaseDial[] = "Numerotez Svp ...";
402 -CCHAR g_cNoAnswer[] = "Pas de Reponse";
403 -CCHAR g_cPeerReject[] = "Dest: Rejet appel";
404 -CCHAR g_cLocalHangup[] = "Dernier Appel:";
405 -CCHAR g_cWaitLogon[] = "Attente D'Acces...";
406 -CCHAR g_cNetworkError[] = "Erreur Reseau";
407 +CCHAR g_cCallHold[] = "Appel en attente";
408 +CCHAR g_cPleaseDial[] = "Numerotez ...";
409 +CCHAR g_cNoAnswer[] = "Pas de reponse";
410 +CCHAR g_cPeerReject[] = "Dst refuse l'appel";
411 +CCHAR g_cLocalHangup[] = "Dernier appel:";
412 +CCHAR g_cWaitLogon[] = "Attente d'acces...";
413 +CCHAR g_cNetworkError[] = "Erreur reseau";
414 CCHAR g_cServiceClearCall[] = "Lib Appel Systeme";
415 -CCHAR g_cPleaseHangup[] = "Raccrochez Svp";
416 -CCHAR g_cCallForward[] = "Renvoie Appel";
417 -CCHAR g_cInvalidNumber[] = "Numero Invalide";
418 -CCHAR g_cUnknownNumber[] = "Numero Inconnu";
419 -CCHAR g_cDuplicateNumber[] = "Numero Duplique";
420 -CCHAR g_cCallRestricted[] = "Appel Restreint";
421 -CCHAR g_cCallTerminated[] = "Call Terminated";
422 -CCHAR g_cRecharge[] = "Recharger Svp";
423 -CCHAR g_cAccountExpired[] = "Compte Expire";
424 -CCHAR g_cInvalidPassword[] = "Passwd Invalide";
425 -CCHAR g_cBlockedNumber[] = "Numero Bloque";
426 -CCHAR g_cDuplicatedIP[] = "Adrs IP Duplique!";
427 -CCHAR g_cCallWaiting[] = "Call Waiting";
428 -CCHAR g_cNewMessage[] = "Message arrive";
429 +CCHAR g_cPleaseHangup[] = "Raccrochez";
430 +CCHAR g_cCallForward[] = "Renvoi";
431 +CCHAR g_cInvalidNumber[] = "Numero invalide";
432 +CCHAR g_cUnknownNumber[] = "Numero inconnu";
433 +CCHAR g_cDuplicateNumber[] = "Numero duplique";
434 +CCHAR g_cCallRestricted[] = "Appel restreint";
435 +CCHAR g_cCallTerminated[] = "Fin d'appel";
436 +CCHAR g_cRecharge[] = "Rechargez SVP";
437 +CCHAR g_cAccountExpired[] = "Compte expire";
438 +CCHAR g_cInvalidPassword[] = "MdP invalide";
439 +CCHAR g_cBlockedNumber[] = "Numero bloque";
440 +CCHAR g_cDuplicatedIP[] = "Adr. IP dupliquee!";
441 +CCHAR g_cCallWaiting[] = "Appel en attente";
442 +CCHAR g_cNewMessage[] = "Messagerie";
443 CCHAR g_cCallTransfer[] = "Transfert";
444 -CCHAR g_cProvisioning[] = "Provisioning";
445 -CCHAR g_cCallMuted[] = "Call Muted";
446 +CCHAR g_cProvisioning[] = "Autoconfig";
447 +CCHAR g_cCallMuted[] = "Silencieux";
448
449 #ifdef CALL_H323
450 CCHAR g_cProtocol[] = "H323";
451 diff --ignore-file-name-case -ur PALMH323.orig/P_IAX2/iax2.c PALMH323/P_IAX2/iax2.c
452 --- PALMH323.orig/P_IAX2/iax2.c 2006-10-08 11:21:52.000000000 +0000
453 +++ PALMH323/P_IAX2/iax2.c 2006-11-10 12:30:58.000000000 +0000
454 @@ -1391,47 +1391,6 @@
455 }
456 }
457
458 - void Iax2UnattendedTransfer(PXCHAR pDstNumber)
459 -{
460 - DCHAR iSession;
461 -
462 - iSession = Iax2_iCallSess[Iax2_iCurCall];
463 - iax2_ie_start();
464 - iax2_ie_add_xstr(IAX_IE_CALLED_NUMBER, pDstNumber);
465 - iax2_session_send_packet(iSession, AST_FRAME_IAX, IAX_COMMAND_TRANSFER, iax2_ie_get_len());
466 -}
467 -
468 - void Iax2AttendedTransfer()
469 -{
470 - DCHAR iAltCall, iAltSession;
471 - DCHAR iSession;
472 -
473 - iAltCall = 1 - Iax2_iCurCall;
474 - if (Iax2_iCallState[Iax2_iCurCall] != IAX_CALL_STATE_CONNECTED || Iax2_iCallState[iAltCall] != IAX_CALL_STATE_CONNECTED)
475 - {
476 - DebugCString((PCCHAR)"No two established calls");
477 - return;
478 - }
479 - iSession = Iax2_iCallSess[Iax2_iCurCall];
480 - iAltSession = Iax2_iCallSess[iAltCall];
481 -
482 - Sess_iTransSession[iSession] = iAltSession;
483 - Sess_iTransState[iSession] = IAX_TRANS_STATE_CONNECTING;
484 - p_rand_array(Sess_pTransferID[iSession], IAX_TRANSFERID_LEN);
485 - Sess_iTransCallNo[iSession] = Sess_iPeerCallNo[iAltSession];
486 - Iax2_iCallState[Iax2_iCurCall] = IAX_CALL_STATE_TRANSFERRING;
487 - iax2_send_txreq(iSession, Sess_iPeerPort[iAltSession], Sess_pPeerIP[iAltSession]);
488 -
489 - Sess_iTransSession[iAltSession] = iSession;
490 - Sess_iTransState[iAltSession] = IAX_TRANS_STATE_CONNECTING;
491 - p_memcpy_x2x(Sess_pTransferID[iAltSession], Sess_pTransferID[iSession], IAX_TRANSFERID_LEN);
492 - Sess_iTransCallNo[iAltSession] = Sess_iPeerCallNo[iSession];
493 - Iax2_iCallState[iAltCall] = IAX_CALL_STATE_TRANSFERRING;
494 - iax2_send_txreq(iAltSession, Sess_iPeerPort[iSession], Sess_pPeerIP[iSession]);
495 -
496 - Task_bCallTransfer = TRUE;
497 -}
498 -
499 void Iax2HandleTimer()
500 {
501 iax2_session_handle_timer();
502 @@ -1559,4 +1518,23 @@
503 }
504 }
505
506 +/* AUF */
507 +
508 + void Iax2_AUF_SendKey(UCHAR iKey) {
509 + DCHAR iKeyID;
510 + XCHAR pKeyBuf[2];
511 +
512 + if (!IsInCall()) return;
513 + if (Task_bCallHold) return;
514 +
515 + iKeyID = iKey;
516 + pKeyBuf[0] = iKeyID;
517 + Iax2SendDtmfKeys(pKeyBuf,1);
518 +}
519 +
520 + void Iax2AttendedTransfer() {
521 + Iax2_AUF_SendKey('*');
522 + Iax2_AUF_SendKey('2');
523 +}
524 +
525
Fichiers joints
Pour vous référer aux pièces jointes d'une page, utilisez attachment:filename, comme indiqué ci-dessous dans la liste de fichiers. N'utilisez pas l'URL du lien [get], car elle peut changer et donc être facilement cassée.Vous n'êtes pas autorisé à joindre un fichier à cette page.