4 * Copyright (TapiHandle *handle, c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Ja-young Gu <jygu@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (TapiHandle *handle, the "License", tapi_response_cb callback, void *user_data);
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
23 * @ingroup TelephonyAPI
24 * @addtogroup TAPI_CALL CALL
29 * Call APIs allow an application to accomplish the following services: @n
30 * - Make a mobile originated Emergency call, Voice call, or Video call. @n
31 * - Accept or Reject incoming calls. @n
33 * - Call dependent supplementary services such as call hold, retrieve, DTMF. @n
34 * - Multi -party call management, setup conference call, split conference call. @n
35 * - Call information such as get call information, get line identification number. @n
36 * - To verify whether a call (TapiHandle *handle, voice / video ) is possible at any given time. @n
39 #ifndef _ITAPI_CALL_H_
40 #define _ITAPI_CALL_H_
42 #include <tapi_common.h>
44 #include <TelDefines.h>
52 * @brief This function originates MO call setup. This is an asynchronous function. The function completes immediately and
53 * call setup proceeds in background.
55 * This API makes Dbus method call to Telephony Sever and gets immediate feedback.
56 * However it just means that the API request has been transfered to the CP successfully.
57 * The actual operation result is being delivered in the corresponding event asynchronously.
59 * @par Sync (TapiHandle *handle, or) Async:
60 * This is an Asynchronous API.
62 * @par Important Notes:
63 * - MO call setup continues in background. There are multiple states involved in the call setup procedure. Upon request completion
64 * successful or not, various event notifications are sent to client along with data associated with event
65 * (TapiHandle *handle, Successful data or error information) based on the indication or response received at the Telephony Server.
66 * - Setting up Emergency call
67 * - when #TelCallType_t is voice_call, voice call is setup unless dial_number parameter is an
68 * emergency number known to telephony FW (TapiHandle *handle, like 112 for all 2G and above, other numbers may operator
69 * specific or device configuration specific, so Telephony FW will read relevant SIM files and refer to internal
70 * configuration records). If an emergency number is passed and #TelCallType_t is voice_call, Telephony
71 * FW shall setup emergency phone call.
72 * - When #TelCallType_t is emergency call, emergency call is always set up.
77 * - handle from tel_init()
80 * - #TelCallDial_t contains the CallType(TapiHandle *handle, whether it is a voice call or data call etc) and number.
83 * @param [in] callback
84 * - To register callback function for result of this function.
86 * @param [in] user_data
87 * - user data for user specification
89 * @par Async Response Message:
90 * TAPI_EVENT_CALL_SETUP_CNF is sent to the application when the lower layers get the call originate response.
91 * Asynchronous return status is indicated by #TelCallCause_t and call handle is sent in the event data.
92 * Various asynchronous indications are described in the unsolicited notifications section . [Refer, \ref page8]
95 * - Initialize Dbus connection with #tel_init
96 * - Register caller's application name with #tel_register_app_name
97 * - Register telephony events to listen
98 * - A event loop is running to listen events
103 * @return Return Type (int) \n
104 * - 0 - indicating that the operation has completed successfully. \n
105 * - Else it will return failure and error code ( Refer Doxygen doc or #TapiResult_t)
107 * @par Prospective Clients:
108 * Embedded call application
110 * @see tel_answer_call tel_end_call
111 * \image html CallSetup.jpg
112 * \image latex CallSetup.jpg
115 * #include <ITapiCall.h>
118 * TapiHandle *handle;
119 * TelCallDial_t pParams;
120 * tapi_response_cb callback;
122 * char normal[16] = "1234";//Called party number
123 * memset( &pParams, 0, sizeof(TelCallDial_t));
124 * pParams.CallType = TAPI_CALL_TYPE_VOICE;
125 * strcpy( pParams.szNumber,normal);
127 * ret_status = tel_dial_call (handle, &pParams, callback, user_data); // outgoing call
135 int tel_dial_call(TapiHandle *handle, const TelCallDial_t *pParams, tapi_response_cb callback, void *user_data);
138 * @brief This function is used to answer the incoming call by accepting or rejecting the call.
140 * This API makes Dbus method call to Telephony Sever and gets immediate feedback.
141 * However it just means that the API request has been transfered to the CP successfully.
142 * The actual operation result is being delivered in the corresponding event asynchronously.
144 * @par Sync (TapiHandle *handle, or) Async:
145 * This is an Asynchronous API.
147 * @par Important Notes:
153 * - handle from tel_init()
155 * @param[in] CallHandle
156 * - This is the unique handle for referring the call. This call handle is available to Application through incoming call
157 * (TapiHandle *handle, TAPI_EVENT_CALL_INCOM_IND) event.
160 * - Answer type - accept / reject / replace / hold and accept. but, for CDMA, only accept is allowed.
162 * @param [in] callback
163 * - To register callback function for result of this function.
165 * @param [in] user_data
166 * - user data for user specification
168 * @par Async Response Message:
169 * - The event associated with this request is TAPI_EVENT_CALL_ANSWER_CNF. Asynchronous return status is
170 * indicated by #TelCallCause_t and call handle is sent in the event data.
171 * - TAPI_EVENT_CALL_CONNECTED_IND / TAPI_EVENT_CALL_END_IND event will be notified in case of call is accepted/rejected.
174 * - Initialize Dbus connection with #tel_init
175 * - Register caller's application name with #tel_register_app_name
176 * - Register telephony events to listen
177 * - A event loop is running to listen events
178 * - Call associated with call handle should be TAPI_CALL_STATE_INCOM state otherwise the API fails and there can be a
179 * maximum of 1 existing call.
184 * @return Return Type (TapiHandle *handle, int) \n
185 * - 0 - indicating that the operation has completed successfully. \n
186 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
188 * @par Prospective Clients:
189 * Embedded call application
191 * @see tel_dial_call tel_end_call
193 * \image html CallIncoming.jpg
194 * \image latex CallIncoming.jpg
197 * #include <ITapiCall.h>
200 * TapiHandle *handle;
201 * unsigned int CallHandle;
202 * TelCallAnswerType_t AnsType;
203 * tapi_response_cb callback;
206 * ret_status = tel_answer_call (handle, pCallHandle, AnsType, callback, user_data); // call answer
218 int tel_answer_call(TapiHandle *handle, unsigned int CallHandle, TelCallAnswerType_t AnsType, tapi_response_cb callback, void *user_data);
222 * @brief This function releases the call identified by Call Handle irrespective of call is hold or active state.
223 * It is used when releasing specific active call in multiparty call.
225 * This API makes Dbus method call to Telephony Sever and gets immediate feedback.
226 * However it just means that the API request has been transfered to the CP successfully.
227 * The actual operation result is being delivered in the corresponding event asynchronously.
230 * @par Sync (TapiHandle *handle, or) Async:
231 * This is an Asynchronous API.
233 * @par Important Notes:
234 * - In case of MPTY Call handle, Call end event is returned for each call in MPTY.
239 * - handle from tel_init()
241 * @param[in] CallHandle
242 * - Unique handle for referring the call.
244 * @param [in] callback
245 * - To register callback function for result of this function.
247 * @param [in] EndType
248 * - End Type - end specific call/end all calls/end all held calls/end all active calls
250 * @param [in] user_data
251 * - user data for user specification
253 * @par Async Response Message:
254 * - The event associated with this request is TAPI_EVENT_CALL_RELEASE_CNF and Asynchronous return status
255 * is indicated by #TelCallCause_t and call handle for the released call is sent in the event data..
257 * - The event TAPI_EVENT_CALL_END_IND_IND is received as final asynchronous response and the associated data is #TelCallEndInfo_t.
258 * Asynchronous return status is indicated by #TelCallCause_t.
261 * - Initialize Dbus connection with #tel_init
262 * - Register caller's application name with #tel_register_app_name
263 * - Register telephony events to listen
264 * - A event loop is running to listen events
265 * - Call handle should be valid and there should be an existing call in Active/hold state.
270 * @return Return Type (int) \n
271 * - 0 - indicating that the operation has completed successfully. \n
272 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
274 * @par Prospective Clients:
275 * Embedded call application
277 * @see tel_dial_call tel_answer_call
280 * #include <ITapiCall.h>
283 * TapiHandle *handle;
284 * unsigned int CallHandle;
285 * TelCallEndType_t EndType;
286 * tapi_response_cb callback;
289 * ret_status = tel_end_call (handle, pCallHandle, EndType, callback, user_data); // call end
298 int tel_end_call(TapiHandle *handle, unsigned int CallHandle, TelCallEndType_t EndType, tapi_response_cb callback, void *user_data);
303 * @brief This function puts the given call on hold. The call identified by Call Handle should be in active state.
305 * This API makes Dbus method call to Telephony Sever and gets immediate feedback.
306 * However it just means that the API request has been transfered to the CP successfully.
307 * The actual operation result is being delivered in the corresponding event asynchronously.
310 * @par Sync (TapiHandle *handle, or) Async:
311 * This is an Asynchronous API.
313 * @par Important Notes:
314 * - Call duration for the call will be calculated from the time call has been connected until call is released,
315 * i.e. Time duration during the call on hold will also be counted.
320 * - handle from tel_init()
322 * @param[in] CallHandle
323 * - Unique handle for referring the call.
325 * @param [in] callback
326 * - To register callback function for result of this function.
328 * @param [in] user_data
329 * - user data for user specification
331 * @par Async Response Message:
332 * - The event associated with this request is TAPI_EVENT_CALL_HOLD_CNF. Asynchronous return status is
333 * indicated by #TelCallCause_t and call handle is sent in the event data.
336 * - Initialize Dbus connection with #tel_init
337 * - Register caller's application name with #tel_register_app_name
338 * - Register telephony events to listen
339 * - A event loop is running to listen events
340 * - The call identified by the Call Handle should be in active state.
345 * @return Return Type (int) \n
346 * - 0 - indicating that the operation has completed successfully. \n
347 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
349 * @par Prospective Clients:
350 * Embedded call application
353 * #include <ITapiCall.h>
356 * TapiHandle *handle;
357 * unsigned int CallHandle;
358 * tapi_response_cb callback;
361 * ret_status = tel_hold_call(handle, CallHandle, callback, user_data); // hold call
365 * @see tel_retrieve_call
372 int tel_hold_call(TapiHandle *handle, unsigned int CallHandle, tapi_response_cb callback, void *user_data);
376 * @brief This function retrieves the held call. The call identified by Call Handle must be in held state.
378 * This API makes Dbus method call to Telephony Sever and gets immediate feedback.
379 * However it just means that the API request has been transfered to the CP successfully.
380 * The actual operation result is being delivered in the corresponding event asynchronously.
383 * @par Sync (TapiHandle *handle, or) Async:
384 * This is an Asynchronous API.
386 * @par Important Notes:
387 * - Call duration for the call will be calculated from the moment call has been connected until call is released.
392 * - handle from tel_init()
394 * @param[in] CallHandle
395 * - Unique handle for referring the call.
397 * @param [in] callback
398 * - To register callback function for result of this function.
400 * @param [in] user_data
401 * - user data for user specification
403 * @par Async Response Message:
404 * - The event associated with this request is TAPI_EVENT_CALL_RETRIEVE_CNF. Asynchronous return status is indicated
405 * by #TelCallCause_t and call handle is sent in the event data.
408 * - Initialize Dbus connection with #tel_init
409 * - Register caller's application name with #tel_register_app_name
410 * - Register telephony events to listen
411 * - A event loop is running to listen events
412 * - Call should be in held state in order to retrieve into active state and no active call present.
417 * @return Return Type (int) \n
418 * - 0 - indicating that the operation has completed successfully. \n
419 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
421 * @par Prospective Clients:
422 * Embedded call application
427 * #include <ITapiCall.h>
430 * TapiHandle *handle;
431 * unsigned int CallHandle;
432 * tapi_response_cb callback;
435 * ret_status = tel_active_call(handle, CallHandle, callback, user_data); // active call
443 int tel_active_call(TapiHandle *handle, unsigned int CallHandle, tapi_response_cb callback, void *user_data);
447 * @brief Swap calls. This is only for calls you dialed or answered with Telephony.
448 * Swap is only available for the voice calls.
450 * This API makes Dbus method call to Telephony Sever and gets immediate feedback.
451 * However it just means that the API request has been transfered to the CP successfully.
452 * The actual operation result is being delivered in the corresponding event asynchronously.
455 * During a call, user can place all active calls and accepts the other held call with this function.
456 * If the terminal is not within a call, it will fail.
459 * @par Sync (TapiHandle *handle, or) Async:
460 * This is an Asynchronous API.
462 * @par Important Notes:
468 * - handle from tel_init()
470 * @param[in] CallHandle1
471 * - This is active call
473 * @param[in] CallHandle2
474 * - This is Held call
476 * @param [in] callback
477 * - To register callback function for result of this function.
479 * @param [in] user_data
480 * - user data for user specification
482 * @par Async Response Message:
486 * - Initialize Dbus connection with #tel_init
487 * - Register caller's application name with #tel_register_app_name
488 * - Register telephony events to listen
489 * - A event loop is running to listen events
495 * @return Return Type (int) \n
496 * - 0 - indicating that the operation has completed successfully. \n
497 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
499 * @par Prospective Clients:
500 * Embedded call application
503 * #include <ITapiCall.h>
506 * TapiHandle *handle;
507 * unsigned int CallHandle1;
508 * unsigned int CallHandle2;
509 * tapi_response_cb callback;
512 * ret_status = tel_swap_call(handle, CallHandle1, CallHandle2, callback, user_data); // swap call
522 int tel_swap_call(TapiHandle *handle, unsigned int CallHandle1, unsigned int CallHandle2, tapi_response_cb callback, void *user_data);
526 * @brief This function sends one or more DTMF digits during the call.
529 * DTMF is abbreviation of Dual-tone-multi-frequency. It is used for telecommunication signaling
530 * over telephone lines in the voice-frequency band between UE and other communications devices.
531 * For example UE send DTMF tone to a server to choose options which the server provides.
532 * If the UE is not within a call, this function will fail with error code. *
534 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
535 * However it just means that the API request has been transfered to the CP successfully.
536 * The actual operation result is being delivered in the corresponding event asynchronously.
538 * @par Sync (TapiHandle *handle, or) Async:
539 * This is an Asynchronous API.
541 * @par Important Notes:
542 * -There will be a single asynchronous notification for all the DTMF digits sent. If the users of this API need an asynchronous
543 * response for each DTMF digit then User has to call this API multiple times passing each single DTMF digit in pDtmfString.
548 * - handle from tel_init()
550 * @param[in] pDtmfString
551 * - A Null terminated DTMF string to be sent from MS.
553 * @param [in] callback
554 * - To register callback function for result of this function.
556 * @param [in] user_data
557 * - user data for user specification
559 * @par Async Response Message:
560 * - The event associated with this request is TAPI_EVENT_CALL_SEND_DTMF_CNF. Asynchronous return status
561 * is indicated by #TelCallCause_t and call handle is sent in the event data.
564 * - Initialize Dbus connection with #tel_init
565 * - Register caller's application name with #tel_register_app_name
566 * - Register telephony events to listen
567 * - A event loop is running to listen events
568 * - Active call should be present.
573 * @return Return Type (TapiHandle *handle, int) \n
574 * - 0 - indicating that the operation has completed successfully. \n
575 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
577 * @par Prospective Clients:
578 * Embedded call application
581 * \image html CallDtmf.jpg
582 * \image latex CallDtmf.jpg
585 * #include <ITapiCall.h>
588 * TapiHandle *handle;
589 * unsigned int pCallHandle;
591 * char DtmfString[10] = {0, };
592 * strcpy(DtmfString, "123456789");//Sample DTMF digits that need to be sent
593 * ret_status= tel_call_dtmf(handle, DtmfString, callback, user_data);
604 int tel_call_dtmf(TapiHandle *handle, const char *pDtmfString, tapi_response_cb callback, void *user_data);
608 * @brief This function joins the given two calls (TapiHandle *handle, one call in active conversation state and other call in held state) into conference.
610 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
611 * However it just means that the API request has been transfered to the CP successfully.
612 * The actual operation result is being delivered in the corresponding event asynchronously.
615 * @par Sync (TapiHandle *handle, or) Async:
616 * This is an Asynchronous API.
618 * @par Important Notes:
619 * - Call handle of an active call or held call will be made as MPTY-id, and the other call handle will join in a conference).
624 * - handle from tel_init()
626 * @param[in] CallHandle1
627 * - The unique handle can be either an active call or held call.
629 * @param[in] CallHandle2
630 * - Unique call handle.
632 * @param [in] callback
633 * - To register callback function for result of this function.
635 * @param [in] user_data
636 * - user data for user specification
638 * @par Async Response Message:
639 * - The event associated with this request is TAPI_EVENT_CALL_SETUPCONFERENCE_CNF. Asynchronous return
640 * status is indicated by #TelCallCause_t and call handle of the MPTY call is sent in the event data.
643 * - Initialize Dbus connection with #tel_init
644 * - Register caller's application name with #tel_register_app_name
645 * - Register telephony events to listen
646 * - A event loop is running to listen events
647 * - For a Multiparty call or for joining two calls into conference, there should be one call in active state and another call
653 * @return Return Type (int) \n
654 * - 0 - indicating that the operation has completed successfully. \n
655 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
657 * @par Prospective Clients:
658 * Embedded call application
660 * @see tel_split_call
663 * #include <ITapiCall.h>
667 * unsigned int CallHandle1;
668 * unsigned int CallHandle2;
669 * tapi_response_cb callback;
673 * ret_status= tel_join_call(handle, CallHandle1, CallHandle2, callback, user_data); // call join
683 int tel_join_call(TapiHandle *handle, unsigned int CallHandle1, unsigned int CallHandle2, tapi_response_cb callback, void *user_data);
687 * @brief This function triggers to splits a private call from multiparty call. This API allows creating a private communication
688 * with one of remote parties in a multiparty session. TAPI client application has to pass the call handle which needs
689 * to split from the multiparty call.
691 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
692 * However it just means that the API request has been transfered to the CP successfully.
693 * The actual operation result is being delivered in the corresponding event asynchronously.
696 * @par Sync (TapiHandle *handle, or) Async:
697 * This is an Asynchronous API.
699 * @par Important Notes:
700 * - The list of call handles present in the conference call is retrieved using #tel_get_call_conf_list API
705 * - handle from tel_init()
707 * @param[in] CallHandle
708 * - Handle of call to be made private. Call handle referring to the call that is to be split from the conference
709 * (TapiHandle *handle, call to be made private).
711 * @param [in] callback
712 * - To register callback function for result of this function.
714 * @param [in] user_data
715 * - user data for user specification
717 * @par Async Response Message:
718 * - The event associated with this request is TAPI_EVENT_CALL_SPLITCONFERENCE_CNF. Asynchronous return status
719 * is indicated by #TelCallCause_t and call handle for the split call is sent in the event data.
722 * - Initialize Dbus connection with #tel_init
723 * - Register caller's application name with #tel_register_app_name
724 * - Register telephony events to listen
725 * - A event loop is running to listen events
726 * - Call should be in multiparty conference call.
729 * - Split call will be the active call and the conference will be held call.
731 * @return Return Type (int) \n
732 * - 0 - indicating that the operation has completed successfully. \n
733 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
735 * @par Prospective Clients:
736 * Embedded call application
738 * @see tel_join _call
741 * #include <ITapiCall.h>
744 * TapiHandle *handle;
745 * unsigned int CallHandle;
746 * tapi_response_cb callback;
749 * ret_status= tel_split_call(handle, CallHandle, callback, user_data); // call split
759 int tel_split_call(TapiHandle *handle, unsigned int CallHandle, tapi_response_cb callback, void *user_data);
763 * @brief Get the current calling line identification number.
765 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
766 * However it just means that the API request has been transfered to the CP successfully.
767 * The actual operation result is being delivered in the corresponding event asynchronously.
770 * If the USIM card has multiple number, an user can choose which number he use.
771 * For example, a line is for private, the other line is for business.
772 * Using this function, user can get information about which line is currently active.
774 * This API makes Dbus method call to Telephony Sever and gets immediate feedback.
775 * However it just means that the API request has been transfered to the CP successfully.
776 * The actual operation result is being delivered in the corresponding event asynchronously.
778 * @par Sync (TapiHandle *handle, or) Async:
779 * This is an Asynchronous API.
781 * @par Important Notes:
787 * - handle from tel_init()
789 * @param [in] callback
790 * - To register callback function for result of this function.
792 * @param [in] user_data
793 * - user data for user specification
796 * - Initialize Dbus connection with #tel_init
797 * - Register caller's application name with #tel_register_app_name
798 * - Register telephony events to listen
799 * - A event loop is running to listen events
804 * @return Return Type (TapiHandle *handle, int) \n
805 * - 0 - indicating that the operation has completed successfully. \n
806 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
808 * @par Prospective Clients:
809 * Embedded call application
811 * @see tel_set_call_act_line
814 * #include <ITapiCall.h>
816 * TapiHandle *handle;
817 * tapi_response_cb callback;
819 * ret_status= tel_get_call_act_line(handle, callback, user_data); // get call active line
827 int tel_get_call_act_line(TapiHandle *handle, tapi_response_cb callback, void *user_data);
831 * @brief Set the current calling line identification number.
833 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
834 * However it just means that the API request has been transfered to the CP successfully.
835 * The actual operation result is being delivered in the corresponding event asynchronously.
838 * @par Sync (TapiHandle *handle, or) Async:
839 * This is an Asynchronous API.
841 * @par Important Notes:
847 * - handle from tel_init()
849 * @param[in] active_line
850 * - calling line identification
852 * @param [in] callback
853 * - To register callback function for result of this function.
855 * @param [in] user_data
856 * - user data for user specification
859 * - Initialize Dbus connection with #tel_init
860 * - Register caller's application name with #tel_register_app_name
861 * - Register telephony events to listen
862 * - A event loop is running to listen events
867 * @return Return Type (TapiHandle *handle, int) \n
868 * - 0 - indicating that the operation has completed successfully. \n
869 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
871 * @par Prospective Clients:
872 * Embedded call application
874 * @see tel_get_call_act_line
877 * #include <ITapiCall.h>
880 * TapiHandle *handle;
881 * TelCallActiveLine_t active_line ;
882 * tapi_response_cb callback,;
885 * ret_status = tel_set_call_act_line (handle, active_line, callback, user_data); // set call active line
893 int tel_set_call_act_line(TapiHandle *handle, TelCallActiveLine_t active_line, tapi_response_cb callback, void *user_data);
897 * @brief This function triggers to do an explicit call transfer by connecting the two parties where in one party being
898 * active (TapiHandle *handle, active state) and another party being held (TapiHandle *handle, held state).
900 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
901 * However it just means that the API request has been transfered to the CP successfully.
902 * The actual operation result is being delivered in the corresponding event asynchronously.
905 * The ECT supplementary service enables the served mobile subscriber (TapiHandle *handle, subscriber A) who has two calls,
906 * each of which can be an incoming or outgoing call, to connect the other parties in the two calls
907 * and release the served mobile subscribers own connection.
908 * Prior to transfer, the connection shall have been established on the call
909 * between subscriber A and subscriber B. On the call between subscriber A and subscriber C,
910 * either the connection shall have been established prior to transfer, or, as a network option,
911 * transfer can occur while subscriber C is being informed of the call
912 * (TapiHandle *handle, i.e. the connection has not yet been established.)
915 * @par Sync (TapiHandle *handle, or) Async:
916 * This is an Asynchronous API.
918 * @par Important Notes:
924 * - handle from tel_init()
926 * @param[in] CallHandle
927 * - Call handle of an active call.
929 * @param [in] callback
930 * - To register callback function for result of this function.
932 * @param [in] user_data
933 * - user data for user specification
935 * @par Async Response Message:
936 * - The event associated with this request is TAPI_EVENT_CALL_TRANSFER_CNF. Asynchronous return status is
937 * indicated by #TelCallCause_t and call handle is sent in the event data. Call handle in event data is active
938 * call handle which is used in the #tel_exe_call_explicit_transfer request.
941 * - In order to call transfer, Served mobile subscriber should have 2 calls in one in active state and another one Call
945 * - When the request has been completed successfully, Call end indication will be sent to both the calls (TapiHandle *handle, active and held).
947 * @return Return Type (int) \n
948 * - 0 - indicating that the operation has completed successfully. \n
949 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
951 * @par Prospective Clients:
952 * Embedded call application
957 * #include <ITapiCall.h>
960 * TapiHandle *handle;
961 * unsigned int pCallHandle;//active call
962 * tapi_response_cb callback;
965 * ret_status= tel_transfer_call (handle, pCallHandle, callback, user_data); // explicit transfer
973 int tel_transfer_call(TapiHandle *handle, unsigned int CallHandle, tapi_response_cb callback, void *user_data);
978 * @brief This function gets status for the current call identified by Call Handle whenever application wants the call status. Call handle must be valid.
980 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
981 * However it just means that the API request has been transfered to the CP successfully.
982 * The actual operation result is being delivered in the corresponding event asynchronously.
985 * @par Sync (TapiHandle *handle, or) Async:
986 * This is a Synchronous API.
988 * @par Important Notes:
994 * - handle from tel_init()
996 * @param[in] CallHandle
997 * - Unique handle for referring the call.
999 * @param [out] pCallStatus
1000 * - Call status information like destination number, call direction (TapiHandle *handle, MO or MT), call type (TapiHandle *handle, voice or data etc), whether
1001 * the call is in conference state or not, present call state etc are returned through this parameter.
1003 * @par Async Response Message:
1007 * - Initialize Dbus connection with #tel_init
1008 * - Register caller's application name with #tel_register_app_name
1009 * - Register telephony events to listen
1010 * - A event loop is running to listen events
1015 * @return Return Type (TapiHandle *handle, int) \n
1016 * - 0 - indicating that the operation has completed successfully. \n
1017 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1019 * @par Prospective Clients:
1020 * Embedded call application
1026 * #include <ITapiCall.h>
1030 * TapiHandle *handle;
1031 * TelCallStatus_t *out; // allocate memory
1033 * ret_status= tel_get_call_status(handle, call_id, out); // get call status info
1044 int tel_get_call_status(TapiHandle *handle, int call_id, TelCallStatus_t *out );
1047 int tel_get_call_status_all(TapiHandle *handle, TelCallStatusCallback cb, void *user_data) ;
1052 * @brief This function gets duration of the given call. This is a synchronous function. Duration is accounted from the moment
1053 * the connection is established, i.e. call goes into active state for first time.
1055 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
1056 * However it just means that the API request has been transfered to the CP successfully.
1057 * The actual operation result is being delivered in the corresponding event asynchronously.
1060 * @par Sync (TapiHandle *handle, or) Async:
1061 * This is a Synchronous API.
1063 * @par Important Notes:
1068 * @param [in] handle
1069 * - handle from tel_init()
1071 * @param[in] CallHandle
1072 * - Unique handle for referring the call.
1074 * @param [out] pDurationInSecs
1075 * - The total call duration in seconds from the call connecting time to the present time is returned through this parameter.
1077 * @par Async Response Message:
1081 * - Initialize Dbus connection with #tel_init
1082 * - Register caller's application name with #tel_register_app_name
1083 * - Register telephony events to listen
1084 * - A event loop is running to listen events
1089 * @return Return Type (TapiHandle *handle, int) \n
1090 * - TAPI_API_SUCCESS - indicating that the operation has completed successfully. \n
1091 * - Else it will return failure and error code (TapiHandle *handle, Refer #TapiResult_t)
1093 * @par Prospective Clients:
1094 * Embedded call application
1098 * #include <ITapiCall.h>
1101 * TapiHandle *handle
1102 * unsigned int CallHandle;
1103 * unsigned int * pDurationInSecs; // allocate memory
1105 * ret_status= tel_get_call_duration(handle, CallHandle, pDurationInSecs); // get call duration
1116 int tel_get_call_duration(TapiHandle *handle, unsigned int CallHandle, unsigned int * pDurationInSecs) ;
1119 *@brief Deflect the incoming call to other subscriber
1121 * If informed about an incoming call this call may be redirected to an another destination by
1122 * entering the destination Number. The cleint spcifies the dstiantion number to which the current
1123 * incoming call needs to be redirected is specifed via info argument.
1126 * @par Sync (TapiHandle *handle, or) Async:
1127 * This is an Asynchronous API.
1129 * @par Important Notes:
1134 * @param [in] handle
1135 * - handle from tel_init()
1137 * @param[in] CallHandle
1138 * - This is incoming call handle
1140 * @param[out] deflect_info
1141 * - Destination Number
1143 * @param [in] callback
1144 * - To register callback function for result of this function.
1146 * @param [in] user_data
1147 * - user data for user specification
1149 * @par Async Response Message:
1153 * - Initialize Dbus connection with #tel_init
1154 * - Register caller's application name with #tel_register_app_name
1155 * - Register telephony events to listen
1156 * - A event loop is running to listen events
1161 * @return Return Type (int) \n
1162 * - 0 indicating that the operation has completed successfully. \n
1163 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1165 * @par Prospective Clients:
1166 * Embedded call application
1172 * #include <ITapiCall.h>
1173 * #include <TelCall.h>
1175 * TapiHandle *handle;
1176 * unsigned int CallHandle;
1177 * const TelCallDeflectDstInfo_t *deflect_info; //allocate memory
1178 * tapi_response_cb callback;
1181 * tel_deflect_call(handle, CallHandle, deflect_info, callback, user_data); // call deflect
1191 int tel_deflect_call(TapiHandle *handle, unsigned int CallHandle, const TelCallDeflectDstInfo_t *deflect_info, tapi_response_cb callback, void *user_data);
1196 * @brief Activate Call Completion to a Busy Subscriber.
1199 * When subscriber A encounters a Network Determined User Busy (TapiHandle *handle, NDUB) destination B,
1200 * subscriber A can request the CCBS supplementary service (TapiHandle *handle, i.e. activate a CCBS Request against destination B).
1201 * The network will then monitor the wanted destination B for becoming idle.
1202 * When the wanted destination B becomes idle, then the network will wait a short time
1203 * in order to allow destination B to make an outgoing call.
1204 * If destination B does not make any outgoing call within this time,
1205 * then the network shall automatically recall subscriber A.
1206 * When subscriber A accepts the CCBS recall, within a defined time, then the network will automatically
1207 * generate a CCBS call to destination B.
1209 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
1210 * However it just means that the API request has been transfered to the CP successfully.
1211 * The actual operation result is being delivered in the corresponding event asynchronously.
1213 * @par Sync (TapiHandle *handle, or) Async:
1214 * This is an Asynchronous API.
1216 * @par Important Notes:
1221 * @param [in] handle
1222 * - handle from tel_init()
1224 * @param [in] CallHandle
1225 * - Handle of the call.
1227 * @param [in] callback
1228 * - To register callback function for result of this function.
1230 * @param [in] user_data
1231 * - user data for user specification
1233 * @par Async Response Message:
1237 * - Initialize Dbus connection with #tel_init
1238 * - Register caller's application name with #tel_register_app_name
1239 * - Register telephony events to listen
1240 * - A event loop is running to listen events
1245 * @return Return Type ( int) \n
1246 * - 0 - indicating that the operation has completed successfully. \n
1247 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1249 * @par Prospective Clients:
1250 * Embedded call application
1253 * #include <ITapiCall.h>
1256 * TapiHandle *handle;
1257 * unsigned int call_handle;
1258 * tapi_response_cb callback;
1262 * ret = tel_activate_call_ccbs(handle, call_handle, callback, user_data); // ccbs activate
1272 int tel_activate_call_ccbs(TapiHandle *handle, unsigned int CallHandle, tapi_response_cb callback, void *user_data);
1276 * @brief This is a synchronous function returns all call handles within the given conference call.
1278 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
1279 * However it just means that the API request has been transfered to the CP successfully.
1280 * The actual operation result is being delivered in the corresponding event asynchronously.
1282 * @par Sync (TapiHandle *handle, or) Async:
1283 * This is a Synchronous API.
1285 * @par Important Notes:
1286 * - Call should be a Multi-party conference call in order to return actual no of calls and call handles in the conference calls.
1290 * @param [in] handle
1291 * - handle from tel_init()
1293 * @param[in] CallHandle
1294 * - Handle of call which is associated with the conference.
1296 * @param [out] pCallList
1297 * - list of call joined in the conference call. In case there is no active conference. The list will be zero and
1298 * number of calls parameter value will also be zero. Maximum number of calls in a conference can be up to 5
1299 * (TapiHandle *handle, Based on 3GPP TS 22.084). Memory allocation for call list is integer array of size 5.
1301 * @param [out] pNoOfCalls
1302 * - Number of the calls present in conference.
1304 * @par Async Response Message:
1308 * - Initialize Dbus connection with #tel_init
1309 * - Register caller's application name with #tel_register_app_name
1310 * - Register telephony events to listen
1311 * - A event loop is running to listen events
1316 * @return Return Type (int) \n
1317 * - 0 - indicating that the operation has completed successfully. \n
1318 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1320 * @par Prospective Clients:
1321 * Embedded call application
1324 * #include <ITapiCall.h>
1327 * TapiHandle *handle;
1328 * unsigned int CallHandle;
1329 * unsigned int pcallList[5];
1330 * tapi_response_cb callback;
1334 * ret_status= tel_get_call_conf_list(handle, CallHandle, pcallList, &noOfCalls); // get conference call list
1337 * @see tel_join_call
1344 int tel_get_call_conf_list(TapiHandle *handle, unsigned int CallHandle, unsigned int *pCallList, int *pNoOfCalls);
1349 * @brief This function gets voice privacy option mode in phone(TapiHandle *handle, CDMA only).
1351 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
1352 * However it just means that the API request has been transfered to the CP successfully.
1353 * The actual operation result is being delivered in the corresponding event asynchronously.
1355 * @par Sync (TapiHandle *handle, or) Async:
1356 * This is a Asynchronous API.
1358 * @par Important Notes:
1363 * @param [in] handle
1364 * - handle from tel_init()
1366 * @param[in] PrivacyType
1369 * @param [in] callback
1370 * - To register callback function for result of this function.
1372 * @param [in] user_data
1373 * - user data for user specification
1375 * @par Async Response Message:
1376 * - The event associated with this request is TAPI_EVENT_CALL_GET_PRIVACYMODE_CNF. Asynchronous return status
1377 * is indicated by #TelCallCause_t. #TelCallPrivacyMode_t is included in this event.
1381 * - Initialize Dbus connection with #tel_init
1382 * - Register caller's application name with #tel_register_app_name
1383 * - Register telephony events to listen
1384 * - A event loop is running to listen events
1389 * @return Return Type (int) \n
1390 * - 0 - indicating that the operation has completed successfully. \n
1391 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1393 * @par Prospective Clients:
1394 * Embedded call application
1399 * #include <ITapiCall.h>
1401 * int ret_status = -1;
1402 * TapiHandle *handle;
1403 * TelCallPrivacyType_t privacyType;
1404 * tapi_response_cb callback;
1406 * privacyType=TAPI_CALL_PRIVACY_TYPE_MS;
1407 * ret_status =tel_get_call_privacy_mode (handle, privacyType, callback, user_data); // get call privacy_mode
1418 int tel_get_call_privacy_mode(TapiHandle *handle, TelCallPrivacyType_t PrivacyType, tapi_response_cb callback, void *user_data);
1423 * @brief This function sets voice privacy option mode in phone. It is available only where call exists(TapiHandle *handle, CDMA only).
1426 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
1427 * However it just means that the API request has been transfered to the CP successfully.
1428 * The actual operation result is being delivered in the corresponding event asynchronously.
1430 * @par Sync (TapiHandle *handle, or) Async:
1431 * This is a Asynchronous API.
1433 * @par Important Notes:
1438 * @param [in] handle
1439 * - handle from tel_init()
1441 * @param[in] PrivacyInfo
1442 * - voice privacy option mode(TapiHandle *handle, ENHANCED or STANDARD)
1444 * @param [in] callback
1445 * - To register callback function for result of this function.
1447 * @param [in] user_data
1448 * - user data for user specification
1450 * @par Async Response Message:
1451 * - The event associated with this request is TAPI_EVENT_CALL_SET_PRIVACYMODE_CNF. Asynchronous return status
1452 * is indicated by #TelCallCause_t.
1456 * - Initialize Dbus connection with #tel_init
1457 * - Register caller's application name with #tel_register_app_name
1458 * - Register telephony events to listen
1459 * - A event loop is running to listen events
1464 * @return Return Type (int) \n
1465 * - 0 - indicating that the operation has completed successfully. \n
1466 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1468 * @par Prospective Clients:
1469 * Embedded call application
1474 * #include <ITapiCall.h>
1476 * TapiHandle *handle;
1477 * int ret_status = -1;
1478 * tapi_response_cb callback;
1480 * TelCallPrivacyMode_t pPrivacyMode_info={0,};
1481 * pPrivacyMode_info = TAPI_CALL_PRIVACY_MODE_STANDARD;
1483 * ret_status = tel_set_call_privacy_mode (handle, pPrivacyMode_info, callback, user_data); // set call privacy mode
1493 int tel_set_call_privacy_mode(TapiHandle *handle, TelCallVoicePrivacyInfo_t PrivacyInfo, tapi_response_cb callback, void *user_data);
1498 * @brief This function requests to send a Flash with Information Message(TapiHandle *handle, CDMA only).
1500 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
1501 * However it just means that the API request has been transfered to the CP successfully.
1502 * The actual operation result is being delivered in the corresponding event asynchronously.
1505 * @par Sync (TapiHandle *handle, or) Async:
1506 * This is a Asynchronous API.
1510 * @par Important Notes:
1513 * @param [in] handle
1514 * - handle from tel_init()
1516 * @param[in] pDialNumber
1517 * - this is the calling number for 3 way call. But in the call waiting, this param should be NULL.
1519 * @param [in] callback
1520 * - To register callback function for result of this function.
1522 * @param [in] user_data
1523 * - user data for user specification
1525 * @par Async Response Message:
1526 * - The event associated with this request is TAPI_EVENT_CALL_FLASHINFO_CNF. Asynchronous return status
1527 * is indicated by #TelCallCause_t.
1536 * @return Return Type (int) \n
1537 * - 0 - indicating that the operation has completed successfully. \n
1538 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1540 * @par Prospective Clients:
1541 * Embedded call application
1544 * #include <ITapiCall.h>
1546 * int ret_status = -1;
1547 * TapiHandle *handle;
1548 * tapi_response_cb callback;
1550 * char const * const pDialNumber = "9999900000";
1551 * ret_status = tel_exe_call_flash_info(handle, pDialNumber, callback, user_data); // call flash info
1561 int tel_exe_call_flash_info(TapiHandle *handle, const char *pDialNumber, tapi_response_cb callback, void *user_data);
1566 * @brief This function requests to exit emergency call mode(TapiHandle *handle, CDMA only).
1568 * This function makes Dbus method call to Telephony Sever and gets immediate feedback.
1569 * However it just means that the API request has been transfered to the CP successfully.
1570 * The actual operation result is being delivered in the corresponding event asynchronously.
1572 * @par Sync (TapiHandle *handle, or) Async:
1573 * This is a Asynchronous API.
1577 * @par Important Notes:
1580 * @param [in] handle
1581 * - handle from tel_init()
1583 * @param [in] callback
1584 * - To register callback function for result of this function.
1586 * @param [in] user_data
1587 * - user data for user specification
1589 * @par Async Response Message:
1590 * - The event associated with this request is TAPI_EVENT_CALL_EXIT_EMERGENCYMODE_CNF. Asynchronous return status
1591 * is indicated by #TelCallCause_t.
1594 * - current state is emergency callback mode.
1599 * @return Return Type (int) \n
1600 * - 0 - indicating that the operation has completed successfully. \n
1601 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1603 * @par Prospective Clients:
1604 * Embedded call application
1607 * #include <ITapiCall.h>
1609 * tapi_response_cb callback;
1611 * TapiHandle *handle;
1613 * ret = tel_exit_call_emergency_mode (handle, callback, user_data); // emergency call
1624 int tel_exit_call_emergency_mode(TapiHandle *handle, tapi_response_cb callback, void *user_data);
1629 * @brief This function is used for querying the information about a call time and call count.
1631 * This function makes Dbus method call to Telephony Sever and returns immediate value.
1632 * However it just means that the API request has been transfered to the CP successfully.
1633 * The actual operation result is being delivered in the corresponding event asynchronously.
1635 * @par Sync (TapiHandle *handle, or) Async:
1636 * This is a Asynchronous API.
1640 * @par Important Notes:
1643 * @param [in] handle
1644 * - handle from tel_init()
1646 * @param[in] req_mask
1647 * - call time request type mask.
1649 * @param [in] callback
1650 * - To register callback function for result of this function.
1652 * @param [in] user_data
1653 * - user data for user specification
1656 * @par Async Response Message:
1657 * - The event associated with this request is TAPI_EVENT_CALL_GET_CALL_TIME_CNF. Asynchronous return status
1658 * is indicated by #TelCallCause_t.
1667 * @return Return Type (int) \n
1668 * - 0 - indicating that the operation has completed successfully. \n
1669 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1671 * @par Prospective Clients:
1672 * Embedded call application
1675 * #include <ITapiCall.h>
1677 * int ret_status = -1;
1678 * TapiHandle *handle;
1679 * tapi_response_cb callback;
1681 * TelCallTimeMaskType_t mask_byte1 = {0,};
1682 * TelCallTimeMaskType_t mask_byte2 = {0,};
1683 * unsigned short mask_type;
1684 * mask_byte1 = TAPI_CALL_TIME_TYPE_TOTAL_CALL_CNT; //masking call type
1685 * mask_byte2 = TAPI_CALL_TIME_TYPE_TOTAL_CALL_TIME;
1687 * mask_type = mask_byte1;
1689 * mask_type = mask_byte2;
1691 * ret_status = tel_get_call_time(handle, mask_type, callback, user_data);
1702 int tel_get_call_time(TapiHandle *handle, unsigned short req_mask, tapi_response_cb callback, void *user_data);
1706 * @brief This function is to get call volume.
1708 * This function makes Dbus method call to Telephony Sever and returns immediate value.
1709 * However it just means that the API request has been transfered to the CP successfully.
1710 * The actual operation result is being delivered in the corresponding event asynchronously.
1712 * @par Sync (TapiHandle *handle, or) Async:
1713 * This is a Asynchronous API.
1717 * @par Important Notes:
1720 * @param [in] handle
1721 * - handle from tel_init()
1723 * @param [in] device
1729 * @param [in] callback
1730 * - To register callback function for result of this function.
1732 * @param [in] user_data
1733 * - user data for user specification
1735 * @par Async Response Message:
1736 * - TelCallGetVolumeInfoResp_t
1744 * @return Return Type (int) \n
1745 * - 0 - indicating that the operation has completed successfully. \n
1746 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1748 * @par Prospective Clients:
1749 * Embedded call application
1759 int tel_get_call_volume_info(TapiHandle *handle, TelSoundDevice_t device, TelSoundType_t type, tapi_response_cb callback, void *user_data );
1763 * @brief This function is to set call volume.
1765 * This function makes Dbus method call to Telephony Sever and returns immediate value.
1766 * However it just means that the API request has been transfered to the CP successfully.
1767 * The actual operation result is being delivered in the corresponding event asynchronously.
1769 * @par Sync (TapiHandle *handle, or) Async:
1770 * This is a Asynchronous API.
1774 * @par Important Notes:
1777 * @param [in] handle
1778 * - handle from tel_init()
1781 * - call volume information
1783 * @param [in] callback
1784 * - To register callback function for result of this function.
1786 * @param [in] user_data
1787 * - user data for user specification
1789 * @par Async Response Message:
1798 * @return Return Type (TapiHandle *handle, int) \n
1799 * - 0 - indicating that the operation has completed successfully. \n
1800 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1802 * @par Prospective Clients:
1803 * Embedded call application
1813 int tel_set_call_volume_info(TapiHandle *handle, TelCallVolumeInfo_t *info, tapi_response_cb callback, void *user_data );
1817 * @brief This function is to set call sound path.
1819 * This function makes Dbus method call to Telephony Sever and returns immediate value.
1820 * However it just means that the API request has been transfered to the CP successfully.
1821 * The actual operation result is being delivered in the corresponding event asynchronously.
1823 * @par Sync (TapiHandle *handle, or) Async:
1824 * This is a Asynchronous API.
1826 * @par Important Notes:
1832 * @param [in] handle
1833 * - handle from tel_init()
1836 * - call sound path information
1838 * @param [in] callback
1839 * - To register callback function for result of this function.
1841 * @param [in] user_data
1842 * - user data for user specification
1844 * @par Async Response Message:
1853 * @return Return Type (TapiHandle *handle, int) \n
1854 * - 0 - indicating that the operation has completed successfully. \n
1855 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1857 * @par Prospective Clients:
1858 * Embedded call application
1868 int tel_set_call_sound_path(TapiHandle *handle, TelCallSoundPathInfo_t *path, tapi_response_cb callback, void *user_data );
1872 * @brief This function is to set call mute state
1874 * This function makes Dbus method call to Telephony Sever and returns immediate value.
1875 * However it just means that the API request has been transfered to the CP successfully.
1876 * The actual operation result is being delivered in the corresponding event asynchronously.
1878 * @par Sync (TapiHandle *handle, or) Async:
1879 * This is a Asynchronous API.
1884 * @par Important Notes:
1887 * @param [in] handle
1888 * - handle from tel_init()
1891 * - Sound Mute Status
1893 * @param [in] callback
1894 * - To register callback function for result of this function.
1896 * @param [in] user_data
1897 * - user data for user specification
1899 * @par Async Response Message:
1908 * @return Return Type (TapiHandle *handle, int) \n
1909 * - 0 - indicating that the operation has completed successfully. \n
1910 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1912 * @par Prospective Clients:
1913 * Embedded call application
1923 int tel_set_call_mute_status(TapiHandle *handle, TelSoundMuteStatus_t mute, TelSoundMutePath_t path, tapi_response_cb callback, void *user_data );
1927 * @brief This function is to get call mute state
1929 * This function makes Dbus method call to Telephony Sever and returns immediate value.
1930 * However it just means that the API request has been transfered to the CP successfully.
1931 * The actual operation result is being delivered in the corresponding event asynchronously.
1933 * @par Sync (TapiHandle *handle, or) Async:
1934 * This is a Asynchronous API.
1938 * @par Important Notes:
1941 * @param [in] handle
1942 * - handle from tel_init()
1944 * @param [in] callback
1945 * - To register callback function for result of this function.
1947 * @param [in] user_data
1948 * - user data for user specification
1950 * @par Async Response Message:
1951 * - TelCallGetMuteStatusResp_t
1959 * @return Return Type (TapiHandle *handle, int) \n
1960 * - 0 - indicating that the operation has completed successfully. \n
1961 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
1963 * @par Prospective Clients:
1964 * Embedded call application
1974 int tel_get_call_mute_status(TapiHandle *handle, tapi_response_cb callback, void *user_data );
1978 * @brief This function is to set call sound recording
1980 * This function makes Dbus method call to Telephony Sever and returns immediate value.
1981 * However it just means that the API request has been transfered to the CP successfully.
1982 * The actual operation result is being delivered in the corresponding event asynchronously.
1984 * @par Sync (TapiHandle *handle, or) Async:
1985 * This is a Asynchronous API.
1989 * @par Important Notes:
1992 * @param [in] handle
1993 * - handle from tel_init()
1996 * - Sound recording on / off
1998 * @param [in] callback
1999 * - To register callback function for result of this function.
2001 * @param [in] user_data
2002 * - user data for user specification
2004 * @par Async Response Message:
2013 * @return Return Type (TapiHandle *handle, int) \n
2014 * - 0 - indicating that the operation has completed successfully. \n
2015 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
2017 * @par Prospective Clients:
2018 * Embedded call application
2028 int tel_set_call_sound_recording(TapiHandle *handle, TelSoundRecording_t *on, tapi_response_cb callback, void *user_data);
2032 * @brief This function is to set call sound equalization.
2034 * This function makes Dbus method call to Telephony Sever and returns immediate value.
2035 * However it just means that the API request has been transfered to the CP successfully.
2036 * The actual operation result is being delivered in the corresponding event asynchronously.
2038 * @par Sync (TapiHandle *handle, or) Async:
2039 * This is a Asynchronous API.
2041 * @par Important Notes:
2047 * @param [in] handle
2048 * - handle from tel_init()
2051 * - call sound equalization information
2053 * @param [in] callback
2054 * - To register callback function for result of this function.
2056 * @param [in] user_data
2057 * - user data for user specification
2059 * @par Async Response Message:
2068 * @return Return Type (TapiHandle *handle, int) \n
2069 * - 0 - indicating that the operation has completed successfully. \n
2070 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
2072 * @par Prospective Clients:
2073 * Embedded call application
2083 int tel_set_call_sound_equalization(TapiHandle *handle, TelCallSoundEqualization_t *eq, tapi_response_cb callback, void *user_data);
2087 * @brief This function is used for querying the set call sound reduction.
2089 * This function makes Dbus method call to Telephony Sever and returns immediate value.
2090 * However it just means that the API request has been transfered to the CP successfully.
2091 * The actual operation result is being delivered in the corresponding event asynchronously.
2093 * @par Sync (TapiHandle *handle, or) Async:
2094 * This is a Asynchronous API.
2096 * @par Important Notes:
2102 * @param [in] handle
2103 * - handle from tel_init()
2108 * @param [in] callback
2109 * - To register callback function for result of this function.
2111 * @param [in] user_data
2112 * - user data for user specification
2115 * @par Async Response Message:
2124 * @return Return Type (TapiHandle *handle, int) \n
2125 * - 0 - indicating that the operation has completed successfully. \n
2126 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
2128 * @par Prospective Clients:
2129 * Embedded call application
2143 int tel_set_call_sound_noise_reduction(TapiHandle *handle, TelSoundNoiseReduction_t noise, tapi_response_cb callback, void *user_data);
2147 * @brief This function is used to set call sound clock status
2149 * This function makes Dbus method call to Telephony Sever and returns immediate value.
2150 * However it just means that the API request has been transfered to the CP successfully.
2151 * The actual operation result is being delivered in the corresponding event asynchronously.
2153 * @par Sync (TapiHandle *handle, or) Async:
2154 * This is a Asynchronous API.
2156 * @par Important Notes:
2161 * @param [in] handle
2162 * - handle from tel_init()
2164 * @param [in] enable
2165 * - sound clock status ( TRUE : enable, FALSE : disable )
2167 * @param [in] callback
2168 * - To register callback function for result of this function.
2170 * @param [in] user_data
2171 * - user data for user specification
2174 * @par Async Response Message:
2183 * @return Return Type (TapiHandle *handle, int) \n
2184 * - 0 - indicating that the operation has completed successfully. \n
2185 * - Else it will return failure and error code (TapiHandle *handle, Refer Doxygen doc or #TapiResult_t)
2187 * @par Prospective Clients:
2188 * Embedded call application
2202 int tel_set_call_sound_clock_status(TapiHandle *handle, gboolean status, tapi_response_cb callback, void *user_data );
2209 #endif /* _ITAPI_CALL_H_ */