tolerate missing user in the request uri
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11636 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d1b8ede08b
commit
b26382fc8f
|
@ -4113,10 +4113,18 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
|
|||
} else {
|
||||
destination_number = sip->sip_request->rq_url->url_user;
|
||||
}
|
||||
check_decode(destination_number, session);
|
||||
}
|
||||
|
||||
|
||||
if (!destination_number && sip->sip_to && sip->sip_to->a_url) {
|
||||
destination_number = sip->sip_to->a_url->url_user;
|
||||
}
|
||||
|
||||
if (destination_number) {
|
||||
check_decode(destination_number, session);
|
||||
} else {
|
||||
destination_number = "service";
|
||||
}
|
||||
|
||||
if (sip->sip_to && sip->sip_to->a_url) {
|
||||
const char *host, *user;
|
||||
int port;
|
||||
|
|
Loading…
Reference in New Issue