FreeSWITCH package for pfSense 1.2.1 and 2.0 released. PBX or Proxy
-
Just wanted to let you know, I was playing around in freeswitch trying to setup inbound faxing, and ran into an issue with mod_fax not loading properly. I was able to get things sorted eventually by trying to load the mod_fax.so object manually from fs_cli.so; when I tried that it complained that /usr/local/lib/libspandsp.so.2 didn't exist, and indeed it doesn't, at least not on 1.2.3-RC1. Symlinking libspandsp.so.1 to libspandsp.so.2 appears to have fixed everything right up for me though, although I'm not sure that's the "right" way to get things working.
Thanks to your post I was able to load mod_fax. I didn't stop there I immediately started to build a GUI interface for it. Should be done sometime this week. So lists the fax as a tiff file for download, and converts the fax to png and pdf. FAX to email and a method to send the fax is next.
Best Regards,
mcrane -
Can I request one feature? A quick button that resets all settings to default.
I had everything working for the last while (still have not had time to play with IVR), and I did a freeswitch upgrade and now my incoming calls go right through to voicemail. I can't even do local transfers.
I am guessing the reason is that I did some changes to the original settings to force freeswitch to my Lan ip's to get registrations working. Due to all the changes done to freeswich (looks good, interface is much better), I see that my changes could be the problem. Outbound calls to provider work, incoming go right to voicemail now (not available), and internal calls are not available. It was working previously.
Honestly the easiest way would be to start with default settings and set things up again. If I uninstall and reinstall, all the settings are saved. I tried modifying the settings file, and always seem to corrupt it.
I can't see that I am the only one who may want to hit a button to reset to mcrane default settings.Update. Ok, I just need to look some more. Looks like mcrane has already done this. Wow, snuck this in on me… :)
Update 2. Defaults did not make things better. Still getting errors on internal transfers in the log..
IP 192.168.0.6 Rejected by acl "domains". Falling back to Digest auth
So much for things running smoothly for the last couple of months..Update 3. Restore settings on the Lan.xlm does not work.
-
Can someone PM me with a cut/paste of their lan.xml?
My test machine is busy right now, and I can't delete the drive and install a fresh pfsense/freeswitch right now.
I'm hoping that will restore my internal and inbound calling…Thanks!
Update. The restore does work on the lan file. The confusing part was that it put my ip in the file, so I thought it was my modified one (I had to put the local ip in the internal file and then I could get internal calling).
ANyways, I'm back to still not working. Whatever the changes were to the last couple of releases were, killed my internal and inbound calling. Not sure why internal callings would fail, and send it to voicemail.
Is it normal to have no internal registrations, and all the phones on the Lan? (i would assume so)
Also the log is getting user not registered on to of the rejected by acl domains even though the phones are clearly registered under the lan.I'd install an older version if I could as things were working before.
Oh well, I guess this is the fun of working with these packages!
-
tester_02: a tool that would help see what is going on is to use the freeswitch console.
From the pfsense console do the following:
cd /usr/local/freeswitch/bin
./fs_cli -H 192.168.1For more help please use IRC -> freenode -> #pfsense-freeswitch
IRC clients that work well
Firefox add on chatzilla
xchat
http://www.mibbit.com/chat/ (online IRC client) -
tester_02, I've had the same symptoms when registered on LAN profile. I have just used the WAN address to register my ATA and all works well registered to the Internal profile.
db
-
Introducing pfSense FreeSWITCH package version 0.9.
Whats in the new release.
1. FAX
FAX interface it includes fax to email consider. The FAX feature is currently beta until more people test it and report back. I have done my some testing and found that some VOIP providers do better with faxing than others. Viatalk seems to do pretty good. I suggest people help out testing this and report back how it performs with their provider.2. Hunt group
a. fix warning messages
b. fix ability to delete from the hunt group list
c. add sip uri examples.3. Auto Attendant (IVR) add the following fields
a. Call timeout is the time allotted to ring the destination before going to voicemail (for extensions).
b. Direct Dial can be enabled or disabled. If disabled then only the auto attendant (IVR) options numbers will be allowed from the auto attendant. If enabled extensions and feature codes not defined in the IVR can be called.
c. Ring Back allows you to choose whether to provide the caller with ring tone or music on hold.
d. Add examples to sip uri.
e. Add edit area tool to 'Javascript Condition' which adds javascript syntax highlighting, a full screen option, and more. -
Installed and working mostly okay! Can't wait to play with the fax but that will have to wait for another day. Glad to see the other things added - all very welcome additions, the ring versus music on hold is nice. Hunt group is huge, that's something I'll be playing with right away as well.
One issue I have been having - and had with asterisk but to a lower extent:
2 phones both registered to my pfsense freeswitch. (no voip provider in this example)
I call between phones - after 20 minutes, there is a 3 second delay in the conversation. Makes the call terrible even though the quality is fine. I assume it will continue to get worse if I let the call go on. I drop the call, and start it again and everything is fine.I can duplicate this with a call from an external (5km) voip phone to an internal phone, and also from a external voip provider to an internal voip phone. Duplicated on different internal devices and two external providers.
pfSense box is a AMD Geode that doesn't seem to be very loaded CPU wise to me. Using G711 codecs. Haven't really played with changing that.
Does anyone have any initial thoughts? pfSense is running snort and squid. Traffic shaper is configured with the wizard to give voip priority. Using a fairly new 1.2.3.
-
I've noticed the issue you mentioned. I was in a 1.5 to 2 hour long conference call muted until the end of the call at the end of the call there was a 5 - 7 second audio delay on one side.
I just started using Jitterbuffer to see if it helps.
http://wiki.freeswitch.org/wiki/JitterbufferMore information
http://www.freeswitch.org/node/57 -
FreeSWITCH package 0.9.1
a. FreeSWITCH package add 'd' for default option to IVR which is the option that is performed if the caller dtmf doesn't match any other option (Direct Dial must be disabled). Other options that have already existed 't' timeout which determines where to send the caller if no dtmf is detected. 'n' for now this is useful for the during office hours if you want to direct the calls to ring an extension or huntgroup immediately and not wait for any dtmf keys to be pressed.
b. Added a new profile for hunt group and auto attendant destination extensions. The 'auto' profile searches all profiles to find the one the user is registered to and then directs the call to the profile that it found.
c. Extensive testing and fixed a few minor issues bugs with the IVR.
-
Error when trying to send fax Untitled.tif on a fresh install of 0.9.1
Warning: move_uploaded_file(/usr/local/freeswitch/storage/fax//temp/Untitled.tif): failed to open stream: No such file or directory in /usr/local/www/packages/freeswitch/freeswitch_fax_edit.php on line 120 Warning: move_uploaded_file(): Unable to move '/tmp/phpQGCc0L' to '/usr/local/freeswitch/storage/fax//temp/Untitled.tif' in /usr/local/www/packages/freeswitch/freeswitch_fax_edit.php on line 120 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/packages/freeswitch/freeswitch_fax_edit.php:120) in /usr/local/www/packages/freeswitch/freeswitch_fax_edit.php on line 161
# ls /usr/local/freeswitch/storage/ voicemail #
It's trying to use a temp directory that doesn't exist?
db
-
It looks like I ran the following too early in the install process. You can fix that by running the following from the pfSense GUI -> Diagnostics -> Command. Then run save the fax extension again and it create the remaining folder structure. I have committed this change so the install should work now. So your other choice is simply to upgrade to the latest version. Thanks for reporting it.
if (!is_dir('/usr/local/freeswitch/storage/fax/')) {
exec("mkdir /usr/local/freeswitch/storage/fax/");
}if (!is_dir('/usr/local/freeswitch/storage/fax/receive/')) {
exec("mkdir /usr/local/freeswitch/storage/fax/receive/");
} -
My wife and I each had a conversation today where latency became quite high, probably 3-4 seconds on my call. The call length was recorded at 528 seconds and my wife's at 672. That's with the jitterbuffer set to 20 ms, but apparently not saving every call.
db
edit: I put this to the freeswitch-users mailing list and it was suggested to try
<action application="set" data="rtp_autoflush=true"></action> -
I put this to the freeswitch-users mailing list and it was suggested to try
<action application="set" data="rtp_autoflush=true"></action>Sounds promising. I will add it to my system.
Also have talked to people that are using an older version of the FreeSWITCH package and they don't seem to have the issue. I will do additional testing on those systems to confirm.
I'm also working with unixdawg who is working on a FreeBSD FreeSWITCH port and will be using it to create a new build of FreeSWITCH. When that is ready will do some more testing to see if it is affected.
Best Regards, Mark.
-
FreeSWITCH package new minor version
clean up blank recordings,
add dialplan default.xml,
add dialplan public.xml,
adjust wording on setup,
and extension pages,
create lan profile directory if it doesn't exist,
status tabadd rescan and restartI'm working on a new build of FreeSWITCH that will be ready on Monday or Tuesday.
-
On the features tab, where every other feature has the word 'open', the DISA section has nothing. Should something show up when DISA is enabled? Also - when I upgraded to the latest packgage, I had 2 DISA entries in the dialplan.
And - when I click on the pfSense logo in the upper right-hand corner to go back to index page, I get a 404 instead. Looks like the freeswitch settings tab is the only page that works right in that respect.
-
On the features tab, where every other feature has the word 'open', the DISA section has nothing. Should something show up when DISA is enabled?
No, There is nothing to configure in the GUI other than setting the admin pin number on the status page as described in the DISA description that are there on the page. Set the admin password and then call the DISA extension.
Also - when I upgraded to the latest packgage, I had 2 DISA entries in the dialplan.
This is a benign bug that doesn't cause any harm. Simply remove the duplicate. I will put that on my to do list to get it fixed.
And - when I click on the pfSense logo in the upper right-hand corner to go back to index page, I get a 404 instead. Looks like the freeswitch settings tab is the only page that works right in that respect.
This is a pfSense issue caused by wrong method of handling path links. To fix this will likely require fixing the link path in the pfsense themes.
-
New version FreeSWITCH 0.9.2.4 uses a new FreeSWITCH revision 13784.
1. Testing up to this time seems to indicate that latency problem may be resolved will be doing more testing tomorrow to confirm.
2. Repaired mod_fax that was broken in 0.9.2.3
3. Added a caller id name prefix to IVR (auto attendant) and the Hunt Groups. This make is possible to indicate where the call came from. -
Back in 0.9.1 land, <action application="set" data="rtp_autoflush=true">seems to have reduced latency on long calls, but I think it's still there to a lesser degree. Hopefully 0.9.2.4 makes this a moot point, looking forward to trying it out.
db</action>
-
Upgraded to 9.2.4 and it looks like the SIP profiles can't start.
This is what I'm getting under the status page:
Warning: opendir(/usr/local/freeswitch/conf/sip_profiles): failed to open dir: No such file or directory in /usr/local/pkg/freeswitch.inc on line 301 Warning: Invalid argument supplied for foreach() in /usr/local/www/packages/freeswitch/freeswitch_status.php on line 184 status
I've only had time to try restarting freeswitch and restore my backup. - not very in-depth. sorry.
-
Back in 0.9.1 land, <action application="set" data="rtp_autoflush=true">seems to have reduced latency on long calls, but I think it's still there to a lesser degree. Hopefully 0.9.2.4 makes this a moot point, looking forward to trying it out.</action>
Agreed rtp_autoflush=true helped to some degree on 0.9.1. However 0.9.2.4 so far is working good and looks like it has resolved the latency issue.
Upgraded to 9.2.4 and it looks like the SIP profiles can't start.
I worked with mrguitar on IRC and found there was something wrong with his backup file. SIP profiles are backed up in the backup normally. This backup wasn't large enough to be the complete backup and did not include the sip profile.