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:
parent
563156189c
commit
9b44622ced
|
@ -38,7 +38,7 @@ extern pjsip_endpoint *endpt;
|
||||||
|
|
||||||
#define INCLUDE_MESSAGING_GROUP 1
|
#define INCLUDE_MESSAGING_GROUP 1
|
||||||
#define INCLUDE_TRANSPORT_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
|
* Include tests that normally would fail under certain gcc
|
||||||
|
|
|
@ -288,7 +288,7 @@ struct uri_test
|
||||||
PJ_SUCCESS,
|
PJ_SUCCESS,
|
||||||
"tel:+1;isub=/:@&$,-_.!~*'()[]/:&$aA1%21+=",
|
"tel:+1;isub=/:@&$,-_.!~*'()[]/:&$aA1%21+=",
|
||||||
&create_uri30,
|
&create_uri30,
|
||||||
"tel:+1;isub=/:@&$,-_.!~*'()[]/:&$aA1%21+%3d"
|
"tel:+1;isub=/:@&$,-_.!~*'()[]/:&$aA1!+%3d"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
/* 31: extension number parsing and encoding */
|
/* 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);
|
pjsip_tel_uri *uri = pjsip_tel_uri_create(pool);
|
||||||
|
|
||||||
uri->number = pj_str("+1");
|
uri->number = pj_str("+1");
|
||||||
uri->isub_param = pj_str("/:@&$,-_.!~*'()[]/:&$aA1%21+=");
|
uri->isub_param = pj_str("/:@&$,-_.!~*'()[]/:&$aA1!+=");
|
||||||
return (pjsip_uri*)uri;
|
return (pjsip_uri*)uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue