Fixed error in tel: URI test in pjsip-test

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@613 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Benny Prijono 2006-07-18 16:08:50 +00:00
parent 563156189c
commit 9b44622ced
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ extern pjsip_endpoint *endpt;
#define INCLUDE_MESSAGING_GROUP 1
#define INCLUDE_TRANSPORT_GROUP 1
#define INCLUDE_TSX_GROUP 0
#define INCLUDE_TSX_GROUP 1
/*
* Include tests that normally would fail under certain gcc

View File

@ -288,7 +288,7 @@ struct uri_test
PJ_SUCCESS,
"tel:+1;isub=/:@&$,-_.!~*'()[]/:&$aA1%21+=",
&create_uri30,
"tel:+1;isub=/:@&$,-_.!~*'()[]/:&$aA1%21+%3d"
"tel:+1;isub=/:@&$,-_.!~*'()[]/:&$aA1!+%3d"
},
{
/* 31: extension number parsing and encoding */
@ -620,7 +620,7 @@ static pjsip_uri *create_uri30(pj_pool_t *pool)
pjsip_tel_uri *uri = pjsip_tel_uri_create(pool);
uri->number = pj_str("+1");
uri->isub_param = pj_str("/:@&$,-_.!~*'()[]/:&$aA1%21+=");
uri->isub_param = pj_str("/:@&$,-_.!~*'()[]/:&$aA1!+=");
return (pjsip_uri*)uri;
}