It should already be doing this.  I suspect your contact port != real network port the request came from.  Sofia can't find and reuse the connection if I recall correctly.


On Jul 22, 2012, at 2:31 PM, Tihomir Culjaga wrote:

hello,

im just wondering if it is possible to make FS re-use the existing TLS
connection established on UA registratioin for incoming calls to UA?


as an example... i have extensions 1002 (uses TLS) and 1009 (uses SIP/UDP).
Both extensions are registered to the same FS. I can place calls from 1002
everywhere but 1002 cannot get any calls.

http://pastebin.freeswitch.org/19575

--
Brian West
FreeSWITCH Solutions, LLC
PO BOX PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH_Wire
T: +1.213.286.0410  |  F: +1.213.286.0401  |  M: +1.918.424.WEST
iNUM: +883 5100 1286 0410