OpenWrt Forum Archive

Topic: Asterisk 1.6.x

The content of this topic has been archived between 13 Apr 2018 and 26 Apr 2018. Unfortunately there are posts – most likely complete pages – missing.

rluble, I had had exactly same problem with 1.4. (It's good to know I am not alone. smile 1.6 gives no trouble of sort.

And thanks Hans, I am going for it right now.

Will post the progress.

Thank a lot.

I have managed to compile from source and install. Everything that worked in 1.6.1 rc1 seems fine. Now I cannot make app_playback to work (sounds are installed but as opposed to 1.4 are in .gsm format, the errors I get are logged as :

[May  3 05:10:03] WARNING[2407] file.c: File demo-echotest does not exist in any format
[May  3 05:10:03] WARNING[2407] file.c: Unable to open demo-echotest (format 0x2 (gsm)): No such file or directory
[May  3 05:10:03] WARNING[2407] app_playback.c: ast_streamfile failed on SIP/1001-005f5e70 for demo-echotest

).

demo-echotest.gsm exists an is located at /usr/lib/asterisk/sounds.

Any help will be appreciated.
-Roberto.

I solved the app_playback issue....

It seems that the current build looks for sound files at /var/lib/asterisk/sounds but sounds get installed at /usr/lib/asterisk/sounds.

I fixed with a hack that creates a symlink at startup... There is probably a better fix.

Best,
Roberto.

I'm still a newbie to this and trying to learn how to checkout and compile my own packages, so appreciate any help from the veterans.  Can someone pls tell me if I may be doing this wrong or may not be checking out the correct codes as I dont get all the modules mentioned by zandbelt on previous post when I installed asterisk16 from svn.

Here is what i did :
- svn co svn://svn.openwrt.org/openwrt/branches/8.09/
- svn co svn://svn.openwrt.org/openwrt/packages/
- make menu config, selected Asterisk16 and all the other packages under it <M>
- make
- installed Asterisk16 using opkg by pointing to my own server

When I looked at /usr/lib/asterisk/modules, I get only about 10-12 modules installed and not all the modules mentioned by zandbelt.  HELP??!  Thx.

the modules I listed are the ones resulting from compilation, residing on your compiler host; lots of those don't get packaged yet because I only packaged what is requested so far...

Hans.

Zandbelt - thanks for the response.  At least now I know I'm doing this correctly!  I'm running Asterisk14 now for quite some time and I need app_zapateller.so.  I saw this on your list of modules and I found this file when I checked out the latest files for Asterisk16 - is it possible to just copy this into my current /usr/lib/asterisk/modules in Asterisk14?

klingon888 wrote:

Zandbelt - thanks for the response.  At least now I know I'm doing this correctly!  I'm running Asterisk14 now for quite some time and I need app_zapateller.so.  I saw this on your list of modules and I found this file when I checked out the latest files for Asterisk16 - is it possible to just copy this into my current /usr/lib/asterisk/modules in Asterisk14?

yes you can

Hans.

concerning the latest 1.6.1.0 svn, my installation works well with one strange exception.
asterisk -r -x "restart gracefully" does not seem work correctly. (I had it in my crontabs)
"restart when convenient" also does produce very strange result.

when I issue the command (either by hand or by crontab)
1. number of asterisk processes is doubled.
2. those newly  created (or maybe old) set of processes are not killable with /etc/init.d/asterisk stop
3. modules does not get reloaded after unload. though sometimes it works just fine.

Generally, asterisk -r -x "restart now" works. But other restart commands usually slow my fonera to the point of non-responsiveness.

Is there anybody who has the same problem?

BTW, some of so's from 14 does not work with 16. I'd tried some back then. smile

(Last edited by test011 on 14 May 2009, 04:01)

zandbelt wrote:

so far I have:

app_adsiprog.so         app_nbscat.so           cdr_custom.so    format_sln16.so           func_strings.so
app_alarmreceiver.so    app_parkandannounce.so  cdr_manager.so   format_sln.so             func_sysinfo.so
app_amd.so              app_playback.so         cdr_pgsql.so     format_vox.so             func_timeout.so
app_authenticate.so     app_privacy.so          cdr_sqlite.so    format_wav_gsm.so         func_uri.so
app_cdr.so              app_queue.so            chan_agent.so    format_wav.so             func_version.so
app_chanisavail.so      app_readexten.so        chan_alsa.so     func_audiohookinherit.so  func_vmcount.so
app_channelredirect.so  app_readfile.so         chan_iax2.so     func_base64.so            func_volume.so
app_chanspy.so          app_read.so             chan_local.so    func_blacklist.so         pbx_ael.so
app_controlplayback.so  app_record.so           chan_mgcp.so     func_callerid.so          pbx_config.so
app_db.so               app_sayunixtime.so      chan_oss.so      func_cdr.so               pbx_dundi.so
app_dial.so             app_senddtmf.so         chan_phone.so    func_channel.so           pbx_loopback.so
app_dictate.so          app_sendtext.so         chan_sip.so      func_config.so            pbx_realtime.so
app_directed_pickup.so  app_setcallerid.so      chan_skinny.so   func_cut.so               pbx_spool.so
app_directory.so        app_sms.so              chan_unistim.so  func_db.so                res_adsi.so
app_disa.so             app_softhangup.so       codec_adpcm.so   func_devstate.so          res_ael_share.so
app_dumpchan.so         app_speech_utils.so     codec_alaw.so    func_dialgroup.so         res_agi.so
app_echo.so             app_stack.so            codec_a_mu.so    func_dialplan.so          res_clioriginate.so
app_exec.so             app_system.so           codec_g722.so    func_enum.so              res_config_pgsql.so
app_externalivr.so      app_talkdetect.so       codec_g726.so    func_env.so               res_config_sqlite.so
app_festival.so         app_test.so             codec_gsm.so     func_extstate.so          res_convert.so
app_followme.so         app_transfer.so         codec_lpc10.so   func_global.so            res_crypto.so
app_forkcdr.so          app_url.so              codec_ulaw.so    func_groupcount.so        res_indications.so
app_getcpeid.so         app_userevent.so        format_g723.so   func_lock.so              res_limit.so
app_ices.so             app_verbose.so          format_g726.so   func_logic.so             res_monitor.so
app_image.so            app_voicemail.so        format_g729.so   func_math.so              res_musiconhold.so
app_macro.so            app_waitforring.so      format_gsm.so    func_md5.so               res_phoneprov.so
app_milliwatt.so        app_waitforsilence.so   format_h263.so   func_module.so            res_realtime.so
app_minivm.so           app_waituntil.so        format_h264.so   func_rand.so              res_smdi.so
app_mixmonitor.so       app_while.so            format_ilbc.so   func_realtime.so          res_speech.so
app_morsecode.so        app_zapateller.so       format_jpeg.so   func_sha1.so              res_timing_pthread.so
app_mp3.so              cdr_csv.so              format_pcm.so    func_shell.so             test_heap.so

I guess format_g729.so could go in a separate package.
Would the *db* and *csv* stuff naturally fit into a single package?

Hans.

Sorry, I can't find 1.6.1.0 package from Hans' site, and where are all these modules? Can someone please help?

Never mind, I didn't read carefully enough, no more precompiled packages, I will get the source from svn. Thank you zandbelt.

(Last edited by Fall on 28 May 2009, 04:27)

As I had reported >asterisk -r -x "restart gracefully" does not seem work correctly< issue,
I am thinking 8.09's "uClibc daemon/pthread issue" may be the culprit.

Thus, I am considering a possibility to upgrade to 8.09.1 (since changelog states a fix affecting asterisk)
Any encouragement? smile

I don't think that the specified issue would address the graceful restart, but upgrading to 8.09.1 does not sound like a bad plan anyway

Hans.

Thanks for the recommendation, Hans.
As you said, It seems a good idea to me. (a lot more, by your comment smile I will give it a shot.

By the way, would you not submit your 1.6.1 release to the official opkg repository? (Though, I am not sure that's what you do to make it appear on opkg-installable-binary-list, well you know what I mean)

Although Digium already has released 1.6.1.1 - gosh, don't they ever stop? - your 1.6.1 svn-release works well and certainly is an improvement over current 1.6.1rc1 up there.

(Last edited by test011 on 13 Jun 2009, 20:46)

Hi all

I am currently running 3 OpenWrt Boxes White Russian (0.9) with Asterisk 1.4.4 for Internet IAX Traffic an local SIP will the Asterisk 1.6 be compatible to this config ?

does it run on White Russian and does this Asterisk Server support IAX and SIP (maybe also with SIP over TCP)

thank's in advance

Oliver

I am not sure this thread is still being read, but there isn't a better place to talk about cutting edge asterisk distribution, like 1.6.1 and 1.6.2

Anyway, I've been using asterisk 1.6 by Hans – god bless him - quite sometime with high satisfaction, until one of my providers got me a headache.
The problem is that asterisk spits out an INVITE message in the middle of a live conversation and my providers sees it as a kill sign and cut the connection. I just found out that I cannot talk more the 27 sec. with inbound call. I did not know that, I mostly used it for my outbound call.

However it’s my family’s inbound call number, I am in trouble. They have not told me so, just blamed the VOIP itself. They don’t really know I installed something called openwrt asterisk box.

Well, what causes the wrong INVITE signal, I don't know. I will just re-compile newer version and try again. Er, kind of naive question but, I am wondering 1.6.2beta2 Makefile Hans submitted in the repository would work with 1.6.2beta4 just released at digium?

(Last edited by test011 on 4 Aug 2009, 16:43)

Newbie question:

How to svn the asterisk 1.6x package in openwrt? I already has a openwrt based VMware to test. Thanks a lot.
NEVER MIND: I read post again and find answer. Thanks a lot.

Lou

(Last edited by madmatrix on 18 Aug 2009, 05:42)

Why the Makefile exclude "MeetMe" application? Is this something related to zaptel?

MeetMe needs the zaptel/dahdi dummy kernel module. It works without problems on ASUS WL-500gP and Alix 2D2 but it was not possible to add these packages to the tree.

Just trying to grab attention
cant get cdr records to write either on 1.4 or 1.6
runninng kamikaze 8.0.1 x86
any help would be great
as am looking to get running on the ubuquiti routerboards atheros based as a replacement to fedora with asterisk

regards Tudor

Ok managed to make the csv now record logs
but am now having a problem loading the codec_g729.so
has any had any success loading the g729 codec on openwrt asterisk

Hi, Tudor:

I doubt very much that the current G.729 module will work unless your platform choice is x86.

Most platforms supporting voice have some sort of DSP on them to handle the codecs and echo cancellation chores.

Stick to another codec like G.711 or GSM for now.

marc.

norbert wrote:

MeetMe needs the zaptel/dahdi dummy kernel module. It works without problems on ASUS WL-500gP and Alix 2D2 but it was not possible to add these packages to the tree.

this is due to a conflict between installed 1.4.x headers in the staging dir vs. 1.6.x headers; at some point we'll have to drop 1.4.x completely from the trunk in favour of 1.6.x: only then building "external" modules with 1.6.x (such as asterisk-addons) will become possible

Hans

Hi all,

Running a WitheRussian 0.9 on a wl500gp for a couple of years now, I would like to install Asterisk to put in place the following architecture:

my_mobile_phone --(declared preferred free number)--> mobile_phone_at_home --(bluetooth connection)--> [usb BT dongle/WRT WR0.9/Asterisk] --(smartvoip provider)--> anywhere_in_the_world

This would be only to call family in a foreign country, no to receive anything.
Thus I suppose I only need sip (and bt management ?)

As it is the first time I will install Asterisk, why not starting with the latest version (enhanced performance...)
=> Will the 1.6.x do the job I described for me?
How to breakdown Asterisk files to just install the needed packages ?

Thanks in advance.

There is rather many of 1.6.x versions. 1.6.0 branches, 1.6.1, 1.6.2. They are all different branches.
Due to so much bugs and issues with my providers and client handsets, I've choosen the lateset one. I am using 1.6.2 which is still in beta stage, surprisingly more stable than 1.6.1.x too.

IMHO, since they release them so often after so called stable release, beta or RC doesn't mean anything. Stable release isn't that bug- free or stable as it sounds.

Where are modules for Asterisk 1.6?
app_meetme is present?
and zaptel - ztdummy?

Regards,
Elia

Hi Hans,

could you be so nice and do a package that includes all the modules? (Or maybe just a .tgz archive?)
Interested plp could install it and remove the ones not needed.

At the moment with every new option I try to test in asterisk, I run into a missing module situation.
(preparing to move from Oleg to OpenWRT)

I would also appreciate if you could include chan_datacard.

rgds,
schufti

Sorry, posts 51 to 50 are missing from our archive.