VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
mgende at gendesign.com Guest
|
Posted: Fri Oct 16, 2009 12:12 am Post subject: [Freeswitch-users] Subject:, Re: FreeSWITCH-users Digest, Or |
|
|
Hey Orien,
pfsense has a nice interface, but I only use it for adding the FS package, maybe messing with LAN and WAN addresses. Using the "command line" helped me to better understand what FS was doing and how. Pfsense just made it easier to have an OS and really good firewall married to FS without me needing to do a lot of work. In my pfsense installs, I didn't need to add any firewall rules to allow SIP ports "right of way", the pfsense folks had taken care of that detail.
One way to talk "direct" to FS on pfsense is to use the console of the FreeBSD box you have pfsense installed on. Login as root. You'll get a character screen with options 1-12 (I believe).
SSHing in gets you the same interface options.
Hit option 8 and you'll go to a shell. I'm assuming you can get around in Linux or Unix (If not, tell me). "ps aux | grep free" and kill the PID for FS (pfsense runs FS in the background) Then, invoke FS with /usr/local/freeswitch/bin/freeswitch.
Now, you're talking direct to FS in the foreground, and it is talking to you. After starting FS, hit "enter" if there's stuff on the screen - which there will be - and you'll see the FS prompt. Try the sofia commands.
If you are still configured with:
WAN: 192.168.2.210
LAN: 192.168.3.1
Phones on network 192.168.3.0/24
...then make sure you follow the multi-home wiki instructions in section 4. I'd include that here, but its better formatted there. I've updated it last week so have another look if you've not seen it lately.
http://wiki.freeswitch.org/wiki/Multi_home_tutorial
Also, make sure you understand section 3, the FS COMMANDS FOR STARTERS and WHERE STUFF IS FOR STARTERS. It'll help.
Following those instructions, unless there's some other issue, will allow for phones on the LAN to talk to one another. Its a start.
If it does not, we'll take it from there.
Regards,
Mike G.
On Thu, Oct 15, 2009 at 12:43 PM, Orien Love <orien@tx.rr.com (orien@tx.rr.com)> wrote:
Quote: | Mike,
I copied the status screen from the freeswitch package in the web
setup. I you need a console view, I will need instructions on how to
console into pfsense, Since I have never done that.
Orien L.
Name Type
Data State
=================================================================================================
internal profile
sip:mod_sofia@192.168.10.1:5060 RUNNING (0)
external profile
sip:mod_sofia@192.168.2.210:5080 RUNNING (0)
192.168.10.1 alias
internal ALIASED
internal-ipv6 profile
sip:mod_sofia@[::1]:5060 RUNNING (0)
=================================================================================================
3 profiles 1 alias
sofia status profile external
=================================================================================================
Name external
Domain Name N/A
DBName sofia_reg_external
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_to
RTP-IP 192.168.2.210
Ext-RTP-IP 192.168.2.210
SIP-IP 192.168.2.210
Ext-SIP-IP 192.168.2.210
URL sip:mod_sofia@192.168.2.210:5080
BIND-URL sip:mod_sofia@192.168.2.210:5080
HOLD-MUSIC local_stream://moh
OUTBOUND-PROXY N/A
CODECS 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 0
FAILED-CALLS-IN 0
CALLS-OUT 0
FAILED-CALLS-OUT 0
Registrations:
=================================================================================================
=================================================================================================
sofia status profile internal
=================================================================================================
Name internal
Domain Name N/A
DBName sofia_reg_internal
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_from
RTP-IP 192.168.10.1
Ext-RTP-IP 192.168.10.1
SIP-IP 192.168.10.1
Ext-SIP-IP 192.168.10.1
URL sip:mod_sofia@192.168.10.1:5060
BIND-URL sip:mod_sofia@192.168.10.1:5060
HOLD-MUSIC local_stream://moh
OUTBOUND-PROXY N/A
CODECS G7221@32000h,G7221@16000h,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 6
FAILED-CALLS-IN 3
CALLS-OUT 0
FAILED-CALLS-OUT 0
Registrations:
=================================================================================================
Call-ID: NjczMzQzNTVlYTJhYjIzYmFiZmFjZGYzNzNlMTVkMTc.
User: 1001@192.168.10.1 (1001@192.168.10.1)
Contact: "user"
Agent: Pangolin v5.2, Build 09182009
Status: Registered(UDP)(unknown) EXP(2009-10-15 05:03:17)
Host: orienhome2.local
IP: 192.168.10.243
Port: 3789
Auth-User: 1001
Auth-Realm: 192.168.10.1
=================================================================================================
sofia status profile internal-ipv6
=================================================================================================
Name internal-ipv6
Domain Name N/A
DBName sofia_reg_internal-ipv6
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_to
RTP-IP ::1
SIP-IP ::1
URL sip:mod_sofia@[::1]:5060
BIND-URL sip:mod_sofia@[::1]:5060
HOLD-MUSIC local_stream://moh
OUTBOUND-PROXY N/A
CODECS G7221@32000h,G7221@16000h,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 0
FAILED-CALLS-IN 0
CALLS-OUT 0
FAILED-CALLS-OUT 0
Registrations:
=================================================================================================
=================================================================================================
status
UP 0 years, 0 days, 6 hours, 55 minutes, 32 seconds, 640 milliseconds,
638 microseconds
43 session(s) since startup
0 session(s) 0/30
1000 session(s) max
Quote: | Subject:
Re: [Freeswitch-users] FreeSWITCH-users Digest, Mike G. answer to Orien L
From:
Michael Gende <mgende@gendesign.com (mgende@gendesign.com)>
Date:
Thu, 15 Oct 2009 09:36:55 -0500
To:
freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
To:
freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Hey Orien,
OK, let's have a look here. How about going to the console of your FS
and posting the output of the following commands:
sofia status profile internal
sofia status profile external
We'll take it from there. Your problems are just like what I ran into
initially, so I'm hopeful we get round them.
Mike G.
On Wed, Oct 14, 2009 at 11:34 PM, Michael Gende <mgende@gendesign.com (mgende@gendesign.com)
<mailto:mgende@gendesign.com (mgende@gendesign.com)>> wrote:
I'll get to you in the morning (where do you live?) and we'll see
what's what.
On Wed, Oct 14, 2009 at 10:30 PM, Orien Love <orien@tx.rr.com (orien@tx.rr.com)
<mailto:orien@tx.rr.com (orien@tx.rr.com)>> wrote:
Mike,
Thank you for your quick response, this has been driving
me nuts.
in my third attempt I tried to follow the mulit home example.
I did set
the phones to register to the local lan IP. actually had them
registering, but it did help it in any way still the same problem.
After my post I reinstalled the package and set the firewall
to allow
phones on the wan to connect, as per
http://doc.pfsense.org/index.php/FreeSWITCH#Firewall
put my computer with the soft phone on the wan network
(192,168.2.xxx)
had it registering and it had the same problem. so far all the
setups I
have tried are not working, the phones register, but cannot
dial/connect another phone, also does not go to voice mail,
maybe it
is in my dial plan. which is default.
Shoot, I am not picky, I just want to get it to work. so any
suggestions
on how to accomplish this are greatly appreciated.
My phones are currently a couple of polycom 601's, and a
Pangolin Softphone.
Thanks
Orien L.
|
_______________________________________________
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 |
|
|
Russell.Mosemann at cu... Guest
|
Posted: Fri Oct 16, 2009 2:58 am Post subject: [Freeswitch-users] Subject:, Re: FreeSWITCH-users Digest, Or |
|
|
Michael Gende wrote:
Quote: | Hit option 8 and you'll go to a shell. I'm assuming you can get around in
Linux or Unix (If not, tell me). "ps aux | grep free" and kill the PID for
FS (pfsense runs FS in the background) Then, invoke FS with
/usr/local/freeswitch/bin/freeswitch.
|
You've mentioned this twice, now, but a better way to do it is to _not_ stop FreeSwitch. Instead, run /usr/local/freeswitch/bin/fs_cli, which connects to FS, and then you can do everything that you can do directly in FS. When you are done, enter "\quit" or "\bye" or "\exit". See "\help" and "help" for more information.
--
Russell Mosemann
_______________________________________________
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 |
|
|
Russell.Mosemann at cu... Guest
|
Posted: Fri Oct 16, 2009 3:02 am Post subject: [Freeswitch-users] Subject:, Re: FreeSWITCH-users Digest, Or |
|
|
Quote: | When you are done, enter "\quit" or "\bye" or "\exit". See "\help" and
"help" for more information.
|
Yup, I got the slashes wrong, and I was staring right at the commands when I wrote the message. I'll blame it on how late it is here. It should be "/quit", "/bye", "/exit" and "/help".
--
Russell Mosemann
_______________________________________________
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 |
|
|
jason at jasonjgw.net Guest
|
Posted: Fri Oct 16, 2009 3:15 am Post subject: [Freeswitch-users] Subject:, Re: FreeSWITCH-users Digest, Or |
|
|
Russell Mosemann <Russell.Mosemann@cune.org> wrote:
Quote: |
Yup, I got the slashes wrong, and I was staring right at the commands when I
wrote the message. I'll blame it on how late it is here. It should be
"/quit", "/bye", "/exit" and "/help".
|
ctrl-d is also recognized and it's easier to type.
_______________________________________________
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 |
|
|
mgende at gendesign.com Guest
|
Posted: Fri Oct 16, 2009 9:16 am Post subject: [Freeswitch-users] Subject:, Re: FreeSWITCH-users Digest, Or |
|
|
I didn't know that. Thanks Russell.
Quote: |
You've mentioned this twice, now, but a better way to do it is to _not_ stop FreeSwitch. Instead, run /usr/local/freeswitch/bin/fs_cli, which connects to FS, and then you can do everything that you can do directly in FS. When you are done, enter "\quit" or "\bye" or "\exit". See "\help" and "help" for more information.
--
Russell Mosemann
|
|
|
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
|