summaryrefslogtreecommitdiff
path: root/pjsip
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2014-01-31 08:52:09 +0000
committerNanang Izzuddin <nanang@teluu.com>2014-01-31 08:52:09 +0000
commitb36d2739227522586612ee5ab3f7843795fd07bc (patch)
tree09c79f7db33c45a136cf673283cee4e456d91ba8 /pjsip
parent263ef89954cff2ab1e15e5aac643c0f69c520afd (diff)
Misc (re #1630): Fixed some more typos in the codes.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4724 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h14
-rw-r--r--pjsip/include/pjsua2/call.hpp6
-rw-r--r--pjsip/src/pjsua-lib/pjsua_call.c8
3 files changed, 14 insertions, 14 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 7ee3d6cf..4dc2187c 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -756,7 +756,7 @@ typedef struct pjsua_callback
void (*on_dtmf_digit)(pjsua_call_id call_id, int digit);
/**
- * Notify application on call being transfered (i.e. REFER is received).
+ * Notify application on call being transferred (i.e. REFER is received).
* Application can decide to accept/reject transfer request
* by setting the code (default is 202). When this callback
* is not defined, the default behavior is to accept the
@@ -765,7 +765,7 @@ typedef struct pjsua_callback
*
* @param call_id The call index.
* @param dst The destination where the call will be
- * transfered to.
+ * transferred to.
* @param code Status code to be returned for the call transfer
* request. On input, it contains status code 200.
*/
@@ -774,7 +774,7 @@ typedef struct pjsua_callback
pjsip_status_code *code);
/**
- * Notify application on call being transfered (i.e. REFER is received).
+ * Notify application on call being transferred (i.e. REFER is received).
* Application can decide to accept/reject transfer request
* by setting the code (default is 202). When this callback
* is not defined, the default behavior is to accept the
@@ -782,11 +782,11 @@ typedef struct pjsua_callback
*
* @param call_id The call index.
* @param dst The destination where the call will be
- * transfered to.
+ * transferred to.
* @param code Status code to be returned for the call transfer
* request. On input, it contains status code 200.
* @param opt The current call setting, application can update
- * this setting for the call being transfered.
+ * this setting for the call being transferred.
*/
void (*on_call_transfer_request2)(pjsua_call_id call_id,
const pj_str_t *dst,
@@ -4651,7 +4651,7 @@ PJ_DECL(pj_status_t) pjsua_call_update2(pjsua_call_id call_id,
* \a on_call_transfer_status() callback which will report the progress
* of the call transfer request.
*
- * @param call_id The call id to be transfered.
+ * @param call_id The call id to be transferred.
* @param dest URI of new target to be contacted. The URI may be
* in name address or addr-spec format.
* @param msg_data Optional message components to be sent with
@@ -4676,7 +4676,7 @@ PJ_DECL(pj_status_t) pjsua_call_xfer(pjsua_call_id call_id,
* of \a dest_call_id. The party at \a dest_call_id then should "replace"
* the call with us with the new call from the REFER recipient.
*
- * @param call_id The call id to be transfered.
+ * @param call_id The call id to be transferred.
* @param dest_call_id The call id to be replaced.
* @param options Application may specify PJSUA_XFER_NO_REQUIRE_REPLACES
* to suppress the inclusion of "Require: replaces" in
diff --git a/pjsip/include/pjsua2/call.hpp b/pjsip/include/pjsua2/call.hpp
index f16db153..c4978e38 100644
--- a/pjsip/include/pjsua2/call.hpp
+++ b/pjsip/include/pjsua2/call.hpp
@@ -726,7 +726,7 @@ struct OnDtmfDigitParam
struct OnCallTransferRequestParam
{
/**
- * The destination where the call will be transfered to.
+ * The destination where the call will be transferred to.
*/
string dstUri;
@@ -738,7 +738,7 @@ struct OnCallTransferRequestParam
/**
* The current call setting, application can update this setting
- * for the call being transfered.
+ * for the call being transferred.
*/
CallSetting opt;
};
@@ -1529,7 +1529,7 @@ public:
{ PJ_UNUSED_ARG(prm); }
/**
- * Notify application on call being transfered (i.e. REFER is received).
+ * Notify application on call being transferred (i.e. REFER is received).
* Application can decide to accept/reject transfer request
* by setting the code (default is 202). When this callback
* is not implemented, the default behavior is to accept the
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c
index ff64e1e4..a363b7ff 100644
--- a/pjsip/src/pjsua-lib/pjsua_call.c
+++ b/pjsip/src/pjsua-lib/pjsua_call.c
@@ -4031,7 +4031,7 @@ static void xfer_client_on_evsub_state( pjsip_evsub *sub, pjsip_event *event)
/* Check if subscription is suppressed */
if (refer_sub && pj_stricmp2(&refer_sub->hvalue, "false")==0) {
/* Since no subscription is desired, assume that call has been
- * transfered successfully.
+ * transferred successfully.
*/
if (call && pjsua_var.ua_cfg.cb.on_call_transfer_status) {
const pj_str_t ACCEPTED = { "Accepted", 8 };
@@ -4202,7 +4202,7 @@ on_return:
/*
* Follow transfer (REFER) request.
*/
-static void on_call_transfered( pjsip_inv_session *inv,
+static void on_call_transferred( pjsip_inv_session *inv,
pjsip_rx_data *rdata )
{
pj_status_t status;
@@ -4280,7 +4280,7 @@ static void on_call_transfered( pjsip_inv_session *inv,
goto on_return;
}
- PJ_LOG(3,(THIS_FILE, "Call to %.*s is being transfered to %.*s",
+ PJ_LOG(3,(THIS_FILE, "Call to %.*s is being transferred to %.*s",
(int)inv->dlg->remote.info_str.slen,
inv->dlg->remote.info_str.ptr,
(int)refer_to->hvalue.slen,
@@ -4486,7 +4486,7 @@ static void pjsua_call_on_tsx_state_changed(pjsip_inv_session *inv,
/*
* Incoming REFER request.
*/
- on_call_transfered(call->inv, e->body.tsx_state.src.rdata);
+ on_call_transferred(call->inv, e->body.tsx_state.src.rdata);
}
else if (tsx->role==PJSIP_ROLE_UAS &&