Thank you very much for the answers.
For the 2nd problem I have a trick, I've seen that the GSW% values are attached to the call, like this:
[code]received from 65959(buc_tserver_p_760)blum.crm.orange.intra:3200(fd=) message EventRouteUsed
AttributeReferenceID 21476
AttributeReason [14] 00 01 01 00..
'RTR' 337
AttributeCallState 0
AttributeThisQueue '4104'
AttributeCallType 3
AttributeCallID 18105518
AttributeConnID 015201b0e18365e6
AttributeCallUUID '00F75TJHM4D199VTLG832CTAES1QEHRD'
AttributeUserData [1289] 00 30 00 00..
'GSW_PHONE' '#31#XXXXXXXX'
'GSW_TZ_OFFSET' 14400
'GSW_CHAIN_ID' 1
'k_ocs_cli' 'XXXXXXXXX'
'k_ocs_cust_number' 'YYYYYYYYYY'
'k_ocs_customer_type' 'BPTN'
'k_ocs_record_date' ''
'k_ocs_balance' '1270.8'
'k_ocs_cust_promise' ''
'k_ocs_cust_name' 'MIELU'
'k_ocs_fix_phone' 'XXXXXXXXXXX'
'k_ocs_cust_field_1' 'Dev.Mielu'
'k_ocs_account_id' '3294266'
'k_ocs_contact_id' '20581491'
'k_ocs_custolder' 'Old_Customer'
'k_ocs_inv_date' '27-APR-2009'
'GSW_RECORD_HANDLE' 197146
'GSW_CALLING_LIST' 'Collection_Auto'
'GSW_CAMPAIGN_NAME' 'Campaign Auto'
'GSW_APPLICATION_ID' 143
'GSW_ATTEMPTS' 0
'GSW_CALL_RESULT' 0
'Myscript' '940'
'ScriptName' 'NRRT_8142_TEST'
'EAP' '940'
'Collection Manual' 'Collection Manual'
'RTargetAgentGroup' 'Collection_Auto'
'RVQID' ''
'RTargetTypeSelected' '2'
'RTargetRuleSelected' ''
'RTargetObjectSelected' 'Collection_Auto'
'RTargetObjSelDBID' '847'
'RTargetAgentSelected' 'it_softphone1'
'RTargetPlaceSelected' 'Place_4112_buc'
'RTenant' 'Resources'
'RStrategyName' 'Test_VTO'
'RStrategyDBID' '609'
'CBR-actual_volume' ''
'CBR-Interaction_cost' ''
'CBR-contract_DBIDs' ''
'CBR-IT-path_DBIDs' ''
'RRequestedSkillCombination' ''
'RRequestedSkills'(list)
'RTargetRequested' 'Collection_Auto'
'CustomerSegment' 'default'
'ServiceType' 'default'
'ServiceObjective' ''
'PegAGCollection_Auto' 1
AttributeThisDN '4104'
AttributeThisDNRole 2
AttributeOtherTrunk 24544
AttributeOtherDNRole 2
AttributeOtherDN 'XXXXXXXXXX'
AttributeThirdPartyDN '4112'
AttributeThirdPartyDNRole 2
AttributeTimeinSecs 1250079151 (15:12:31)
AttributeTimeinuSecs 815625
AttributeEventSequenceNumber 000000001b3e3788[/code]
And I can collect data with my ActiveX control triggered when the call si ringing at the agent, and then, with the GSW_RECORD_HANDLE I can send mesages (I hope) to OCS to update the calling list the the campaign

Thanks again Rene