]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Ignore explicit transport configuration if a WebSocket transport is specified.
authorJoshua Colp <jcolp@digium.com>
Tue, 8 Apr 2014 14:49:47 +0000 (14:49 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 8 Apr 2014 14:49:47 +0000 (14:49 +0000)
commit909f8350668ded7b7afedaf998fccc596c0fd1a4
treef66bf523129f641fa37a12a2a109ce07a0d3056d
parent607c6e9772e0bcb1537edc7cf9cad22e1ca73fa8
res_pjsip: Ignore explicit transport configuration if a WebSocket transport is specified.

This change makes it so if a transport is configured on an endpoint that is a WebSocket
type the option will be ignored. In practice this is fine because the WebSocket
transport can not create outgoing connections, it can only reuse existing ones. By
ignoring the option the existing PJSIP logic for using the existing connection will
be invoked and stuff will proceed.

(closes issue ASTERISK-23584)
Reported by: Rusty Newton
........

Merged revisions 411927 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@411928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip.c