We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0090834 commit f3feb7aCopy full SHA for f3feb7a
src/mod/endpoints/mod_sofia/sofia_glue.c
@@ -1273,11 +1273,8 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
1273
* since all of them have been already taken care of in mod_sofia.c:sofia_outgoing_channel()
1274
*/
1275
if (tech_pvt->transport == SOFIA_TRANSPORT_UNKNOWN && zstr(tech_pvt->gateway_name)) {
1276
- if (dst && dst->route_uri) {
1277
- p = dst->route_uri;
1278
- } else {
1279
- p = url;
1280
- }
+
+ p = url;
1281
if ((p = (char *) switch_stristr("port=", p))) {
1282
p += 5;
1283
tech_pvt->transport = sofia_glue_str2transport(p);
0 commit comments