Koozali.org: home of the SME Server

AsteriskPBX

Offline chaloner

  • ****
  • 73
  • +0/-0
    • http://www.chaloner.ca
AsteriskPBX
« Reply #135 on: January 03, 2005, 05:48:35 AM »
I have spent some time trying to get this going. Some fresh insight into this dying thread would be appreciated.

I have a couple of soft SIP phones running internally OK, with voicemail, etc.

When I tried to get a soft SIP phone (xten) connecting from the outside, I had to first install a port opening rpm (UDP ports 3478,5060, 8000 and 8001) and open a few ports. I could then connect.

If I called voice mail I could listen to messages. If I called an internal xten SIP phone, I could hear them but they could not hear me.

Any ideas on what I am doing wrong?

Chaloner Hale
email@chaloner.ca

Offline psoren

  • *
  • 371
  • +0/-0
AsteriskPBX
« Reply #136 on: January 03, 2005, 03:39:36 PM »
Quote from: "duncan"
The Asterisk rpm takes care of some SME specific items. It also gets around having to install some dev tools.

For those looking for a 386 rpm - it might be quicker to build from source. I really dont have anything in the way hardware to test the builds at the moment.


Duncan,

I never tried to make RPMs, but i need asterisk for my Mini ITX server. Can i use the source RPM from your build, to make my own RPM?

Per

duncan

AsteriskPBX
« Reply #137 on: January 04, 2005, 01:00:29 AM »
Chaloner

Your problem is a well known SIP thru NAT issue. The easy solution is to either use an IAX client or run some sort of Vpn.

Per

To build an Asterisk rpm - you need the source code and Dev tools (including openssl - bison). So why build the rpm - just compile from source.

You will need to edit the Makefile to build for your processor type. Check the Asterisk forums for more details.

Offline psoren

  • *
  • 371
  • +0/-0
AsteriskPBX
« Reply #138 on: January 04, 2005, 01:23:17 AM »
Quote from: "duncan"

To build an Asterisk rpm - you need the source code and Dev tools (including openssl - bison). So why build the rpm - just compile from source.

You will need to edit the Makefile to build for your processor type. Check the Asterisk forums for more details.


Well, there are some RH 7.3 RPMs out there, but they fail on dependencies:

[root@perserver RH73]# rpm -Uhv asterisk-1.0-0_rh73.i386.rpm
error: failed dependencies:
        libasound.so.2   is needed by asterisk-1.0-0_rh73
        libgdk-1.2.so.0   is needed by asterisk-1.0-0_rh73
        libgtk-1.2.so.0   is needed by asterisk-1.0-0_rh73
        libodbc.so.1   is needed by asterisk-1.0-0_rh73
        libpq.so.3   is needed by asterisk-1.0-0_rh73
        libtonezone.so.1   is needed by asterisk-1.0-0_rh73

To me, it looks like stuff i don't need. I am not gonna use GUI or zaptel, but some voicemail i think...
 Can i ignore these (or some) and install with --nodeps?

Per


Offline psoren

  • *
  • 371
  • +0/-0
AsteriskPBX
« Reply #140 on: January 04, 2005, 07:57:49 AM »
Thanks Chal

Fixed most but not all:

error: failed dependencies:
        libpq.so.3   is needed by asterisk-1.0-0_rh73
        libtonezone.so.1   is needed by asterisk-1.0-0_rh73

libpq.so.3: If i get a never version, then there is more dependencies.

libtonezone.so.1: For this i can only find som Mandrake stuff which i'm not allowed to download.

I don't think i need them, so i will try without.

Per

duncan

AsteriskPBX
« Reply #141 on: January 04, 2005, 08:10:16 AM »
Per

I really think you are setting yourself up for some heartache. Trust me - compiling from source is not that hard. There is no guarentee that a .386 rpm will work for you.

Duncan

Offline psoren

  • *
  • 371
  • +0/-0
AsteriskPBX
« Reply #142 on: January 04, 2005, 08:25:56 AM »
Quote from: "duncan"
Per

I really think you are setting yourself up for some heartache. Trust me - compiling from source is not that hard. There is no guarentee that a .386 rpm will work for you.

Duncan


You're probably right Duncan :-D
But if one doesn't work then i try the other.
I always thought a .386 rpm was able to run on anything...
I think i will try to compile on a spare machine first, then i don't break too much  :hammer:

I just don't understand, all the failed dependencies, won't it need them if i compile myself?

Per

duncan

AsteriskPBX
« Reply #143 on: January 04, 2005, 08:45:03 AM »
Quote from: "psoren"

I just don't understand, all the failed dependencies, won't it need them if i compile myself?
Per


No, The dependencies are based on that particular build of the rpm - something additional that the author included. Building from source - and adjusting the dev tools to suit your version of SME will work as per the howto. However - you need to adjust the Makefile to suit your processor.

Regards Duncan

Offline psoren

  • *
  • 371
  • +0/-0
AsteriskPBX
« Reply #144 on: January 04, 2005, 09:54:49 AM »
Quote from: "duncan"
Quote from: "psoren"

I just don't understand, all the failed dependencies, won't it need them if i compile myself?
Per


No, The dependencies are based on that particular build of the rpm - something additional that the author included. Building from source - and adjusting the dev tools to suit your version of SME will work as per the howto. However - you need to adjust the Makefile to suit your processor.

Regards Duncan


Thanks a lot!

I will try that as soon as i get time. (Have to work too....;-) )

Per

Offline psoren

  • *
  • 371
  • +0/-0
AsteriskPBX
« Reply #145 on: January 04, 2005, 11:18:32 PM »
Quote from: "duncan"
Per

I really think you are setting yourself up for some heartache. Trust me - compiling from source is not that hard. There is no guarentee that a .386 rpm will work for you.

Duncan


OK, i got it up running now!!

You were right Duncan, it wasn't hard to compile. I just forgot to uninstall all the crap RPMs, that i installed when i tried that RedHat RPM, so i had to do it twice. But who cares now....... :hammer:

Per

Offline fpausp

  • *
  • 728
  • +0/-0
sme 6.0.1-01+updatescript+asterisk+avm isdn card
« Reply #146 on: January 05, 2005, 10:56:26 AM »
Hi all,

After i read the post, i like to use asterisk on my server. I am new with linux so i only use rpm´s. I had install the rpm´s and they work well, now i like to use a cheap isdn card. What card should i use, i have a avm 2.0 pci card (germany), how can i install that card ? I have also a AVM PBX with S0-Bus.

Sorry for my bad english !

regards
fpausp
austria

sme 6.0.1-01 + updatescript + asterisk + avm isdn card
Viribus unitis

cydonia

Re: sme 6.0.1-01+updatescript+asterisk+avm isdn card
« Reply #147 on: January 05, 2005, 02:35:30 PM »
fpausp, check out these forums for Asterisk help:

http://asterisk.xvoip.com


They are asterisk specific so you will get more help there.


Tristan

Skydiver

Update On Asterisk Solution
« Reply #148 on: January 06, 2005, 08:36:45 AM »
Hi

just poped back to thank everyone for the help and a great forum thread.

I completed the basic install and configuration of 5 extensions. One as a remote extension for my office PC to PBX at home. The x100p card tests and works fine. I went one step further and added oh323 support and created an endpoint that now connects to a VOIP providers Gatekeeper and i can use there cheap rates to call worldwide and interact with there Voip Clients PC to PC. Asterisk answers the calls from there services and transfers to the correct extension.

Anyway just wanted to update and thank everyone for making it posible. E-smith / Asterisk rocks.

The owners of my office have played with the solution and are now interested in having it as there new office solution. Bonus For Linux - E-smith and Asterisk.

Cheers
Skydiver

bovnet

AsteriskPBX
« Reply #149 on: January 08, 2005, 05:56:12 PM »
I gave this a whirl http://sourceforge.net/projects/asteriskathome/

installs centos3 taking over the whole hd much as a sme install and then installs and compiles asterisk

I then did yum update and updated the os.

I havent hammered it or added any hardware just played with sip an asterisk demo config but it seems very stable.