I'm a fresh user of FreeSWITCH. I just configed the basic things. Right now, all outbound calls are ok. I can call any number I want.

But when I use my own mobile phone to call the phone number(I got from my sip provider) bind with my sip account, I can not receive the call. My softphone on my another computer doesn't ring at all.

I configed that the inbound calls are all forwarded to extension 1001. And my softphone on my another computer is configed to use extension 1001. But I got the following message on my freeswitch server:

2009-04-15 22:57:42 [NOTICE] switch_channel.c:592 switch_channel_set_name() New Channel sofia/external/3521111111@8.17.37.23 [5a5e70c2-2a32-11de-865a-c350fb010f87]
2009-04-15 22:57:42 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing Cell Phone   FL->winday in context public
2009-04-15 22:57:42 [NOTICE] switch_core_state_machine.c:172 switch_core_standard_on_execute() Hangup sofia/external/3521111111@8.17.37.23 [CS_EXECUTE] [NORMAL_CLEARING]
2009-04-15 22:57:42 [NOTICE] switch_core_session.c:1019 switch_core_session_thread() Session 1 (sofia/external/3528713122@8.17.37.23) Ended
2009-04-15 22:57:42 [NOTICE] switch_core_session.c:1021 switch_core_session_thread() Close Channel sofia/external/3528713122@8.17.37.23 [CS_DONE]

I don't know why.

The public.xml configration is:

   <extension name="*****">   <!-- your provider or any name you'd like to call it -->
    <condition field="destination_number" expression="*************">  <!-- your DID for this gateway-->
    <action application="transfer" data="$1 XML default"/>  
    </condition>
   </extension>

The default.xml configration is:

 <extension name="Inbound">
 
    <condition field="destination_number" expression="^***********$">
     <action application="ring_ready" />
    <action application="set" data="call_timeout=20"/>
     <action application="bridge" data="sofia/sip/1001@my ip"/>
     <action application="javascript" data="/usr/local/freeswitch/scripts/answermachine.js"/>
    </condition>
   </extension>