<p>Here comes the true power of FreeSWITCH. mod_sofia allows you to bind different user-agents with different configuration options and therefore different ports to be listening to. So, my question would be: why don't you want to use 5080 port for communicate with external sip-server. Let me explain: when freeswitch acts like UAC ( user-agent client) to register to ITSP to get the invites for incoming calls, actually, you will be using gateway with provided credentialf for _external_ profile and therefore all invites will come to 5080 port, it's just like your any VoIP- client like Zoiper, for example. It can be 23000, it doesn't matter, you even do not need to make any port-forwardind on router ( when your PBX is behind NAT). Speaking about NAT, another reason to use external gataway is ext-rtp and ext-sip options @ external.xml. </p>
<p>But if you want that freeswitch would be acting like Registrar ( register roadwarriors clients, for example) or/and you want to receive anonymous calls like sip:sales@domain.ltd you acctually shoul use external profile ( i. e. 5080 port) or create another profile with port of your choise. SRV records become very handy.</p>
<p>So, my point is that the name of profiles is just the name, that's all. The configuration options does matter.</p>
<p>Would you want to authenticate all incoming calls - auth_calls=true/false, etc. It was example of difference beetween internal and external profile.</p>
<p>Of course if you have public IP you can simply use one profile (internal 5060) for all purpose, but if you use DID from ITSP you should'n authenticate incoming invites from that ITSP, so here comes ACL.</p>
<p>Sent from my cellphone,š sorry for mistakes.</p>
<div class="gmail_quote">05.08.2012 2:14 ÐÏÌØÚÏ×ÁÔÅÌØ "budi wibowo" <<a href="mailto:bwibowo@gmail.com">bwibowo@gmail.com</a>> ÎÁÐÉÓÁÌ:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hiš<div>just curious why freeswitch using port 5080 instead of 5060 for communication to external sip server.</div><div>few days ago i interconnect fs to external sip server that running on port 5060, and this port id fixed.š</div>
<div>how to overcome this situation? other pbx like asterisk can use port 5060 for both internal and externalš</div><div>š</div><div><br></div><div>regards</div><div><br></div><div>budi</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<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>