mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
return 404 when you cant find a user
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3397 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e2d6484493
commit
5af884576c
@ -2072,7 +2072,7 @@ static switch_status_t sofia_outgoing_channel(switch_core_session_t *session, sw
|
||||
tech_pvt->dest = switch_core_session_strdup(nsession, buf);
|
||||
|
||||
} else {
|
||||
terminate_session(&nsession, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER, __LINE__);
|
||||
terminate_session(&nsession, SWITCH_CAUSE_NO_ROUTE_DESTINATION, __LINE__);
|
||||
goto done;
|
||||
}
|
||||
} else if (!strchr(dest, '@')) {
|
||||
@ -2082,7 +2082,7 @@ static switch_status_t sofia_outgoing_channel(switch_core_session_t *session, sw
|
||||
tech_pvt->dest = switch_core_session_strdup(nsession, buf);
|
||||
|
||||
} else {
|
||||
terminate_session(&nsession, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER, __LINE__);
|
||||
terminate_session(&nsession, SWITCH_CAUSE_NO_ROUTE_DESTINATION, __LINE__);
|
||||
goto done;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user