Users don't register to the nat profile at all and SHOULDNOT.  The default config makes the assumption that all users are registering to the internal profile.  Anything outside of that would require you to know a bit more on how FreeSWITCH works.  Join us on IRC #freeswitch on irc.freenode.net and people can help you get up to speed.

/b

On Jul 23, 2008, at 1:33 PM, Jair Santos wrote:

In the default context I have
 
<extension name="internal">
  <condition field="destination_number" expression="^1001"/>
    <action application="bridge" data="sofia/nat/1001%24.67.78.200" />
  </condition>
</extension
 
I am trying to call the 1001 extension and am getting
 
2008-07-23 11:26:13 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing Jair->1001@default
2008-07-23 11:26:13 [INFO] switch_ivr_async.c:1443 switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 1 execute_extension::dx XML features
2008-07-23 11:26:13 [INFO] switch_ivr_async.c:1443 switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 2 record_session::/usr/local/freeswitch/recordings/1000.2008-07-23-11-26-13.wav
2008-07-23 11:26:13 [INFO] switch_ivr_async.c:1443 switch_ivr_bind_dtmf_meta_session() Bound B-Leg: 3 execute_extension::cf XML features
2008-07-23 11:26:13 [WARNING] switch_ivr_originate.c:539 switch_ivr_originate() No origination URL specified!
2008-07-23 11:26:13 [ERR] switch_ivr_originate.c:823 switch_ivr_originate() Cannot create outgoing channel of type [user] cause: [DESTINATION_OUT_OF_ORDER]
 
What am I missing ?
 
thanks
 
Jair Santos

Brian West
sip:brian@freeswitch.org