[Freeswitch-users] I can not receive inbound calls thru FreeSWITCH

winday winday0215 at yahoo.com
Wed Apr 15 22:06:02 PDT 2009


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. 

I configed that the inbound calls are all forwarded to extension 1001. But I
got the following message:

2009-04-15 22:57:42 [NOTICE] switch_channel.c:592 switch_channel_set_name()
New Channel sofia/external/3521111111 at 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 at 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 at 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 at 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 at my ip"/>								
     <action application="javascript"
data="/usr/local/freeswitch/scripts/answermachine.js"/>
    </condition>
   </extension>

    

-- 
View this message in context: http://www.nabble.com/I-can-not-receive-inbound-calls-thru-FreeSWITCH-tp23070965p23070965.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.





More information about the FreeSWITCH-users mailing list