Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
winday0215 at yahoo.com
Guest





PostPosted: Thu Apr 16, 2009 12:26 am    Post subject: [Freeswitch-users] I can not receive inbound calls thru Free Reply with quote

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@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>



--
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.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Apr 16, 2009 12:34 am    Post subject: [Freeswitch-users] I can not receive inbound calls thru Free Reply with quote

Its looking for "winday" in context public so your expression would be ^winday$ Your ^*******$ isn't valid as far as I can remember.
On Apr 16, 2009, at 12:06 AM, winday wrote:
Quote:
Cell Phone FL->winday in context public


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
sprice at gmail.com
Guest





PostPosted: Thu Apr 16, 2009 12:41 am    Post subject: [Freeswitch-users] I can not receive inbound calls thru Free Reply with quote

most likely your hunting for 'winday' which is not found by any condition.

2009-04-15 22:57:42 [INFO] mod_dialplan_xml.c:252 dialplan_hunt() Processing
Cell Phone FL->winday in context public

On Thu, Apr 16, 2009 at 00:06, winday <winday0215@yahoo.com> wrote:
Quote:

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@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>



--
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.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Shannon

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
winday0215 at yahoo.com
Guest





PostPosted: Thu Apr 16, 2009 12:47 am    Post subject: [Freeswitch-users] I can not receive inbound calls thru Free Reply with quote

Sorry. Could you explain more detailed?
This message means freeswitch is looking for winday in my public.xml, but it
can't find. So the dialing hang up.

I need to replace ^***********, which is my DID number, to my sip account
winday?



Brian West-3 wrote:
Quote:

Its looking for "winday" in context public so your expression would be
^winday$ Your ^*******$ isn't valid as far as I can remember.

On Apr 16, 2009, at 12:06 AM, winday wrote:

Quote:
Cell Phone FL->winday in context public

Brian West
brian@freeswitch.org

-- Meet us at ClueCon! http://www.cluecon.com





_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



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


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Apr 16, 2009 12:58 am    Post subject: [Freeswitch-users] I can not receive inbound calls thru Free Reply with quote

From your logs you need something EXACTLY like this:

<extension name="blah">
<condition field="destination_number" expression="^winday$">
<action application="bridge" data="user/1000@$${domain}"/>
</condition>
</extension>




http://wiki.freeswitch.org/wiki/Dialplan_XML


Everything about this topic is covered on the wiki and examples in the default config. I don't mind helping but you do have to do a little bit of the work yourself and read thru the wiki and possibly join the IRC channel things move faster there. Wink


/b






On Apr 16, 2009, at 12:39 AM, winday wrote:
Quote:

Sorry. Could you explain more detailed?
This message means freeswitch is looking for winday in my public.xml, but it
can't find. So the dialing hang up.

I need to replace ^***********, which is my DID number, to my sip account
winday?



Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services