external sip profile - registered users get Originate Failed. Cause: USER_NOT_REGISTERED
Hi all, i try to install FS as SBC between public internet and private subnet. (SIP-User)--->[public-ip]FreeSWITCH[private-ip]--->(IVR System) If i try to reach an user, i got USER_NOT_REGISTERED. If i registered to the internal sip profile with the private address, everything works fine. Any hints? freeswitch@kamailio1> sofia status profile external ================================================================================================= Name external Domain Name N/A Auto-NAT false DBName sofia_reg_external Pres Hosts Dialplan XML Context public Challenge Realm auto_to RTP-IP 212.xx.xx.xx SIP-IP 212.xx.xx.xx URL sip:mod_sofia@212.xx.xx.xx:5060 BIND-URL sip:mod_sofia@212.xx.xx.xx:5060 HOLD-MUSIC local_stream://moh OUTBOUND-PROXY N/A CODECS IN PCMU,PCMA,GSM CODECS OUT PCMU,PCMA,GSM TEL-EVENT 101 DTMF-MODE rfc2833 CNG 13 SESSION-TO 0 MAX-DIALOG 0 NOMEDIA false LATE-NEG false PROXY-MEDIA false AGGRESSIVENAT false STUN-ENABLED true STUN-AUTO-DISABLE false CALLS-IN 4 FAILED-CALLS-IN 2 CALLS-OUT 0 FAILED-CALLS-OUT 0 REGISTRATIONS 2 freeswitch@kamailio1> sofia status profile internal ================================================================================================= Name internal Domain Name N/A Auto-NAT false DBName sofia_reg_internal Pres Hosts 212.59.42.189,172.20.100.74 Dialplan XML Context public Challenge Realm auto_from RTP-IP 172.20.100.74 SIP-IP 172.20.100.74 URL sip:mod_sofia@172.20.100.74:5060 BIND-URL sip:mod_sofia@172.20.100.74:5060 HOLD-MUSIC local_stream://moh OUTBOUND-PROXY N/A CODECS IN PCMU,PCMA,GSM CODECS OUT PCMU,PCMA,GSM TEL-EVENT 101 DTMF-MODE rfc2833 CNG 13 SESSION-TO 0 MAX-DIALOG 0 NOMEDIA false LATE-NEG false PROXY-MEDIA false AGGRESSIVENAT false STUN-ENABLED true STUN-AUTO-DISABLE false CALLS-IN 0 FAILED-CALLS-IN 0 CALLS-OUT 1 FAILED-CALLS-OUT 1 REGISTRATIONS 0 -- Mit freundlichen Grüßen *Karsten Horsmann*
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? 11 апреля 2012 г. 17:42 пользователь Karsten Horsmann <khorsmann@gmail.com>написал:
Hi all,
i try to install FS as SBC between public internet and private subnet. (SIP-User)--->[public-ip]FreeSWITCH[private-ip]--->(IVR System)
If i try to reach an user, i got USER_NOT_REGISTERED. If i registered to the internal sip profile with the private address, everything works fine.
Any hints?
freeswitch@kamailio1> sofia status profile external
================================================================================================= Name external Domain Name N/A Auto-NAT false DBName sofia_reg_external Pres Hosts Dialplan XML Context public Challenge Realm auto_to RTP-IP 212.xx.xx.xx SIP-IP 212.xx.xx.xx URL sip:mod_sofia@212.xx.xx.xx:5060 BIND-URL sip:mod_sofia@212.xx.xx.xx:5060 HOLD-MUSIC local_stream://moh OUTBOUND-PROXY N/A CODECS IN PCMU,PCMA,GSM CODECS OUT PCMU,PCMA,GSM TEL-EVENT 101 DTMF-MODE rfc2833 CNG 13 SESSION-TO 0 MAX-DIALOG 0 NOMEDIA false LATE-NEG false PROXY-MEDIA false AGGRESSIVENAT false STUN-ENABLED true STUN-AUTO-DISABLE false CALLS-IN 4 FAILED-CALLS-IN 2 CALLS-OUT 0 FAILED-CALLS-OUT 0 REGISTRATIONS 2
freeswitch@kamailio1> sofia status profile internal
================================================================================================= Name internal Domain Name N/A Auto-NAT false DBName sofia_reg_internal Pres Hosts 212.59.42.189,172.20.100.74 Dialplan XML Context public Challenge Realm auto_from RTP-IP 172.20.100.74 SIP-IP 172.20.100.74 URL sip:mod_sofia@172.20.100.74:5060 BIND-URL sip:mod_sofia@172.20.100.74:5060 HOLD-MUSIC local_stream://moh OUTBOUND-PROXY N/A CODECS IN PCMU,PCMA,GSM CODECS OUT PCMU,PCMA,GSM TEL-EVENT 101 DTMF-MODE rfc2833 CNG 13 SESSION-TO 0 MAX-DIALOG 0 NOMEDIA false LATE-NEG false PROXY-MEDIA false AGGRESSIVENAT false STUN-ENABLED true STUN-AUTO-DISABLE false CALLS-IN 0 FAILED-CALLS-IN 0 CALLS-OUT 1 FAILED-CALLS-OUT 1 REGISTRATIONS 0
-- Mit freundlichen Grüßen *Karsten Horsmann*
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Anton, because all clients using 5060 as default and i didnt want to inform 1000 users that they must use an diffrent port. Also i use diffrent ip addresses for internal and external, so it should be clear where it comes from. So what can i do to reconnice FS the registered user from external? 2012/4/12 Anton Kvashenkin <anton.jugatsu@gmail.com>:
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?
-- Mit freundlichen Grüßen *Karsten Horsmann*
You can use any channel variable as well as the "special" variables listed here: http://wiki.freeswitch.org/wiki/Dialplan_XML#Built-In_Variables Example: <condition field="network_addr" expression="^192\.168\.1\.1$"/> <!-- network address=192.168.1.1 > -MC On Thu, Apr 12, 2012 at 3:51 AM, Karsten Horsmann <khorsmann@gmail.com>wrote:
Hi Anton,
because all clients using 5060 as default and i didnt want to inform 1000 users that they must use an diffrent port.
Also i use diffrent ip addresses for internal and external, so it should be clear where it comes from.
So what can i do to reconnice FS the registered user from external?
2012/4/12 Anton Kvashenkin <anton.jugatsu@gmail.com>:
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?
-- Mit freundlichen Grüßen *Karsten Horsmann*
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Anton Kvashenkin
-
Karsten Horsmann
-
Michael Collins