werner
Posts: 14
Joined: Sat Mar 03, 2012 6:40 pm

Re: Asterisk

Tue Apr 17, 2012 7:52 pm

I'm loving my pi! thank you team:-)

[email protected]:/home/pi# asterisk -r
Asterisk 1.6.2.9-2+squeeze4, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze4 currently running on raspberrypi (pid = 3156)
Verbosity is at least 3
raspberrypi*CLI> 

User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5201
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: Asterisk

Tue Apr 17, 2012 8:55 pm

Cool! Keep letting us know how you get on with it. Have to say, this all feels a bit like I imagine letting my child leave home and get married (to thousands of different people) might feel!
Director of Communications, Raspberry Pi

linker3000
Posts: 62
Joined: Thu Mar 08, 2012 1:41 pm

Re: Asterisk

Sat Apr 21, 2012 7:19 pm

Looking good here too – compiled from source on Debian:

Asterisk 1.8.11.0, Copyright (C) 1999 – 2012 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type "core show warranty" for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type "core show license" for details.
=========================================================================
== Parsing "/etc/asterisk/asterisk.conf":   == Found
== Parsing "/etc/asterisk/extconfig.conf":   == Found
Connected to Asterisk 1.8.11.0 currently running on raspberrypi (pid = 7083)

I"m using my Android phone as a SIP phone and it"s working fine.

I'll have to hook up a couple more SIP devices and see how well it copes with a conference call.

markshep
Posts: 1
Joined: Tue Apr 24, 2012 3:55 pm
Contact: Website

Re: Asterisk

Tue Apr 24, 2012 5:03 pm

Cool!  I'm thinking of setting up a Raspberry Pi with Asterisk too.  What hardware are you using to connect it to the phone line?  I was thinking of maybe using a Sangoma U100 FXO USB.

linker3000
Posts: 62
Joined: Thu Mar 08, 2012 1:41 pm

Re: Asterisk

Sat May 05, 2012 11:06 am

markshep said:


Cool!  I'm thinking of setting up a Raspberry Pi with Asterisk too.  What hardware are you using to connect it to the phone line?  I was thinking of maybe using a Sangoma U100 FXO USB.



I'm initially going to be purely digital with a SIP VoIP account but I already have a FritzBox fon ATA (a network device) for an analogue interface.

At the mo I have an issue with the DAHDI package and don't have it working properly yet so voicemail and conference rooms don't work. When I revisit my Pi this week (I'm off doing other things) I'll deal with this.

TRS
Posts: 5
Joined: Thu May 10, 2012 9:57 am
Location: Singapore

Re: Asterisk

Mon May 14, 2012 11:27 am

linker3000 wrote:Looking good here too – compiled from source on Debian:

Asterisk 1.8.11.0, Copyright (C) 1999 – 2012 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type "core show warranty" for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type "core show license" for details.
=========================================================================
== Parsing "/etc/asterisk/asterisk.conf":   == Found
== Parsing "/etc/asterisk/extconfig.conf":   == Found
Connected to Asterisk 1.8.11.0 currently running on raspberrypi (pid = 7083)
Any tips on how you got Asterisk 1.8 to compile on your Pi? I have some vague knowledge in terms of compiling, but am not particularly skilled at it. When I've tried to compile Asterisk 1.8 on my Pi, the make fails with

Code: Select all

   
[CC] src/add.c -> src/add.o
Assembler messages:
Error: unknown architecture `armv6l'

Error: unrecognized option -march=armv6l
src/add.c:1: error: bad value (armv6l) for -march= switch
make[2]: *** [src/add.o] Error 1
make[1]: *** [gsm/lib/libgsm.a] Error 2
make: *** [codecs] Error 2
[email protected]:/usr/src/asterisk-1.8.12.0#
What tricks do I need to know to get it to compile for ARM? :) (Sadly the Asterisk packages in the apt-get repositories are only 1.6, so the "easy way" doesn't exist in this case :()

linker3000 wrote: I'm initially going to be purely digital with a SIP VoIP account but I already have a FritzBox fon ATA (a network device) for an analogue interface.

At the mo I have an issue with the DAHDI package and don't have it working properly yet so voicemail and conference rooms don't work. When I revisit my Pi this week (I'm off doing other things) I'll deal with this.
I have a Linksys SPA3102 I plan to use for this purpose. My current FreePBX box has one of these which works a treat, but obviously isn't an option with the Pi!

mercator
Posts: 2
Joined: Fri May 18, 2012 11:45 am

Re: Asterisk

Fri May 18, 2012 11:48 am

@RTS: Did you manage to compile? And if so, does it work properly?

TRS
Posts: 5
Joined: Thu May 10, 2012 9:57 am
Location: Singapore

Re: Asterisk

Sun May 20, 2012 1:50 pm

mercator wrote:@RTS: Did you manage to compile? And if so, does it work properly?
actually, yes I did! :)

After downloading and extracting the source, the first thing to do is to set the proper compilation option for the ARM platform.

So edit makeopts.in and change the PROC variable to arm

Code: Select all

PROC=arm
then continue on with
./configure
make menuconfig
contrib/scripts/get_mp3_source.sh
make
make install
make samples

BTW, for asterisk 1.8.10 the make commands take almost 90 minutes to complete :)

getting Freepbx to work is a whole other nightmare I'm still trying to figure out. It's fun though.

kschmutz
Posts: 3
Joined: Tue May 15, 2012 3:46 pm

Re: Asterisk

Thu May 24, 2012 3:37 am

linker3000 wrote:markshep said:


Cool!  I'm thinking of setting up a Raspberry Pi with Asterisk too.  What hardware are you using to connect it to the phone line?  I was thinking of maybe using a Sangoma U100 FXO USB.



I'm initially going to be purely digital with a SIP VoIP account but I already have a FritzBox fon ATA (a network device) for an analogue interface.

At the mo I have an issue with the DAHDI package and don't have it working properly yet so voicemail and conference rooms don't work. When I revisit my Pi this week (I'm off doing other things) I'll deal with this.
FYI,

Starting with Asterisk 1.6 and maturing in 1.10, DAHDI is no longer required for conference bridging. The older app app_meetme has been deprecated in favor of the new app_confbridge.

see here: https://wiki.asterisk.org/wiki/display/ ... fBridge+10

In short, there is little reason these days to even compile DAHDI anymore..

User avatar
ReadiesCards
Posts: 40
Joined: Sun May 13, 2012 5:22 am

Re: Asterisk

Wed Jun 06, 2012 6:56 am

Great news that you have Asterisk running, will have to give it a go my self!

edonabz
Posts: 2
Joined: Fri Aug 31, 2012 1:02 pm

Re: Asterisk

Fri Aug 31, 2012 1:07 pm

Hello.
I succesfully installed Asterisk 1.4.17 (old versione, but the only capable with http://code.google.com/p/pivelli/) from sources using this tips. The first time it started succesfully, but after a reboot it won't start. :?

Code: Select all

# asterisk -vvvvgc
bash: asterisk: command not found
I did for the second time "make install", and it returns ok, but asterisk doesn't start. :cry:
Can someone help me?

edonabz
Posts: 2
Joined: Fri Aug 31, 2012 1:02 pm

Re: Asterisk

Fri Aug 31, 2012 8:45 pm

edonabz wrote:Hello.
I succesfully installed Asterisk 1.4.17 (old versione, but the only capable with http://code.google.com/p/pivelli/) from sources using this tips. The first time it started succesfully, but after a reboot it won't start. :?

Code: Select all

# asterisk -vvvvgc
bash: asterisk: command not found
I did for the second time "make install", and it returns ok, but asterisk doesn't start. :cry:
Can someone help me?
EDIT: solved! Just tried the same command in a root bash and it works. : :D

ouss
Posts: 4
Joined: Wed Mar 04, 2015 10:33 pm

Re: Asterisk

Wed Mar 04, 2015 10:59 pm

TRS wrote:
mercator wrote:@RTS: Did you manage to compile? And if so, does it work properly?
actually, yes I did! :)

After downloading and extracting the source, the first thing to do is to set the proper compilation option for the ARM platform.

So edit makeopts.in and change the PROC variable to arm

Code: Select all

PROC=arm
then continue on with
./configure
make menuconfig
contrib/scripts/get_mp3_source.sh
make
make install
make samples

BTW, for asterisk 1.8.10 the make commands take almost 90 minutes to complete :)

getting Freepbx to work is a whole other nightmare I'm still trying to figure out. It's fun though.



hi TRS,
i have a problem with dahdi make command it says:
You do not appear to have the sources for the 3.18.6+ kernel installed
i find some solution in the net but my pi dont accept the commands like install kernel-headers
i'm really pushed in the corner
i would appreciate your help
thks in advance

Return to “Other”