summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/samples
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2010-09-28 07:43:18 +0000
committerBenny Prijono <bennylp@teluu.com>2010-09-28 07:43:18 +0000
commit6e7c99b00209bbdb5403cec88f6b7ad01e25526c (patch)
treea96b1174be66eaca9d756c71fc76898ccdffa9c5 /pjsip-apps/src/samples
parent956dfe0b552043fbd5ce2181219feeb59b7f459f (diff)
Closed #1139 (Support for tel: URI in PJSUA-LIB):
- added new PJSUA API: pjsua_verify_url() which can be used for tel: URI - modified and tested according to spec - added new PJSIP error code, PJSIP_ENOROUTESET, to indicate that route set is needed to send to tel: URI - added couple of unit tests (we can't cover the whole tel: URI scenario yet) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3323 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/samples')
-rw-r--r--pjsip-apps/src/samples/simple_pjsua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip-apps/src/samples/simple_pjsua.c b/pjsip-apps/src/samples/simple_pjsua.c
index ab2d0174..b9580476 100644
--- a/pjsip-apps/src/samples/simple_pjsua.c
+++ b/pjsip-apps/src/samples/simple_pjsua.c
@@ -117,7 +117,7 @@ int main(int argc, char *argv[])
/* If argument is specified, it's got to be a valid SIP URL */
if (argc > 1) {
- status = pjsua_verify_sip_url(argv[1]);
+ status = pjsua_verify_url(argv[1]);
if (status != PJ_SUCCESS) error_exit("Invalid URL in argv", status);
}