jamoke wrote:rusabus,
Do you know if mono will run under CentOS?
I'm running CentOS, but I installed mono from sources, not from an RPM. The mono webpage has an easy-to-use installer.
Code: Select all
[cmpc.lan ~]# /opt/mono/bin/mono -V
Mono JIT compiler version 1.9.1 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: normal
Notifications: epoll
Architecture: x86
Disabled: none
I installed in /opt/mono (not that it matters) and copied the .net proxy tool to /etc/asterisk (again, not that it matters).
Then, in /etc/rc.local, I added the following line:
Code: Select all
/opt/mono/bin/mono /etc/asterisk/MJMD5CL.exe proxy01.saltlakecity.talk4free.com 5070 5070 <my password> &
Finally, in trixbox, I used the following configuration:
under Outgoing Peer details:
Code: Select all
context=from-trunk
username=E<my phone number>01
type=peer
secret=<my password>
host=127.0.0.1
port=5070
nat=yes
insecure=very
fromuser=E<my phone number>01
dtmfmode=inband
qualify=2000
Here is my registration string:
Code: Select all
E<my phone number>01:<my password>@127.0.0.1:5070
I was amazed when it worked on the first try! It took about 1 full minute before it was able to receive incoming calls, but outgoing worked immediately.
FWIW: the only reason that I used the installer is that I have a .net application that is very particular with mono versions. It seems like every time I upgrade mono, my other application breaks. Using an RPM presents the risk that mono could be upgraded at any time, and I didn't want that. The most current mono installer is found here
http://ftp.novell.com/pub/mono/archive/ ... taller.bin.
For this application, you could probably just do a yum install mono-core and it would work, but I haven't tested that.