Pièce jointe « PALMH323-1-55-auf0.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-10 12:32:36.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', ' ', 'v', '1', '.', '5', '5', '-', '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:11:58.000000000 +0000
286 @@ -16,8 +16,10 @@
287 void Iax2Hangup();
288 void Iax2Connect();
289 void Iax2CallHold();
290 + // void Iax2AttendedTransfer();
291 + // void Iax2UnattendedTransfer(PXCHAR pDstNumber);
292 + void Iax2_AUF_SendKey(UCHAR iKey);
293 void Iax2AttendedTransfer();
294 - void Iax2UnattendedTransfer(PXCHAR pDstNumber);
295 void Iax2HandleTimer();
296 void Iax2SendDtmfKeys(PXCHAR pKeyBuf, UCHAR iLen);
297 void Iax2SendVoice(UCHAR iLen, PXCHAR pData);
298 diff --ignore-file-name-case -ur PALMH323.orig/main/function.c PALMH323/main/function.c
299 --- PALMH323.orig/main/function.c 2006-10-08 11:21:48.000000000 +0000
300 +++ PALMH323/main/function.c 2006-10-31 12:27:21.000000000 +0000
301 @@ -798,14 +798,7 @@
302 #endif
303
304 #ifdef CALL_IAX2
305 - if (p_strlen_x(Key_pBuf))
306 - {
307 - Iax2UnattendedTransfer(Key_pBuf);
308 - }
309 - else
310 - {
311 - Iax2AttendedTransfer();
312 - }
313 + Iax2AttendedTransfer();
314 #endif
315 KeypadClear();
316 }
317 diff --ignore-file-name-case -ur PALMH323.orig/p_apps/lcd_fr.c PALMH323/p_apps/lcd_fr.c
318 --- PALMH323.orig/p_apps/lcd_fr.c 2006-10-08 11:21:50.000000000 +0000
319 +++ PALMH323/p_apps/lcd_fr.c 2006-11-10 12:38:08.000000000 +0000
320 @@ -1,82 +1,82 @@
321 -CCHAR g_cWeekDay[DAYS_PER_WEEK][4] = {"DIM", "LUN", "MAR", "MER", "JEU", "VEN", "SAM"};
322 -CCHAR g_cMonth[MONTHS_PER_YEAR][4] = {"JAN", "FEV", "MAR", "AVR", "MAI", "JUI", "JUL", "AOU", "SEP", "OCT", "NOV", "DEC"};
323 +CCHAR g_cWeekDay[DAYS_PER_WEEK][4] = {"Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"};
324 +CCHAR g_cMonth[MONTHS_PER_YEAR][4] = {"jan", "fev", "mar", "avr", "mai", "jui", "jul", "aou", "sep", "oct", "nov", "dec"};
325
326 CCHAR g_cPasswordPrompt[] = "Mot de passe:";
327 CCHAR g_cSettings[] = "Configuration";
328
329 CCHAR g_cEnableLabel[] = "1[Activer]";
330 -CCHAR g_cDisableLabel[] = "0[Deactiver]";
331 +CCHAR g_cDisableLabel[] = "0[Desactiver]";
332 CCHAR g_cInvalidLabel[] = "Invalide";
333 -CCHAR g_cSuperLable[] = "Passwd Administ..";
334 +CCHAR g_cSuperLable[] = "MdP Admin.";
335
336 -CCHAR g_cBooting[] = "Booting ...";
337 -CCHAR g_cReady[] = "Pret";
338 -CCHAR g_cLocalIP[] = "IP Locale";
339 -CCHAR g_cSubnetMask[] = "Masque S/ Reseau";
340 -CCHAR g_cRouterIP[] = "Adresse Routeur";
341 -CCHAR g_cServiceIP[] = "Adresse serveur";
342 -CCHAR g_cPhoneNumber[] = "Numero du Poste";
343 -CCHAR g_cMissedCalls[] = "Appels Manques:";
344 -CCHAR g_cAnsweredCalls[] = "Appels Recus:";
345 -CCHAR g_cDialedCalls[] = "Appels Emis:";
346 +CCHAR g_cBooting[] = "Initialisation";
347 +CCHAR g_cReady[] = "Telephone pret !";
348 +CCHAR g_cLocalIP[] = "IP locale";
349 +CCHAR g_cSubnetMask[] = "Masque reseau";
350 +CCHAR g_cRouterIP[] = "IP routeur";
351 +CCHAR g_cServiceIP[] = "IP serveur";
352 +CCHAR g_cPhoneNumber[] = "Numero du poste";
353 +CCHAR g_cMissedCalls[] = "Appels manques:";
354 +CCHAR g_cAnsweredCalls[] = "Appels recus:";
355 +CCHAR g_cDialedCalls[] = "Appels emis:";
356 CCHAR g_cEmpty[] = "Vide";
357 CCHAR g_cMemory[] = "Memoire";
358 -CCHAR g_cSpeedDial[] = "selection Rapide:";
359 +CCHAR g_cSpeedDial[] = "Selection rapide:";
360 CCHAR g_cVolPlus[] = "Vol+";
361 CCHAR g_cVolMinus[] = "Vol-";
362 CCHAR g_cRedial[] = "Bis";
363 CCHAR g_cCall[] = "Appel";
364 -CCHAR g_cCalling[] = "Appel En cours...";
365 -CCHAR g_cRinging[] = "Sonnerie ...";
366 -CCHAR g_cAnswering[] = "Reponse ...";
367 +CCHAR g_cCalling[] = "Appel en cours";
368 +CCHAR g_cRinging[] = "Sonnerie";
369 +CCHAR g_cAnswering[] = "Reponse";
370 CCHAR g_cConnected[] = "Connecte";
371 CCHAR g_cBlank[] = " ";
372 CCHAR g_cFailed[] = "Echoue";
373 -CCHAR g_cHandsetUp[] = "Vol+ Combine";
374 -CCHAR g_cHandsetDown[] = "Vol- Combine";
375 +CCHAR g_cHandsetUp[] = "Vol+ combine";
376 +CCHAR g_cHandsetDown[] = "Vol- combine";
377 CCHAR g_cNetwork[] = "Reseau";
378 CCHAR g_cDHCP[] = "DHCP";
379 CCHAR g_cPPPoE[] = "PPPoE";
380 -CCHAR g_cLogon[] = "Ouverture Session";
381 -CCHAR g_cLogoff[] = "Log Off";
382 -CCHAR g_cUpdating[] = "Mise a jour ...";
383 -CCHAR g_cPleaseWait[] = "Patientez Svp";
384 -CCHAR g_cTestMode[] = "Mode Test ...";
385 +CCHAR g_cLogon[] = "Ouverture session";
386 +CCHAR g_cLogoff[] = "Deconnexion";
387 +CCHAR g_cUpdating[] = "Mise a jour";
388 +CCHAR g_cPleaseWait[] = "Patientez SVP";
389 +CCHAR g_cTestMode[] = "MODE TEST";
390 CCHAR g_cStart[] = "Debut";
391 CCHAR g_cStop[] = "Arret";
392 CCHAR g_cRestart[] = "Redemarrage";
393 CCHAR g_cPercentStart[] = " 0%";
394 CCHAR g_cTimeStart[] = "00:00:00";
395 -CCHAR g_cConnecting[] = "Connexion en cours";
396 -CCHAR g_cDisconnecting[] = "Disconnecting...";
397 +CCHAR g_cConnecting[] = "Connexion ...";
398 +CCHAR g_cDisconnecting[] = "Deconnexion";
399 CCHAR g_cModem[] = "Modem";
400 -CCHAR g_cPeerHangup[] = "Dest: Raccrocher";
401 +CCHAR g_cPeerHangup[] = "Dest. a raccroche";
402 CCHAR g_cPeerBusy[] = "Occupe";
403 -CCHAR g_cCallHold[] = "Appel En Attente";
404 -CCHAR g_cPleaseDial[] = "Numerotez Svp ...";
405 -CCHAR g_cNoAnswer[] = "Pas de Reponse";
406 -CCHAR g_cPeerReject[] = "Dest: Rejet appel";
407 -CCHAR g_cLocalHangup[] = "Dernier Appel:";
408 -CCHAR g_cWaitLogon[] = "Attente D'Acces...";
409 -CCHAR g_cNetworkError[] = "Erreur Reseau";
410 +CCHAR g_cCallHold[] = "Appel en attente";
411 +CCHAR g_cPleaseDial[] = "Numerotez ...";
412 +CCHAR g_cNoAnswer[] = "Pas de reponse";
413 +CCHAR g_cPeerReject[] = "Dst refuse l'appel";
414 +CCHAR g_cLocalHangup[] = "Dernier appel:";
415 +CCHAR g_cWaitLogon[] = "Attente d'acces...";
416 +CCHAR g_cNetworkError[] = "Erreur reseau";
417 CCHAR g_cServiceClearCall[] = "Lib Appel Systeme";
418 -CCHAR g_cPleaseHangup[] = "Raccrochez Svp";
419 -CCHAR g_cCallForward[] = "Renvoie Appel";
420 -CCHAR g_cInvalidNumber[] = "Numero Invalide";
421 -CCHAR g_cUnknownNumber[] = "Numero Inconnu";
422 -CCHAR g_cDuplicateNumber[] = "Numero Duplique";
423 -CCHAR g_cCallRestricted[] = "Appel Restreint";
424 -CCHAR g_cCallTerminated[] = "Call Terminated";
425 -CCHAR g_cRecharge[] = "Recharger Svp";
426 -CCHAR g_cAccountExpired[] = "Compte Expire";
427 -CCHAR g_cInvalidPassword[] = "Passwd Invalide";
428 -CCHAR g_cBlockedNumber[] = "Numero Bloque";
429 -CCHAR g_cDuplicatedIP[] = "Adrs IP Duplique!";
430 -CCHAR g_cCallWaiting[] = "Call Waiting";
431 -CCHAR g_cNewMessage[] = "Message arrive";
432 +CCHAR g_cPleaseHangup[] = "Raccrochez";
433 +CCHAR g_cCallForward[] = "Renvoi";
434 +CCHAR g_cInvalidNumber[] = "Numero invalide";
435 +CCHAR g_cUnknownNumber[] = "Numero inconnu";
436 +CCHAR g_cDuplicateNumber[] = "Numero duplique";
437 +CCHAR g_cCallRestricted[] = "Appel restreint";
438 +CCHAR g_cCallTerminated[] = "Fin d'appel";
439 +CCHAR g_cRecharge[] = "Rechargez SVP";
440 +CCHAR g_cAccountExpired[] = "Compte expire";
441 +CCHAR g_cInvalidPassword[] = "MdP invalide";
442 +CCHAR g_cBlockedNumber[] = "Numero bloque";
443 +CCHAR g_cDuplicatedIP[] = "Adr. IP dupliquee!";
444 +CCHAR g_cCallWaiting[] = "Appel en attente";
445 +CCHAR g_cNewMessage[] = "Messagerie";
446 CCHAR g_cCallTransfer[] = "Transfert";
447 CCHAR g_cProvisioning[] = "Provisioning";
448 -CCHAR g_cCallMuted[] = "Call Muted";
449 +CCHAR g_cCallMuted[] = "Silencieux";
450
451 #ifdef CALL_H323
452 CCHAR g_cProtocol[] = "H323";
453 diff --ignore-file-name-case -ur PALMH323.orig/P_IAX2/iax2.c PALMH323/P_IAX2/iax2.c
454 --- PALMH323.orig/P_IAX2/iax2.c 2006-10-08 11:21:52.000000000 +0000
455 +++ PALMH323/P_IAX2/iax2.c 2006-11-10 12:30:58.000000000 +0000
456 @@ -1391,47 +1391,6 @@
457 }
458 }
459
460 - void Iax2UnattendedTransfer(PXCHAR pDstNumber)
461 -{
462 - DCHAR iSession;
463 -
464 - iSession = Iax2_iCallSess[Iax2_iCurCall];
465 - iax2_ie_start();
466 - iax2_ie_add_xstr(IAX_IE_CALLED_NUMBER, pDstNumber);
467 - iax2_session_send_packet(iSession, AST_FRAME_IAX, IAX_COMMAND_TRANSFER, iax2_ie_get_len());
468 -}
469 -
470 - void Iax2AttendedTransfer()
471 -{
472 - DCHAR iAltCall, iAltSession;
473 - DCHAR iSession;
474 -
475 - iAltCall = 1 - Iax2_iCurCall;
476 - if (Iax2_iCallState[Iax2_iCurCall] != IAX_CALL_STATE_CONNECTED || Iax2_iCallState[iAltCall] != IAX_CALL_STATE_CONNECTED)
477 - {
478 - DebugCString((PCCHAR)"No two established calls");
479 - return;
480 - }
481 - iSession = Iax2_iCallSess[Iax2_iCurCall];
482 - iAltSession = Iax2_iCallSess[iAltCall];
483 -
484 - Sess_iTransSession[iSession] = iAltSession;
485 - Sess_iTransState[iSession] = IAX_TRANS_STATE_CONNECTING;
486 - p_rand_array(Sess_pTransferID[iSession], IAX_TRANSFERID_LEN);
487 - Sess_iTransCallNo[iSession] = Sess_iPeerCallNo[iAltSession];
488 - Iax2_iCallState[Iax2_iCurCall] = IAX_CALL_STATE_TRANSFERRING;
489 - iax2_send_txreq(iSession, Sess_iPeerPort[iAltSession], Sess_pPeerIP[iAltSession]);
490 -
491 - Sess_iTransSession[iAltSession] = iSession;
492 - Sess_iTransState[iAltSession] = IAX_TRANS_STATE_CONNECTING;
493 - p_memcpy_x2x(Sess_pTransferID[iAltSession], Sess_pTransferID[iSession], IAX_TRANSFERID_LEN);
494 - Sess_iTransCallNo[iAltSession] = Sess_iPeerCallNo[iSession];
495 - Iax2_iCallState[iAltCall] = IAX_CALL_STATE_TRANSFERRING;
496 - iax2_send_txreq(iAltSession, Sess_iPeerPort[iSession], Sess_pPeerIP[iSession]);
497 -
498 - Task_bCallTransfer = TRUE;
499 -}
500 -
501 void Iax2HandleTimer()
502 {
503 iax2_session_handle_timer();
504 @@ -1559,4 +1518,23 @@
505 }
506 }
507
508 +/* AUF */
509 +
510 + void Iax2_AUF_SendKey(UCHAR iKey) {
511 + DCHAR iKeyID;
512 + XCHAR pKeyBuf[2];
513 +
514 + if (!IsInCall()) return;
515 + if (Task_bCallHold) return;
516 +
517 + iKeyID = iKey;
518 + pKeyBuf[0] = iKeyID;
519 + Iax2SendDtmfKeys(pKeyBuf,1);
520 +}
521 +
522 + void Iax2AttendedTransfer() {
523 + Iax2_AUF_SendKey('*');
524 + Iax2_AUF_SendKey('2');
525 +}
526 +
527
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.