Author Topic: Astmedia: Asterisk live media for AskoziaPBX  (Read 22946 times)

giovanni.v

  • Hero Member
  • *****
  • Posts: 694
  • Karma: 53
    • View Profile
    • BoneOS SDK &  TeeBX VoIP communication platform
Astmedia: Asterisk live media for AskoziaPBX
« on: February 07, 2009, 07:24:26 PM »
Important Notice: (2010 november 4) this package was developed for 1.x releases, Askozia 2+ not supported and never will be.

Hi all,
hope this package may help people looking for a little more freedom to configure the AskoziaPBX.
However this pakage target to advanced users, good Asterisk knowledge is required to use it.

The package move some of the Asterisk system files from the memory file system, or read only mount point, to the package tree in the storage partition.
The following options are available at this time:
- Sounds. Allow to add any missing prompt you want and make a custom files directory ready for you. The package came with vm-* prompts (EN) included because they are needed to have a working voicemail main menu.
- Moh...
- The Asterisk database.
- AGI, the agi-bin directory.
- Keys, to store rsa keys needed for some VoIP provider registration.
- Voicemail. Not intended to store incoming messages but to record your own vm prompt.
- Modules. Allow to add missing Asterisk modules... app_record.so is included in the package distibution.

Each of those may be enabled/disabled from the package configuration page. Enabling the additional Modules option is required to record any prompt.
Enabling for the first time the Sounds option may require long time to complete because all existent sound files will be copied in the package tree. A slow cf required 4 minutes...  

I've put my best efforts testing the package but please keep in mind bugs may exists and beacuse of the way the package works may render your system like a brick... so please backup, backup, backup before you install in a production system.

If any error happen using the package please look in the data directory and read the log file for a trace.

Two small application skeletons for record testing.
- record a custom prompt in the custom directory an play it:
1,Wait(1)
2,Record(custom/asterisk-recording_001.alaw)
3,Wait(2)
4,Playback(custom/asterisk-recording_001)
5,wait(1)
6,Hangup()


- access the extension 333 voicemail main menu to record the personal greeting:
1,Answer()
2,VoiceMailMain(333@default)
3,HangUp()


Hint: the vm password is 0000 and cannot be changed.

Preview:


Downloads:
Base package, ver. 0.1 (include only EN vm-* prompts)
Extended package, ver. 0.1 (include EN + Italian vm-* prompts)

There is no gui to manage files in the package, use the inetd package or the basic system gui.

Any comment/suggestion are welcome.

« Last Edit: November 04, 2010, 02:41:32 PM by giovanni.v »

kalagar

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #1 on: February 09, 2009, 03:46:48 PM »
very, very good job exactly what i need

Philip Mullis

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #2 on: February 09, 2009, 07:37:34 PM »
Great work! this and the inetd package should be put in the base image :)

For anyone thats having issues with checking voicemail after, you just need to upload the additional audio files for the voicemail system.


Philip Mullis

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #3 on: February 09, 2009, 07:38:33 PM »
nm see there included, kudos IAX!!!
nice Job


JSX

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #4 on: February 10, 2009, 04:42:23 AM »
Sorry I'm not getting exactly what to do here any chance of some clearer instructions???

Do I need to first record the message in third party software and then upload it ???

and how do I review the message???

Thanks

giovanni.v

  • Hero Member
  • *****
  • Posts: 694
  • Karma: 53
    • View Profile
    • BoneOS SDK &  TeeBX VoIP communication platform
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #5 on: February 10, 2009, 11:00:55 AM »
Do I need to first record the message in third party software and then upload it ???

About what message you are speaking?


Bundy

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #6 on: February 15, 2009, 09:45:28 PM »
Thank you, Thank you, Thank you!

The_King_

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #7 on: April 21, 2009, 11:35:58 AM »
Hi

i have a small problem with the package.
I am using th askozia version 1.0.2.
The installation has been done but if try to configure the package i get the following error message.

Warning: main(/constants.inc): failed to open stream: No such file or directory in /storage/astmedia.pkg/www/index.php on line 35 Fatal error: main(): Failed opening required '/constants.inc' (include_path='.:/etc/inc:/usr/local/www') in /storage/astmedia.pkg/www/index.php on line 35

Any idea whats wrong ?

The_King_



giovanni.v

  • Hero Member
  • *****
  • Posts: 694
  • Karma: 53
    • View Profile
    • BoneOS SDK &  TeeBX VoIP communication platform
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #8 on: April 21, 2009, 05:50:28 PM »
Warning: main(/constants.inc): failed to open stream: No such file or directory in /storage/astmedia.pkg/www/index.php on line 35 Fatal error: main(): Failed opening required '/constants.inc' (include_path='.:/etc/inc:/usr/local/www') in /storage/astmedia.pkg/www/index.php on line 35

Never happened or reported, i'm looking to catch/reproduce the bug but no luck.
Reviewing the very first warning about '/constants.inc' i think the configuration in the askozia xml was lost because your string report only the constant part, the right one has to be '/storage/astmedia.pkg/pkg.libs/constants.inc'.

May be you restored askozia to defaults after installed the pakage? It's the only reason i can imagine to lost the package configuration, i will try.

EDIT:
Confirmed/to be fixed.
Restoring askoziaPBX to defaults -with pakage installed- break the configuration so it appear installed in the gui, may be enabled or disabled but no longer works properly.
Also the package uninstall don't work, claim successfully unistall but really don't anything.

Temporary workaround to recover proper functionality:
1) disable the package.
2) unistall it.
3) manually remove the package directory, backup any custom file before
   rm -rf /storage/astmedia.pkg, be patient this will take some time.
4) reboot the pbx.

Now you can do a clean package install.
« Last Edit: April 21, 2009, 06:25:58 PM by giovanni.v »

The_King_

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #9 on: April 21, 2009, 08:03:23 PM »
Hi giovanni.v

thank you for information, i removed the package based on your instructions and the package works now.

Thank you very much

The_King_

kimran

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #10 on: May 05, 2009, 06:39:43 PM »
hi there ,
sorry I didn't know where else to go ask this question but I really hope one of u brilliant people can help me.I'm looking for and IVR or auto attendant package for askozia.Is there any right now or is there a way that i can configure my own.I'd be really grateful if u guys  out here could help me.

user469

  • Hero Member
  • *****
  • Posts: 201
  • Karma: 5
    • View Profile
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #11 on: November 04, 2010, 12:05:03 PM »
Hello,

i cannot find any info in how to install the astmedia_0.1d_it.pbxpkg on version 2.02 , cannot understand if you can with the gui  or has to be done with the cli .

Thanks.

PS
What kind of archive is the above file ? Winrar report it as gzip .
Can you extract it under cli ?
I've extracted it with winrar or 7zip and i get the astmedia_0.1d.tar , extracted it with tar on /opt but i loose everything after a reboot.

giovanni.v

  • Hero Member
  • *****
  • Posts: 694
  • Karma: 53
    • View Profile
    • BoneOS SDK &  TeeBX VoIP communication platform
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #12 on: November 04, 2010, 02:38:01 PM »
i cannot find any info in how to install the astmedia_0.1d_it.pbxpkg on version 2.02 , cannot understand if you can with the gui  or has to be done with the cli.


This was developed for Askozia 1.x series, Askozia 2+ does not support packages at this time.

However installing that package on the current release makes no sense as most of the package featutures (and more) is available out of the box via additional storage: go to System->Storage then add a disk.

user469

  • Hero Member
  • *****
  • Posts: 201
  • Karma: 5
    • View Profile
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #13 on: November 04, 2010, 04:15:25 PM »
At the moment i'm using a vmware vm for test , tomorrow i will try add additional disk/storage because as of today i get this message even if i created a new /dev/sda4 partition because fdisk and mount give me some errors .

System: Edit Storage Disk
No additional storage devices were detected.


giovanni.v

  • Hero Member
  • *****
  • Posts: 694
  • Karma: 53
    • View Profile
    • BoneOS SDK &  TeeBX VoIP communication platform
Re: Astmedia: Asterisk live media for AskoziaPBX
« Reply #14 on: November 04, 2010, 04:44:49 PM »
created a new /dev/sda4 partition because fdisk and mount give me some errors .

System: Edit Storage Disk
No additional storage devices were detected.

Shoud be a whole unit not a partition like the name suggests.  ;)