My softphone with extension 1001 doesn't ring when receive inbound calls
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>
Please refrain from posting the same question twice... I have answered in your previous email. You might consider joining IRC and interacting with people in realtime to answer your questions. The channel is on irc.freenode.net and its #freeswitch, Any standard IRC client can access the channel... it has people in there 24/7... Thanks, Brian On Apr 16, 2009, at 12:14 AM, Jing Qin wrote:
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>
_______________________________________________ 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
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
participants (2)
-
Brian West
-
Jing Qin