on 12-17-2013 10:06 AM
Good morning all,
I work under CRM 6.0.
I have enhanced a view in the component ICCMP_BTPARTNER and in this custom view I have different push button with a telephone number.
I would like that when the user press the push button it create an outbound call to the number selected.
I have seen that when from dialpad.htm of the HiddenView of the component CRMCMP_IC_FRAME I compose a number and I press the button to call, It's triggered the method EH_ONFORWARDCALL of the controller CL_CRMCMP_I_CUCOHIDDENVIE_IMPL with the event "IC.NewRequest".
the method EH_ONFORWARDCALL prepare the object ref_event that is TYPE REF TO cl_crm_ic_event setting the parameters:
PARAM1-VALUE ContactStarted
PARAM2-VALUE phone
PARAM3-VALUE 5deabb9a-c7bd-4486-a925-296e3f681a7c
PARAM5-VALUE +892150
PARAM6-VALUE Outbound
After setting that it raise the event to the server using this code:
ref_event_service = cl_crm_ic_services=>get_event_srv_instance( ).
ref_event_service->raise( ref_event ).
So I would like to replicate this code to raise the outbound call eventi from my custom view.
So the question is, the parameter3 contains the reference of the new contact started, It's possible to create a new contact in my method and fill UP the parameters to call the outbound call from my custom view?
Many thanks
Marco
Looking in deep I saw that there is this class and method
CL_CRM_IC_MCM_SESSION_PROXY->MAKE_CALL
Internally it set the phonenumber, and with class CL_CRM_IC_ABAP_MCM_SERVICEexecute a "MakeCall" event.
In my system there i'snt the method MAKE_CALL of the class CL_CRM_IC_MCM_SESSION_PROXY, someone knows it?
Thanks
Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.