Changing to
 
<extension name="internal">
  <condition field="destination_number" expression="^1001"/>
    <action application="bridge" data="sofia/internal/1001%24.67.78.200" />
  </condition>
</extension
 
I get
 
2008-07-23 11:49:10 [NOTICE] switch_channel.c:533 switch_channel_set_name() New Channel sofia/internal/1000@192.168.1.117 [82981f3f-de3f-4acf-bc5e-d49e6595e0aa]
2008-07-23 11:49:10 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing Jair->1001@default
2008-07-23 11:49:10 [WARNING] mod_sofia.c:1807 sofia_outgoing_channel() Cannot locate registered user 1001@24.67.78.200
 
But the user is registered as I can see in the phone.
 
 
 
Jair Santos

 

-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: Wednesday, July 23, 2008 11:43 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] registered user calling

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