mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-27 16:07:15 -07:00
(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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user