(closes issue #13337)

Reported by: pj
Tested by: pj

Set transport to SIP_TRANSPORT_UDP mode if not specified which fixes calls to get_transport returning UNKNOWN.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@145249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeff Peeler
2008-09-30 22:21:19 +00:00
parent f1dd1fe1c7
commit 81415abc21
+2
View File
@@ -20354,6 +20354,8 @@ static struct ast_channel *sip_request_call(const char *type, int format, void *
ast_log(LOG_WARNING, "'%s' is not a valid transport option to Dial() for SIP calls, using udp by default.\n", trans);
transport = SIP_TRANSPORT_UDP;
}
} else { /* use default */
transport = SIP_TRANSPORT_UDP;
}
if (!host) {