Is security an issue? Or will all calls behave exactly the same? You can use acl.conf.xml for letting in only certain IP addrs if need be. In any case, you could add something like this in conf/dialplan/public.xml:<div><br>
</div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;extension name=&quot;fwd to external profile&quot;&gt;</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">  &lt;condition field=&quot;destination_number&quot; expression=&quot;([your DID number])&quot;&gt;</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">    &lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/$1@x.x.x.x:yyyy&quot;/&gt;</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">  &lt;/condition&gt;</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">&lt;/extension&gt;</font><br><br></div><div>Where x.x.x.x:yyyy is the IP address and port that Lync is listening on. Give that a try and see what happens... :)</div>
<div><br></div><div>-MC</div><div><br><div class="gmail_quote">On Wed, Dec 29, 2010 at 2:26 PM, Ralph Eckhard <span dir="ltr">&lt;<a href="mailto:ralph@eckhard.nl">ralph@eckhard.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="NL" link="blue" vlink="purple"><div><p class="MsoNormal">Hi there,</p><p class="MsoNormal"> </p><p class="MsoNormal">I’m trying to use FreeSwitch to connect my MS Lync (previously OCS) to a SIP-trunk. Problem is that Lync only works using TCP-based trunks, while my SIP-provider uses UDP.</p>
<p class="MsoNormal">I understand that by using FreeSwitch I can bridge these two protocols. </p><p class="MsoNormal">I installed FreeSwitch on my Lync server and configured both the external (to sip-provider) and internal (to Lync) sip profiles. These both work; when i dial in from remote to a DDI on my trunk, i can see the incoming call in the FS CLI. Same goes for outgoing calls; when dialing a number from my lync-client, the FS CLI logs the call. </p>
<p class="MsoNormal"> </p><p class="MsoNormal">Now, what do i config to bridge the two trunks? I don’t need any extra extensions or otherwise, all call handling is done by Lync. All calls coming in from my external sip trunk need to be forwarded to my internal sip, and all calls originating from my internal sip need to be forwarded to my external sip trunk.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">Can someone point me in the right direction?</p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks in advance ;)</p><p class="MsoNormal"> </p><font color="#888888"><p class="MsoNormal">
Ralph</p><p class="MsoNormal"> </p></font></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>