You are using the same port 5060 for internal and external profile, that's not good :) Why did you change default 5080 port for external profile?<div><br><div class="gmail_quote">11 апреля 2012 г. 17:42 пользователь Karsten Horsmann <span dir="ltr"><<a href="mailto:khorsmann@gmail.com">khorsmann@gmail.com</a>></span> написал:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
<br>
i try to install FS as SBC between public internet and private subnet.<br>
(SIP-User)--->[public-ip]FreeSWITCH[private-ip]--->(IVR System)<br>
<br>
If i try to reach an user, i got USER_NOT_REGISTERED. If i registered<br>
to the internal sip profile with the private address, everything works fine.<br>
<br>
Any hints?<br>
<br>
<br>
freeswitch@kamailio1> sofia status profile external<br>
=================================================================================================<br>
Name external<br>
Domain Name N/A<br>
Auto-NAT false<br>
DBName sofia_reg_external<br>
Pres Hosts<br>
Dialplan XML<br>
Context public<br>
Challenge Realm auto_to<br>
RTP-IP 212.xx.xx.xx<br>
SIP-IP 212.xx.xx.xx<br>
URL sip:mod_sofia@212.xx.xx.xx:5060<br>
BIND-URL sip:mod_sofia@212.xx.xx.xx:5060<br>
HOLD-MUSIC local_stream://moh<br>
OUTBOUND-PROXY N/A<br>
CODECS IN PCMU,PCMA,GSM<br>
CODECS OUT PCMU,PCMA,GSM<br>
TEL-EVENT 101<br>
DTMF-MODE rfc2833<br>
CNG 13<br>
SESSION-TO 0<br>
MAX-DIALOG 0<br>
NOMEDIA false<br>
LATE-NEG false<br>
PROXY-MEDIA false<br>
AGGRESSIVENAT false<br>
STUN-ENABLED true<br>
STUN-AUTO-DISABLE false<br>
CALLS-IN 4<br>
FAILED-CALLS-IN 2<br>
CALLS-OUT 0<br>
FAILED-CALLS-OUT 0<br>
REGISTRATIONS 2<br>
<br>
<br>
freeswitch@kamailio1> sofia status profile internal<br>
=================================================================================================<br>
Name internal<br>
Domain Name N/A<br>
Auto-NAT false<br>
DBName sofia_reg_internal<br>
Pres Hosts 212.59.42.189,172.20.100.74<br>
Dialplan XML<br>
Context public<br>
Challenge Realm auto_from<br>
RTP-IP 172.20.100.74<br>
SIP-IP 172.20.100.74<br>
URL <a href="http://sip:mod_sofia@172.20.100.74:5060" target="_blank">sip:mod_sofia@172.20.100.74:5060</a><br>
BIND-URL <a href="http://sip:mod_sofia@172.20.100.74:5060" target="_blank">sip:mod_sofia@172.20.100.74:5060</a><br>
HOLD-MUSIC local_stream://moh<br>
OUTBOUND-PROXY N/A<br>
CODECS IN PCMU,PCMA,GSM<br>
CODECS OUT PCMU,PCMA,GSM<br>
TEL-EVENT 101<br>
DTMF-MODE rfc2833<br>
CNG 13<br>
SESSION-TO 0<br>
MAX-DIALOG 0<br>
NOMEDIA false<br>
LATE-NEG false<br>
PROXY-MEDIA false<br>
AGGRESSIVENAT false<br>
STUN-ENABLED true<br>
STUN-AUTO-DISABLE false<br>
CALLS-IN 0<br>
FAILED-CALLS-IN 0<br>
CALLS-OUT 1<br>
FAILED-CALLS-OUT 1<br>
REGISTRATIONS 0<br>
<br>
--<br>
Mit freundlichen Grüßen<br>
*Karsten Horsmann*<br>
<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>
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>
</blockquote></div><br></div>