VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
hopcroft.drew at gmail... Guest
|
Posted: Wed Jul 29, 2009 11:35 am Post subject: [Freeswitch-users] Help setting up FreeSWITCH |
|
|
Hey,Having a problem, first time setting up a FreeSWITCH phone system (or any networked phone system) and seem to be in over my head.
We cannot call out or call in (though it does go to the voice mail) or call inside the network (that did work for a time, but then trying to make everything else work it stopped).
No idea what to do and hoping for some advice?
The output I am getting is: (broken it up a little)
sofia status
API CALL [sofia(status)] output:
Name Type Data State
=================================================================================================
internal profile sip:mod_sofia@10.10.0.254:5060 RUNNING (0)
external profile sip:mod_sofia@10.10.0.254:5080 RUNNING (0)
sip:joeuser@example.com ([email]sip%3Ajoeuser@example.com[/email]) NOREG
sip:03XXXXXXXX@sip.vic.iinet.net.au ([email]sip%3A03XXXXXXXX@sip.vic.iinet.net.au[/email]) REGED
10.10.0.254 alias internal ALIASED
default alias internal ALIASED
nat alias external ALIASED
outbound alias external ALIASED
=================================================================================================
2 profiles 4 aliases
sofia status profile internal
API CALL [sofia(status profile internal)] output:
=================================================================================================
Name internal
Domain Name N/A
DBName sofia_reg_internal
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_from
RTP-IP 10.10.0.254
SIP-IP 10.10.0.254
URL sip:mod_sofia@10.10.0.254:5060
BIND-URL sip:mod_sofia@10.10.0.254:5060
HOLD-MUSIC local_stream://moh
OUTBOUND-PROXY N/A
CODECS G722,PCMU,PCMA,GSM
TEL-EVENT 101
DTMF-MODE rfc2833
CNG 13
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA false
LATE-NEG false
PROXY-MEDIA false
AGGRESSIVENAT false
STUN-ENABLED true
STUN-AUTO-DISABLE false
CALLS-IN 3
FAILED-CALLS-IN 1
CALLS-OUT 0
FAILED-CALLS-OUT 0
Registrations:
=================================================================================================
Call-ID: ZjRkMmIyZjYwZGI0NjMzYWEzZTRhY2M0Nzk0N2JjYTE.
User: 1001@10.10.0.254 (1001@10.10.0.254)
Contact: "SERV ER" <sip:1001@10.10.0.254:32022;rinstance=9f1b2d2e32fdd2dc;fs_nat=yes;fs_path=sip%3A1001%4010
.10.0.254%3A32022%3Brinstance%3D9f1b2d2e32fdd2dc>
Agent: X-Lite Beta release 4.0 Beta stamp 54292
Status: Registered(UDP-NAT)(unknown) EXP(2009-07-29 14:54:10)
Host: EIN-Server
IP: 10.10.0.254
Port: 32022
Auth-User: 1001
Auth-Realm: 10.10.0.254
Call-ID: OWE3ZDc2ZWYwZGU4M2Y2ZGQ1YzQxYTMxODBiMDAwMDY.
User: 1015@10.10.0.254 (1015@10.10.0.254)
Contact: "Drew" <sip:1015@10.10.1.4:47894;rinstance=45362e614cd99099;fs_nat=yes;fs_path=sip%3A1015%4010.10.1
.4%3A47894%3Brinstance%3D45362e614cd99099>
Agent: X-Lite release 1103d stamp 53117
Status: Registered(UDP-NAT)(unknown) EXP(2009-07-29 13:04:13)
Host: EIN-Server
IP: 10.10.1.4
Port: 47894
Auth-User: 1015
Auth-Realm: 10.10.0.254
=================================================================================================
Calls Inside the LAN
2009-07-29 12:54:17.426580 [NOTICE] switch_channel.c:602 New Channel sofia/internal/1015@10.
10.0.254 [f6e84bb4-3037-d943-98f7-974b5a9569d7]
2009-07-29 12:54:17.440580 [INFO] mod_dialplan_xml.c:252 Processing Drew->1001 in context public
2009-07-29 12:54:17.441580 [NOTICE] switch_ivr.c:1349 Transfer sofia/internal/1015@10.10.0.254 (1015@10.10.0.254) to XML[1001@default]
2009-07-29 12:54:17.442580 [INFO] mod_dialplan_xml.c:252 Processing Drew->1001 in context default
2009-07-29 12:54:17.445580 [WARNING] switch_ivr.c:2046 can't find user [default@]
2009-07-29 12:54:18.566580 [INFO] switch_ivr_async.c:1793 Bound B-Leg: 1 execute_extension::dx XML features
2009-07-29 12:54:18.566580 [INFO] switch_ivr_async.c:1793 Bound B-Leg: 2 record_session::C:\Program Files (x86)\Fre
eSWITCH/recordings/1015.2009-07-29-12-54-18.wav
2009-07-29 12:54:18.567580 [INFO] switch_ivr_async.c:1793 Bound B-Leg: 3 execute_extension::cf XML features
2009-07-29 12:54:19.549580 [WARNING] mod_dptools.c:2363 Can't find user [1001@]
2009-07-29 12:54:19.549580 [ERR] switch_ivr_originate.c:1494 Cannot create outgoing channel of type [user] cause: [
SUBSCRIBER_ABSENT]
2009-07-29 12:54:19.549580 [INFO] mod_dptools.c:2091 Originate Failed. Cause: SUBSCRIBER_ABSENT
2009-07-29 12:54:19.550580 [NOTICE] mod_dptools.c:649 Channel [sofia/internal/1015@10.10.0.254 (1015@10.10.0.254)] has been answered
2009-07-29 12:54:25.315580 [NOTICE] sofia_reg.c:319 Registering iinetphone.iinet.net.au
2009-07-29 12:54:27.569580 [NOTICE] sofia.c:3770 Hangup sofia/internal/1015@10.10.0.254 (1015@10.10.0.254) [CS_EXECUTE] [NORMAL_CLEARI
NG]
2009-07-29 12:54:27.673580 [NOTICE] switch_core_session.c:1085 Session 8 (sofia/internal/1015@10.10.0.254 (1015@10.10.0.254)) Ended
2009-07-29 12:54:27.673580 [NOTICE] switch_core_session.c:1087 Close Channel sofia/internal/1015@10.10.0.254 (1015@10.10.0.254) [CS_DE
STROY]
Incoming calls (04XXXXXXXX my mobile, 03XXXXXXXX the voip number)
2009-07-29 12:47:27.463580 [NOTICE] switch_channel.c:602 New Channel sofia/external/04XXXXXXXX@10.18.51.15 (04XXXXXXXX@10.18.51.15) [e1954a8
a-b5df-2b4e-9455-6ce4a6ad8af5]
2009-07-29 12:47:27.465580 [INFO] mod_dialplan_xml.c:252 Processing 04XXXXXXXX7->03XXXXXXXX in context public
2009-07-29 12:47:27.467580 [NOTICE] switch_ivr.c:1349 Transfer sofia/external/04XXXXXXXX7@10.18.51.15 (04XXXXXXXX7@10.18.51.15) to XML[1015@10
.10.0.254@public]
2009-07-29 12:47:27.468580 [INFO] mod_dialplan_xml.c:252 Processing 04XXXXXXXX7->1015@10.10.0.254 (1015@10.10.0.254) in context public
2009-07-29 12:47:27.469580 [NOTICE] switch_core_state_machine.c:179 Hangup sofia/external/04XXXXXXXX7@10.18.51.15 (04XXXXXXXX7@10.18.51.15) [C
S_EXECUTE] [NORMAL_CLEARING]
2009-07-29 12:47:27.471580 [NOTICE] switch_core_session.c:1085 Session 6 (sofia/external/04XXXXXXXX7@10.18.51.15 (04XXXXXXXX7@10.18.51.15)) En
ded
2009-07-29 12:47:27.471580 [NOTICE] switch_core_session.c:1087 Close Channel sofia/external/04XXXXXXXX7@10.18.51.15 (04XXXXXXXX7@10.18.51.15)
[CS_DESTROY]
Out Calls
2009-07-29 12:47:36.454580 [NOTICE] switch_channel.c:602 New Channel sofia/internal/1015@10.10.0.254 (1015@10.10.0.254) [b37b25ae-1f51
-8e41-b3ed-50bffdbde573]
2009-07-29 12:47:36.467580 [INFO] mod_dialplan_xml.c:252 Processing Drew->04XXXXXXXX in context public
2009-07-29 12:47:36.468580 [NOTICE] switch_core_state_machine.c:179 Hangup sofia/internal/1015@10.10.0.254 (1015@10.10.0.254) [CS_EXEC
UTE] [NORMAL_CLEARING]
2009-07-29 12:47:36.470580 [NOTICE] switch_core_session.c:1085 Session 7 (sofia/internal/1015@10.10.0.254 (1015@10.10.0.254)) Ended
2009-07-29 12:47:36.470580 [NOTICE] switch_core_session.c:1087 Close Channel sofia/internal/1015@10.10.0.254 (1015@10.10.0.254) [CS_DE
STROY]
Thanks in advance for any help that I get!!
-Drew |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Jul 29, 2009 11:53 am Post subject: [Freeswitch-users] Help setting up FreeSWITCH |
|
|
Its because he's doing FS and one softphone on the same PC.
/b
On Jul 29, 2009, at 11:36 AM, Michael Collins wrote:
Quote: | I'm wondering if the default configs got messed up somehow. We need more information.
Please do two things:
Pastebin your "Local_Extension" dialplan entry
Turn on debug level output (type "console loglevel 7"), make another call, then pastebin the output
See this page for more tips on collecting information and reporting it:
http://wiki.freeswitch.org/wiki/Reporting_Bugs
-MC |
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Wed Jul 29, 2009 11:53 am Post subject: [Freeswitch-users] Help setting up FreeSWITCH |
|
|
I'm wondering if the default configs got messed up somehow. We need more information.
Please do two things:
Pastebin your "Local_Extension" dialplan entry
Turn on debug level output (type "console loglevel 7"), make another call, then pastebin the output
See this page for more tips on collecting information and reporting it:
http://wiki.freeswitch.org/wiki/Reporting_Bugs
-MC
On Tue, Jul 28, 2009 at 10:55 PM, Drew Hopcroft <hopcroft.drew@gmail.com (hopcroft.drew@gmail.com)> wrote:
Quote: | Hey,Having a problem, first time setting up a FreeSWITCH phone system (or any networked phone system) and seem to be in over my head.
We cannot call out or call in (though it does go to the voice mail) or call inside the network (that did work for a time, but then trying to make everything else work it stopped).
No idea what to do and hoping for some advice?
The output I am getting is: (broken it up a little)
sofia status
API CALL [sofia(status)] output:
Name Type Data State
=================================================================================================
internal profile sip:mod_sofia@10.10.0.254:5060 RUNNING (0)
external profile sip:mod_sofia@10.10.0.254:5080 RUNNING (0)
sip:joeuser@example.com ([email]sip%3Ajoeuser@example.com[/email]) NOREG
sip:03XXXXXXXX@sip.vic.iinet.net.au ([email]sip%3A03XXXXXXXX@sip.vic.iinet.net.au[/email]) REGED
10.10.0.254 alias internal ALIASED
default alias internal ALIASED
nat alias external ALIASED
outbound alias external ALIASED
=================================================================================================
2 profiles 4 aliases
sofia status profile internal
API CALL [sofia(status profile internal)] output:
=================================================================================================
Name internal
Domain Name N/A
DBName sofia_reg_internal
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_from
RTP-IP 10.10.0.254
SIP-IP 10.10.0.254
URL sip:mod_sofia@10.10.0.254:5060
BIND-URL sip:mod_sofia@10.10.0.254:5060
HOLD-MUSIC local_stream://moh
OUTBOUND-PROXY N/A
CODECS G722,PCMU,PCMA,GSM
TEL-EVENT 101
DTMF-MODE rfc2833
CNG 13
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA false
LATE-NEG false
PROXY-MEDIA false
AGGRESSIVENAT false
STUN-ENABLED true
STUN-AUTO-DISABLE false
CALLS-IN 3
FAILED-CALLS-IN 1
CALLS-OUT 0
FAILED-CALLS-OUT 0
Registrations:
=================================================================================================
Call-ID: ZjRkMmIyZjYwZGI0NjMzYWEzZTRhY2M0Nzk0N2JjYTE.
User: 1001@10.10.0.254 (1001@10.10.0.254)
Contact: "SERV ER" <sip:1001@10.10.0.254:32022;rinstance=9f1b2d2e32fdd2dc;fs_nat=yes;fs_path=sip%3A1001%4010
.10.0.254%3A32022%3Brinstance%3D9f1b2d2e32fdd2dc>
Agent: X-Lite Beta release 4.0 Beta stamp 54292
Status: Registered(UDP-NAT)(unknown) EXP(2009-07-29 14:54:10)
Host: EIN-Server
IP: 10.10.0.254
Port: 32022
Auth-User: 1001
Auth-Realm: 10.10.0.254
Call-ID: OWE3ZDc2ZWYwZGU4M2Y2ZGQ1YzQxYTMxODBiMDAwMDY.
User: 1015@10.10.0.254 (1015@10.10.0.254)
Contact: "Drew" <sip:1015@10.10.1.4:47894;rinstance=45362e614cd99099;fs_nat=yes;fs_path=sip%3A1015%4010.10.1
.4%3A47894%3Brinstance%3D45362e614cd99099>
Agent: X-Lite release 1103d stamp 53117
Status: Registered(UDP-NAT)(unknown) EXP(2009-07-29 13:04:13)
Host: EIN-Server
IP: 10.10.1.4
Port: 47894
Auth-User: 1015
Auth-Realm: 10.10.0.254
=================================================================================================
Calls Inside the LAN
2009-07-29 12:54:17.426580 [NOTICE] switch_channel.c:602 New Channel sofia/internal/1015@10.
10.0.254 [f6e84bb4-3037-d943-98f7-974b5a9569d7]
2009-07-29 12:54:17.440580 [INFO] mod_dialplan_xml.c:252 Processing Drew->1001 in context public
2009-07-29 12:54:17.441580 [NOTICE] switch_ivr.c:1349 Transfer sofia/internal/1015@10.10.0.254 (1015@10.10.0.254) to XML[1001@default]
2009-07-29 12:54:17.442580 [INFO] mod_dialplan_xml.c:252 Processing Drew->1001 in context default
2009-07-29 12:54:17.445580 [WARNING] switch_ivr.c:2046 can't find user [default@]
2009-07-29 12:54:18.566580 [INFO] switch_ivr_async.c:1793 Bound B-Leg: 1 execute_extension::dx XML features
2009-07-29 12:54:18.566580 [INFO] switch_ivr_async.c:1793 Bound B-Leg: 2 record_session::C:\Program Files (x86)\Fre
eSWITCH/recordings/1015.2009-07-29-12-54-18.wav
2009-07-29 12:54:18.567580 [INFO] switch_ivr_async.c:1793 Bound B-Leg: 3 execute_extension::cf XML features
2009-07-29 12:54:19.549580 [WARNING] mod_dptools.c:2363 Can't find user [1001@]
2009-07-29 12:54:19.549580 [ERR] switch_ivr_originate.c:1494 Cannot create outgoing channel of type [user] cause: [
SUBSCRIBER_ABSENT]
2009-07-29 12:54:19.549580 [INFO] mod_dptools.c:2091 Originate Failed. Cause: SUBSCRIBER_ABSENT
2009-07-29 12:54:19.550580 [NOTICE] mod_dptools.c:649 Channel [sofia/internal/1015@10.10.0.254 (1015@10.10.0.254)] has been answered
2009-07-29 12:54:25.315580 [NOTICE] sofia_reg.c:319 Registering iinetphone.iinet.net.au
2009-07-29 12:54:27.569580 [NOTICE] sofia.c:3770 Hangup sofia/internal/1015@10.10.0.254 (1015@10.10.0.254) [CS_EXECUTE] [NORMAL_CLEARI
NG]
2009-07-29 12:54:27.673580 [NOTICE] switch_core_session.c:1085 Session 8 (sofia/internal/1015@10.10.0.254 (1015@10.10.0.254)) Ended
2009-07-29 12:54:27.673580 [NOTICE] switch_core_session.c:1087 Close Channel sofia/internal/1015@10.10.0.254 (1015@10.10.0.254) [CS_DE
STROY]
Incoming calls (04XXXXXXXX my mobile, 03XXXXXXXX the voip number)
2009-07-29 12:47:27.463580 [NOTICE] switch_channel.c:602 New Channel sofia/external/04XXXXXXXX@10.18.51.15 (04XXXXXXXX@10.18.51.15) [e1954a8
a-b5df-2b4e-9455-6ce4a6ad8af5]
2009-07-29 12:47:27.465580 [INFO] mod_dialplan_xml.c:252 Processing 04XXXXXXXX7->03XXXXXXXX in context public
2009-07-29 12:47:27.467580 [NOTICE] switch_ivr.c:1349 Transfer sofia/external/04XXXXXXXX7@10.18.51.15 (04XXXXXXXX7@10.18.51.15) to XML[1015@10
.10.0.254@public]
2009-07-29 12:47:27.468580 [INFO] mod_dialplan_xml.c:252 Processing 04XXXXXXXX7->1015@10.10.0.254 (1015@10.10.0.254) in context public
2009-07-29 12:47:27.469580 [NOTICE] switch_core_state_machine.c:179 Hangup sofia/external/04XXXXXXXX7@10.18.51.15 (04XXXXXXXX7@10.18.51.15) [C
S_EXECUTE] [NORMAL_CLEARING]
2009-07-29 12:47:27.471580 [NOTICE] switch_core_session.c:1085 Session 6 (sofia/external/04XXXXXXXX7@10.18.51.15 (04XXXXXXXX7@10.18.51.15)) En
ded
2009-07-29 12:47:27.471580 [NOTICE] switch_core_session.c:1087 Close Channel sofia/external/04XXXXXXXX7@10.18.51.15 (04XXXXXXXX7@10.18.51.15)
[CS_DESTROY]
Out Calls
2009-07-29 12:47:36.454580 [NOTICE] switch_channel.c:602 New Channel sofia/internal/1015@10.10.0.254 (1015@10.10.0.254) [b37b25ae-1f51
-8e41-b3ed-50bffdbde573]
2009-07-29 12:47:36.467580 [INFO] mod_dialplan_xml.c:252 Processing Drew->04XXXXXXXX in context public
2009-07-29 12:47:36.468580 [NOTICE] switch_core_state_machine.c:179 Hangup sofia/internal/1015@10.10.0.254 (1015@10.10.0.254) [CS_EXEC
UTE] [NORMAL_CLEARING]
2009-07-29 12:47:36.470580 [NOTICE] switch_core_session.c:1085 Session 7 (sofia/internal/1015@10.10.0.254 (1015@10.10.0.254)) Ended
2009-07-29 12:47:36.470580 [NOTICE] switch_core_session.c:1087 Close Channel sofia/internal/1015@10.10.0.254 (1015@10.10.0.254) [CS_DE
STROY]
Thanks in advance for any help that I get!!
-Drew
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 |
|
|
msc at freeswitch.org Guest
|
Posted: Wed Jul 29, 2009 12:35 pm Post subject: [Freeswitch-users] Help setting up FreeSWITCH |
|
|
On Wed, Jul 29, 2009 at 9:40 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote: | Its because he's doing FS and one softphone on the same PC.
|
Naughty naughty! |
|
Back to top |
|
|
hopcroft.drew at gmail... Guest
|
Posted: Wed Jul 29, 2009 9:52 pm Post subject: [Freeswitch-users] Help setting up FreeSWITCH |
|
|
Yeah, I have a softphone on the FS computer for tests, guessing this is bad?Sorry, complete noob at FS =P
On Thu, Jul 30, 2009 at 3:28 AM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
hopcroft.drew at gmail... Guest
|
Posted: Wed Jul 29, 2009 10:00 pm Post subject: [Freeswitch-users] Help setting up FreeSWITCH |
|
|
thanks!
On Thu, Jul 30, 2009 at 12:52 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
|
|
Back to top |
|
|
hopcroft.drew at gmail... Guest
|
Posted: Thu Jul 30, 2009 9:15 pm Post subject: [Freeswitch-users] Help setting up FreeSWITCH |
|
|
Hey,More noob questions,
Background: I have a server running FS and clients connecting to the server. I have re-installed FS so that i could start from scratch and have LAN calls working (using default settings and users like 1014 and 1015). I have incoming call going to the server, and I can watch it all happen from the cli, but the users never get the calls. Users cant call out either and I see "[INFO] switch_core_state_mashine.c:136 No Route, Aborting" in cli.
I have 2 questions:
I am assuming that my problem is that I am not bridging the incoming or outgoing calls to/from the users. How do I set this up and in witch file? (running on windows server 0
Just as a general knowledge question to help me learn about FS, whats the difference between users and extensions?
I have been reading though the wiki but I must be looking in all the wrong places .
Thanks for any help!
-Drew
On Thu, Jul 30, 2009 at 12:56 PM, Drew Hopcroft <hopcroft.drew@gmail.com (hopcroft.drew@gmail.com)> wrote:
Quote: | thanks!
On Thu, Jul 30, 2009 at 12:52 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
|
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Thu Jul 30, 2009 9:30 pm Post subject: [Freeswitch-users] Help setting up FreeSWITCH |
|
|
On Thu, Jul 30, 2009 at 7:04 PM, Drew Hopcroft <hopcroft.drew@gmail.com (hopcroft.drew@gmail.com)> wrote:
Quote: | Hey,More noob questions,
Background: I have a server running FS and clients connecting to the server. I have re-installed FS so that i could start from scratch and have LAN calls working (using default settings and users like 1014 and 1015). I have incoming call going to the server, and I can watch it all happen from the cli, but the users never get the calls. Users cant call out either and I see "[INFO] switch_core_state_mashine.c:136 No Route, Aborting" in cli.
I have 2 questions:
I am assuming that my problem is that I am not bridging the incoming or outgoing calls to/from the users. How do I set this up and in witch file? (running on windows server 0
|
You need to be looking at the CLI in debug mode. Check this link for some hints on how to gather debugging/troubleshooting info:
http://wiki.freeswitch.org/wiki/Reporting_Bugs
Quote: |
Just as a general knowledge question to help me learn about FS, whats the difference between users and extensions?
|
Think of an extension as a destination number. (BTW, an extension doesn't technically have to be numeric - it can be alphanumeric.) The destination doesn't have to be a physical telephone - it can be a lot of things, including these from the default dialplan:
1000 - dial registered user 1000
30xx - dynamic conferences
4000 - check VM msgs
5000 - Demo IVR
9992 - Info application
9995 - FS Echo app
9999 - MOH (music)
Have fun reading, learning, and playing!
-MC
|
|
Back to top |
|
|
|
|
|
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
|