summaryrefslogtreecommitdiff
path: root/pjsip-apps
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-apps
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-apps')
-rw-r--r--pjsip-apps/src/confbot/confbot.py2
-rw-r--r--pjsip-apps/src/pjsua/pjsua_app.c2
-rw-r--r--pjsip-apps/src/pjsua/pjsua_app_cli.c2
-rw-r--r--pjsip-apps/src/pjsua/pjsua_app_legacy.c2
-rw-r--r--pjsip-apps/src/py_pjsua/pjsua_app.py8
-rw-r--r--pjsip-apps/src/py_pjsua/py_pjsua.c2
-rw-r--r--pjsip-apps/src/python/_pjsua.c2
-rw-r--r--pjsip-apps/src/python/_pjsua.h2
-rw-r--r--pjsip-apps/src/python/pjsua.py2
9 files changed, 12 insertions, 12 deletions
diff --git a/pjsip-apps/src/confbot/confbot.py b/pjsip-apps/src/confbot/confbot.py
index aa5efbf7..e7ed3142 100644
--- a/pjsip-apps/src/confbot/confbot.py
+++ b/pjsip-apps/src/confbot/confbot.py
@@ -197,7 +197,7 @@ class Member:
self.bot.broadcast_pager(None, msg)
def on_call_transfer_request(self, call, dst, code):
- msg = "%(uri)s is transfering the call to %(dst)s" % \
+ msg = "%(uri)s is transferring the call to %(dst)s" % \
{'uri': self.uri, 'dst': dst}
self.bot.broadcast_pager(None, msg)
return 202
diff --git a/pjsip-apps/src/pjsua/pjsua_app.c b/pjsip-apps/src/pjsua/pjsua_app.c
index 57aba6f0..95461073 100644
--- a/pjsip-apps/src/pjsua/pjsua_app.c
+++ b/pjsip-apps/src/pjsua/pjsua_app.c
@@ -782,7 +782,7 @@ static void on_call_transfer_status(pjsua_call_id call_id,
if (status_code/100 == 2) {
PJ_LOG(3,(THIS_FILE,
- "Call %d: call transfered successfully, disconnecting call",
+ "Call %d: call transferred successfully, disconnecting call",
call_id));
pjsua_call_hangup(call_id, PJSIP_SC_GONE, NULL, NULL);
*p_cont = PJ_FALSE;
diff --git a/pjsip-apps/src/pjsua/pjsua_app_cli.c b/pjsip-apps/src/pjsua/pjsua_app_cli.c
index c7481940..dd5351e3 100644
--- a/pjsip-apps/src/pjsua/pjsua_app_cli.c
+++ b/pjsip-apps/src/pjsua/pjsua_app_cli.c
@@ -1799,7 +1799,7 @@ static pj_status_t cmd_transfer_replace_call(pj_cli_cmd_val *cval)
if (dst_call == call) {
static pj_str_t err_same_num =
{"Destination call number must not be the "
- "same as the call being transfered\n", 74};
+ "same as the call being transferred\n", 74};
pj_cli_sess_write_msg(cval->sess, err_same_num.ptr,
err_same_num.slen);
diff --git a/pjsip-apps/src/pjsua/pjsua_app_legacy.c b/pjsip-apps/src/pjsua/pjsua_app_legacy.c
index f3bed8cb..6f4b2ff3 100644
--- a/pjsip-apps/src/pjsua/pjsua_app_legacy.c
+++ b/pjsip-apps/src/pjsua/pjsua_app_legacy.c
@@ -1163,7 +1163,7 @@ static void ui_call_transfer_replaces(pj_bool_t no_refersub)
/* Check that destination call is valid. */
if (dst_call == call) {
puts("Destination call number must not be the same "
- "as the call being transfered");
+ "as the call being transferred");
return;
}
if (dst_call >= PJSUA_MAX_CALLS) {
diff --git a/pjsip-apps/src/py_pjsua/pjsua_app.py b/pjsip-apps/src/py_pjsua/pjsua_app.py
index 29c2b756..d8e208a9 100644
--- a/pjsip-apps/src/py_pjsua/pjsua_app.py
+++ b/pjsip-apps/src/py_pjsua/pjsua_app.py
@@ -157,7 +157,7 @@ def on_call_transfer_status(call_id,status_code,status_text,final,p_cont):
write_log(3, "Call " + `call_id` + ": transfer status= " + `status_code` + " " + status_text+ " " + strfinal)
if status_code/100 == 2:
- write_log(3, "Call " + `call_id` + " : call transfered successfully, disconnecting call")
+ write_log(3, "Call " + `call_id` + " : call transferred successfully, disconnecting call")
status = py_pjsua.call_hangup(call_id, 410, None, None)
p_cont = 0
@@ -423,9 +423,9 @@ def xfer_call():
msg_data = py_pjsua.msg_data_init()
status = py_pjsua.call_xfer(g_current_call, url, msg_data);
if status != 0:
- py_pjsua.perror(THIS_FILE, "Error transfering call ", status)
+ py_pjsua.perror(THIS_FILE, "Error transferring call ", status)
else:
- write_log(3, "Call transfered to " + url)
+ write_log(3, "Call transferred to " + url)
def xfer_call_replaces():
if g_current_call == -1:
@@ -458,7 +458,7 @@ def xfer_call_replaces():
return
if dst_call == call:
- print "Destination call number must not be the same as the call being transfered"
+ print "Destination call number must not be the same as the call being transferred"
return
if dst_call >= py_pjsua.PJSUA_MAX_CALLS:
diff --git a/pjsip-apps/src/py_pjsua/py_pjsua.c b/pjsip-apps/src/py_pjsua/py_pjsua.c
index 2766d17a..7ef55d82 100644
--- a/pjsip-apps/src/py_pjsua/py_pjsua.c
+++ b/pjsip-apps/src/py_pjsua/py_pjsua.c
@@ -174,7 +174,7 @@ static void cb_on_dtmf_digit(pjsua_call_id call_id, int digit)
/*
- * Notify application on call being transfered.
+ * Notify application on call being transferred.
* !modified @061206
*/
static void cb_on_call_transfer_request(pjsua_call_id call_id,
diff --git a/pjsip-apps/src/python/_pjsua.c b/pjsip-apps/src/python/_pjsua.c
index dffd3b86..fb80e239 100644
--- a/pjsip-apps/src/python/_pjsua.c
+++ b/pjsip-apps/src/python/_pjsua.c
@@ -208,7 +208,7 @@ static void cb_on_dtmf_digit(pjsua_call_id call_id, int digit)
/*
- * Notify application on call being transfered.
+ * Notify application on call being transferred.
* !modified @061206
*/
static void cb_on_call_transfer_request(pjsua_call_id call_id,
diff --git a/pjsip-apps/src/python/_pjsua.h b/pjsip-apps/src/python/_pjsua.h
index 4771148f..b4007200 100644
--- a/pjsip-apps/src/python/_pjsua.h
+++ b/pjsip-apps/src/python/_pjsua.h
@@ -332,7 +332,7 @@ static PyMemberDef PyObj_pjsua_callback_members[] =
{
"on_call_transfer_request", T_OBJECT_EX,
offsetof(PyObj_pjsua_callback, on_call_transfer_request), 0,
- "Notify application on call being transfered. "
+ "Notify application on call being transferred. "
"Application can decide to accept/reject transfer request "
"by setting the code (default is 200). When this callback "
"is not defined, the default behavior is to accept the "
diff --git a/pjsip-apps/src/python/pjsua.py b/pjsip-apps/src/python/pjsua.py
index 6dc5efe1..9b2fbfe6 100644
--- a/pjsip-apps/src/python/pjsua.py
+++ b/pjsip-apps/src/python/pjsua.py
@@ -1386,7 +1386,7 @@ class CallCallback:
pass
def on_transfer_request(self, dst, code):
- """Notification that call is being transfered by remote party.
+ """Notification that call is being transferred by remote party.
Application can decide to accept/reject transfer request by returning
code greater than or equal to 500. The default behavior is to accept