[Freeswitch-users] USER_NOT_REGISTERED with external profile

Alexis de BRUYN [Mailinglists] alexis.mailinglist at de-bruyn.fr
Tue Jan 17 01:37:20 MSK 2012


Hi Everybody,

I am trying to use FreeSwitch in a (double) NAT Configuration from a
fresh snapshot install (Debian Squeeze, server outside from my client
LAN) with default directory for users.

When I call 1001 from 1000 (or 1000 from 1001) , I cannot hear the
callee, the phone doesn't ring and automatically hangup, I see in the
console :

2012-01-16 22:59:37.691663 [ERR] switch_ivr_originate.c:2447 Cannot
create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2012-01-16 22:59:37.691663 [ERR] switch_ivr_originate.c:2447 Cannot
create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]

However, 1000 and 1001 are registered (from the same LAN) :

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           	192.168.1.6
SIP-IP           	192.168.1.6
URL              	sip:mod_sofia at 192.168.1.6:5080
BIND-URL         	sip:mod_sofia at 192.168.1.6:5080
HOLD-MUSIC       	local_stream://moh
OUTBOUND-PROXY   	N/A
CODECS IN        	G7221 at 32000h,G7221 at 16000h,G722,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         	3
FAILED-CALLS-IN  	0
CALLS-OUT        	0
FAILED-CALLS-OUT 	0

Registrations:
=================================================================================================
Call-ID:    	aU.1ZlEZkW7nlHpwp9ig1lt7A3weNnwm
User:       	1001 at X.Y.Z.T
Contact:    	"Freeswitch" <sip:1001 at A.B.C.D:50193>
Agent:      	Bria iOS 2.0.0
Status:     	Registered(UDP)(unknown) EXP(2012-01-16 23:16:00) EXPSECS(934)
Host:       	phone
IP:         	A.B.C.D
Port:       	50193
Auth-User:  	1001
Auth-Realm: 	X.Y.Z.T
MWI-Account:	1001 at X.Y.Z.T

Call-ID:    	3c27b7424837-bsfi877ujb2n
User:       	1000 at X.Y.Z.T
Contact:    	"freeswitch" <sip:1000 at 192.168.0.69:2048;line=skgk4hug>
Agent:      	snom300/8.4.32
Status:     	Registered(UDP)(unknown) EXP(2012-01-17 00:01:24) EXPSECS(3658)
Host:       	phone
IP:         	A.B.C.D
Port:       	62061
Auth-User:  	1000
Auth-Realm: 	X.Y.Z.T
MWI-Account:	1000 at X.Y.Z.T

Total items returned: 2
=================================================================================================

All necessary ports are opened/forwarded on the server.

I See on the 1000 configuration that this is the local ip address which
is set as contact. Is there any other setups to do in the directory ?
Or other parameters in the external profile ?

Thanks for your help !

Regards,

--
Alexis de BRUYN
Mail : alexis.mailinglist at de-bruyn.fr



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list