comparison gsm-fw/g23m-aci/aci/psa_ccs.c @ 807:1385f2c30ad8

aci: psa_cc?.c done
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 05 Apr 2015 07:07:26 +0000
parents eedbf248bac0
children
comparison
equal deleted inserted replaced
806:6ce960359fee 807:1385f2c30ad8
21 21
22 #ifndef PSA_CCS_C 22 #ifndef PSA_CCS_C
23 #define PSA_CCS_C 23 #define PSA_CCS_C
24 #endif 24 #endif
25 25
26 #include "config.h"
27 #include "fixedconf.h"
28 #include "condat-features.h"
29 #include "aci_conf.h"
30
26 #include "aci_all.h" 31 #include "aci_all.h"
27 32
28 /*==== INCLUDES ===================================================*/ 33 /*==== INCLUDES ===================================================*/
29 #include "ccdapi.h" 34 #include "ccdapi.h"
30 35
362 /* update call status */ 367 /* update call status */
363 pCtbNtry -> calStat = CS_DSC_REQ; 368 pCtbNtry -> calStat = CS_DSC_REQ;
364 369
365 //TISH, hot fix for GCF 27.22.7.3, added in 2007-03-23 370 //TISH, hot fix for GCF 27.22.7.3, added in 2007-03-23
366 //start 38.patch for GCF test case: 27.22.7.3 371 //start 38.patch for GCF test case: 27.22.7.3
367 if (pCtbNtry -> nrmCs EQ 0x510) 372 if (pCtbNtry -> nrmCs EQ 0x510)
368 { 373 {
369 pCtbNtry->numRawCauseBytes=2; 374 pCtbNtry->numRawCauseBytes=2;
370 ACI_MALLOC(pCtbNtry -> rawCauseBytes,2); 375 ACI_MALLOC(pCtbNtry -> rawCauseBytes,2);
371 pCtbNtry -> rawCauseBytes[0]=0xe0; 376 pCtbNtry -> rawCauseBytes[0]=0xe0;
372 pCtbNtry -> rawCauseBytes[1]=0x90; 377 pCtbNtry -> rawCauseBytes[1]=0x90;
373 } 378 }
374 //end 379 //end
375 380
376 381
377 /* monitoring for SAT */ 382 /* monitoring for SAT */
378 psaCC_send_satevent( EVENT_CALL_DISC, cId , NEAR_END, TRUE ); 383 psaCC_send_satevent( EVENT_CALL_DISC, cId , NEAR_END, TRUE );
379 384
380 //TISH, hot fix for GCF 27.22.7.3, added in 2007-03-23 385 //TISH, hot fix for GCF 27.22.7.3, added in 2007-03-23
381 //start 38.patch for GCF test case: 27.22.7.3 386 //start 38.patch for GCF test case: 27.22.7.3
382 if (pCtbNtry -> nrmCs EQ 0x510) 387 if (pCtbNtry -> nrmCs EQ 0x510)
383 { 388 {
384 pCtbNtry->numRawCauseBytes=0; 389 pCtbNtry->numRawCauseBytes=0;
385 ACI_MFREE(pCtbNtry -> rawCauseBytes); 390 ACI_MFREE(pCtbNtry -> rawCauseBytes);
386 } 391 }
387 //end 392 //end
388 393
389 } 394 }
390 /* Switch off audio path after user action (e.g. hangup) */ 395 /* Switch off audio path after user action (e.g. hangup) */
391 /* clb this breaks ACI056 (among others..) necessary ?? pCtbNtry -> inBndTns = FALSE; */ 396 /* clb this breaks ACI056 (among others..) necessary ?? pCtbNtry -> inBndTns = FALSE; */