Fon-O for CE

cosmicwombat
Posts: 1173
Member Since:
2006-05-31

Ok. Lets keep going.

Note, this is from:
http://www.trixbox.org/forums/trixbox-forums/open-discussion/trix...

Because some of us were interested in using the Fonality Asterisk build in CE.

files: http://yum.trixbox.com/centos/4/fonality/SRPMS/

--

Robert Keller - Chief Technologist at large
The VoIP Experience
Open Telephony Training Seminar



bubbapcguy
Posts: 3774
Member Since:
2006-06-02
The MEAT of it

It does not look like it would be hard to get the "hardened" version working.

Dump Asterisk* , libpri, zaptel*
add the fon repo's
yum down what you need (or from src you must allow for the kernel kernel-devel to be downloaded)
fix the way asterisk is started (fon asterisk is not started by AMPORTAL)

fix the manger (fon uses a different "manager" than freepbx so there is a port in use error.

Oh yes and there will be some error with the caller setup in chan_sip.c ( chan_sip.c: Checking SIP call limits for device 1000)

Other than that it should "just work"

Freepbx will function fine

Connected to PBXtra Core fon_o_1.2.17 currently running on asterisk1 (pid = 6227)
Verbosity was 0 and is now 3

OK I just loaded up a TB 2.2.4 box

What I did so far...
I uninstall asterisk, libpri, zaptel*

I added a fon.repo file
>>>>>>>>>>>>>>>>>>>>>
[fonbox]
name=fon RPM Repository for CentOS and RHEL
baseurl=http://yum.trixbox.com/centos/4/fonality/
gpgcheck=0
enabled=1

Edited the centos repos to allow the kerne downloading (may not need it if you yum)

I yummed down the pbxtra-core.i386 (I did the addons / sounds from source but yum should work)

I edited the rc asterisk file to stop it from loading asterisk (got to find the right way to correctly load this)

/usr/bin/killall safe_asterisk

I ps -A | grep asterisk tofind the wayward process then I killed it. kill {PIDID}

I then started asterisk and this is where I am at now
I found the context was set to some like sip-ext-??? I changed to from-pstn
but I still have the error
chan_sip.c: Checking SIP call limits for device
manager.c: Unable to bind socket: Address already in use
to deal with



cosmicwombat
Posts: 1173
Member Since:
2006-05-31
On 2.3.0.1 ISO

from another topic...About compiling...
I used google to translate a Russian forum about Virtuozzo Integration that had a tip about commenting out a line:

xpp / Makefile : 11 : EXTRA_CFLAGS + = -DXPP_DEBUGFS

Now I am having an ncurses dependency issue... Yumming....

EDIT: a yum of ncurses allowed me to compile everything and asterisk appeared to start, but it isn't really running....

btw, this is VM of a fresh 2.3.0.1 ISO which is probably not the best starting point.

--

Robert Keller - Chief Technologist at large
The VoIP Experience
Open Telephony Training Seminar



bubbapcguy
Posts: 3774
Member Since:
2006-06-02
2.2.4 plus Fonality's Asterisk

OK I di not do anything else with the box.

Asterisk is running
I did setup one exten and inbound / outbound trunks with vitelity.net

The trunks are up I just have that context issue where it gives the error's

chan_sip.c: Checking SIP call limits for device when I try to place a call
and
Checking SIP call limits for device when a call comes in.

There is also the way in which asterisk is started which needs to be addressed.

FOP does "appear" to be working it is showing my exten I created, I can not login (could be I able not typing the passw0rd fast enought to get it entered..

Freepbx has shown no sign of a problem but I had only created exten conf and que but as I could not make a call...I could not test.

And yes I know Pbx4pros is down, and no I do not need hosting for it, Thanks but no..
;~)



kerryg
Posts: 6793
Member Since:
2006-05-31
Bubba, Anything anyone

Bubba,
Anything anyone else can do to help you out or are you going to keep hacking at it and let everyone know your findings?

--

Kerry Garrison
http://www.VoipStore.com - http://3cxbook.com
(888) VOIPSTORE - (888) 864-7786



bubbapcguy
Posts: 3774
Member Since:
2006-06-02
I will look at it later

I will look at it later but anything anyone wants to do Please By all means have at it.

I had to shut down the box (rackmount 7 fans in it) it is just to much noise in my small home office (I was told it sounds like a JET engine)

I will find some a little quieter to work on, I know I got an ole JUNKER laying around here.
And I am not talking about my Ole Lady.



bubbapcguy
Posts: 3774
Member Since:
2006-06-02
I was just old this is PORNO

I just old that is just like porno, I am like some guy in his basment downloading movies, I can not wait for the next one to come out..
I have to leave the keyboard for a few min's....Uh...a few hours now..

She just "knows" this is some kind of CODE we speak here...



cosmicwombat
Posts: 1173
Member Since:
2006-05-31
I am going to try an release ISO instead

What I found was it seems set to compile for 2.6.X kernel. So, I may have better luck with 2.2.4 ISO than the 2.3.0.1 ISO for now.

I thought I saw some chan_sip.c: discussion on the FreePBX forums. Have to take a peek.

Bubba, I feel ya. I had to take a hiatus to the NW Washington Fair.

--

Robert Keller - Chief Technologist at large
The VoIP Experience
Open Telephony Training Seminar



cosmicwombat
Posts: 1173
Member Since:
2006-05-31
As a guide for removing Asterisk

mustardman
Posts: 1289
Member Since:
2006-06-18
If anyone get's this working

If anyone get's this working reasonably well an install document would be much appreciated.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.