Re: [Astlinux-users] Quick show of hands... attn: all Via owners

2009-01-14 Thread Stephen Erisman

S. Erisman wrote:

Philip Prindeville wrote:
  
If you have a Via-based SBC (mini-ITX or other), please send me the 
manufacturer, model #, quantity, and the output of:


cat /proc/cpuinfo

Thanks.

  


Philip,

I use several types of Via based Neoware thin clients the most recent of 
which is listed below (I can get you details on the other one tomorrow):


Neoware, CA10 (e100), mb is P640, I currently have 2 of these running 
AstLinux in 2 different locations with plans for more.


Here is the output of cat /proc/cpuinfo:

processor   : 0
vendor_id   : CentaurHauls
cpu family  : 6
model   : 9
model name  : VIA Nehemiah
stepping: 8
cpu MHz : 800.373
cache size  : 64 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr cx8 mtrr pge cmov pat mmx fxsr 
sse rng rng_en ace ace_en

bogomips: 1601.90
clflush size: 32

Thanks,
 Steve
  
The following is for another type of via machine that I have been 
using.  It is a Neoware CA2:


processor   : 0
vendor_id   : CentaurHauls
cpu family  : 6
model   : 9
model name  : VIA Nehemiah
stepping: 8
cpu MHz : 797.979
cache size  : 64 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr cx8 sep mtrr pge cmov pat mmx 
fxsr sse rng rng_en ace ace_en

bogomips: 1596.95
clflush size: 32

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Re: [Astlinux-users] Chan UNISTIM for Astlinux (WORKS)

2008-10-30 Thread Stephen Erisman
Great!  I'm glad it worked for you.

-Steve

Michael Keuter wrote:
> Hi Stephen,
>
> thanks for compiling "chan_unistim" for me. It works great here with 
> an older (violet) Nortel i2004 IP-phone on Astlinux 0.6.1 on a 
> Soekris 4801.
> Everything worked "out of the box": Voicemail MWI, forward, transfer, 
> caller log on the phone. You can label the keys. Great.
>
> Here is some CLI-output:
> --
> pbx*CLI> help unistim
>  unistim debug  Enable UNISTIM debugging
>   unistim info  Show UNISTIM info
>   unistim no debug  Disable UNISTIM debugging
> unistim reload  Reload UNISTIM configuration
> unistim sp  Send packet (for reverse engineering)
>
> pbx*CLI> unistim info
> Dumping internal structures :
> device
> ->line
> -->sub
>
> name=i2004 id=0060 line=0x81fdb40 ha=(nil) sess=0x821f448 
> device=0x816b7c0
> ->name=28 fullname=USTM/[EMAIL PROTECTED] exten= callid="i2004" <28> cap=8 
> device=0x816b7c0 line=0x81fdb40
> -->subtype=0 chan=(nil) rtp=(nil) bridge=0xffd6 line=0x81fdb40 
> alreadygone=0
>
> Sessions:
> sin=192.168.2.41 timeout=1306685034 state=2 macaddr=0060 
> device=0x816b7c0 session=0x821f448
> --
>
> Michael
>
> --
> Email: mailto:[EMAIL PROTECTED]
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
> PROTECTED]
>   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]


Re: [Astlinux-users] Chan UNISTIM for Astlinux

2008-10-29 Thread Stephen Erisman
Opps... apparently the changes were for tone_zone (whatever that is) not 
time-zone.  ;)

Stephen Erisman wrote:
> Kristian,
>
> Ok... you got me curious, so I did a diff between the 2 versions.
> It looks like most (or all) the differences are due to a change that was 
> committed to a file in Asterisk (indications.c - revision 122314 on Jun 12).
> Apparently some time-zone structures and method signatures changed.
> It looks like minor stuff, but probably was needed to compile.
>
> So I have an idea on how to handle this...
> Why couldn't we make the .mk file for this package aware of which 
> version of Asterisk you were compiling against?
> That way, it could automatically change it's downloaded/built version 
> based on which version of Asterisk was being used.
> Doing this it should be transparent and no one would have to remember to 
> upgrade this package when Asterisk was upgraded.
> Or, is this still too fragile?
>
> -Steve
>   
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
> PROTECTED]
>   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]


Re: [Astlinux-users] Chan UNISTIM for Astlinux

2008-10-29 Thread Stephen Erisman
Darrick,

I agree that the kernel bump is probably much more important.  I imagine 
there would probably be a bigger set of tweaks needed when upgrading to 
Asterisk 1.6 anyway (didn't they deprecate some things like macros, and 
you can't use '|' anymore?)

By the way, I would love to help out...
I am a developer/architect by profession (mostly web-based 
applications), and can figure out how to write a for loop in any 
language. ;)

I have recently ventured into the Linux VOIP world, and have been 
learning a lot (and loving *almost* every minute of it).  Of all the 
Asterisk distros, I definitely like the direction of AstLinux the most. 
(Askozia is nice too, but too restrictive).  I really did't like the 
'heavy' distros like TrixBox or even PBX in a Flash as they all seem to 
be too bloated.  I have a vested interest in AstLinux at this point, as 
I have recommended and started setting it up at my place of employment.  
We are currently running a proof-of-concept server for MeetMe 
conferencing needs (used daily for communication with remote team 
members) as well as some really long IVR applications (30-40 minute 
calls) that will need to stay in constant communication with our 
application/database servers to track and record responses.  So far 
(with a few minor additions) AstLinux seems to be working very nicely.

So... where do you need help?

-Steve

Darrick Hartman wrote:
> Steve,
>
> I would prefer to upgrade to Asterisk 1.6 after the kernel bump is 
> complete.  That's going to be invasive enough as it is.  Alternatively, 
> we could do Asterisk 1.6 in the asterisk-beta branch instead.  We really 
> could use a few more developers...
>
> Darrick
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
> PROTECTED]
>   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]


Re: [Astlinux-users] Chan UNISTIM for Astlinux

2008-10-29 Thread Stephen Erisman
Kristian,

Ok... you got me curious, so I did a diff between the 2 versions.
It looks like most (or all) the differences are due to a change that was 
committed to a file in Asterisk (indications.c - revision 122314 on Jun 12).
Apparently some time-zone structures and method signatures changed.
It looks like minor stuff, but probably was needed to compile.

So I have an idea on how to handle this...
Why couldn't we make the .mk file for this package aware of which 
version of Asterisk you were compiling against?
That way, it could automatically change it's downloaded/built version 
based on which version of Asterisk was being used.
Doing this it should be transparent and no one would have to remember to 
upgrade this package when Asterisk was upgraded.
Or, is this still too fragile?

-Steve

Stephen Erisman wrote:
> Kristian,
>
> More info here: http://www.voip-info.org/wiki-Asterisk+UNISTIM+channels
>
> The version that I compiled is 1.0.0.5d which is good for Asterisk 1.4.4 
> through 1.4.21.
> I am unsure whether upgrading Asterisk to 1.4.22 requires the next 
> version of this module (1.0.0.5e), or the other way around (i.e. if you 
> wanted 1.0.0.5e you need at least Asterisk 1.4.22).
> I personally don't have any need for this module (at this time), so I 
> didn't bother to check the differences between the 2 versions.
> I can totally understand the nightmare of all the inter-dependencies.
> Is there a place to document these dependencies to make it easier when 
> something needs to be upgraded?
>
> Apparently support for this is already built into Asterisk 1.6 though, 
> so maybe this is a non-issue.
> Any idea if/when Asterisk 1.6 is on the radar for AstLinux?
>
> Thanks,
> -Steve
>
>
> Kristian Kielhofner wrote:
>   
>> On 10/29/08, Stephen Erisman <[EMAIL PROTECTED]> wrote:
>>   
>> 
>>> Michael,
>>>
>>>  Please try the attached chan_unistim.so module and let me know if it works
>>> for you.
>>>  It looks like you will also need to add a unistim.conf file to the
>>> /etc/asterisk directory as well.
>>>
>>>  If everything works, I will package this up and send it to the devs for
>>> possible inclusion in future releases.
>>>
>>>  Thanks,
>>>  Steve
>>>
>>> 
>>>   
>> Steve/Michael,
>>
>>   Thanks for helping us with this.
>>
>>   Keep one thing in mind, though...  We are reluctant to include
>> packages that depend on a specific version of another package.  You
>> can imagine how difficult upgrades could be with a tangled web of
>> dependencies.
>>
>>   With that being said - do the various chan_unistim versions *really*
>> depend on specific versions of Asterisk?  I don't know how that could
>> be possible...
>>
>>   
>> 
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
> PROTECTED]
>   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]


Re: [Astlinux-users] Chan UNISTIM for Astlinux

2008-10-29 Thread Stephen Erisman
Kristian,

More info here: http://www.voip-info.org/wiki-Asterisk+UNISTIM+channels

The version that I compiled is 1.0.0.5d which is good for Asterisk 1.4.4 
through 1.4.21.
I am unsure whether upgrading Asterisk to 1.4.22 requires the next 
version of this module (1.0.0.5e), or the other way around (i.e. if you 
wanted 1.0.0.5e you need at least Asterisk 1.4.22).
I personally don't have any need for this module (at this time), so I 
didn't bother to check the differences between the 2 versions.
I can totally understand the nightmare of all the inter-dependencies.
Is there a place to document these dependencies to make it easier when 
something needs to be upgraded?

Apparently support for this is already built into Asterisk 1.6 though, 
so maybe this is a non-issue.
Any idea if/when Asterisk 1.6 is on the radar for AstLinux?

Thanks,
-Steve


Kristian Kielhofner wrote:
> On 10/29/08, Stephen Erisman <[EMAIL PROTECTED]> wrote:
>   
>> Michael,
>>
>>  Please try the attached chan_unistim.so module and let me know if it works
>> for you.
>>  It looks like you will also need to add a unistim.conf file to the
>> /etc/asterisk directory as well.
>>
>>  If everything works, I will package this up and send it to the devs for
>> possible inclusion in future releases.
>>
>>  Thanks,
>>  Steve
>>
>> 
>
> Steve/Michael,
>
>   Thanks for helping us with this.
>
>   Keep one thing in mind, though...  We are reluctant to include
> packages that depend on a specific version of another package.  You
> can imagine how difficult upgrades could be with a tangled web of
> dependencies.
>
>   With that being said - do the various chan_unistim versions *really*
> depend on specific versions of Asterisk?  I don't know how that could
> be possible...
>
>   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]


Re: [Astlinux-users] Opinions for Growl implementation on Astlinux

2008-10-29 Thread Stephen Erisman
Michael,

I can attempt to compile this for you when I get home tonight.
I looked at both the source code and Makefile, and they look pretty 
similar to the app_notify package.

I don't have a Nortel IP phone, however, so I won't be able to actually 
test that it works.

-Steve

Michael Keuter wrote:
>> I have been able to successfully create a new package for, compile, 
>> and install the app_notify module.
>> I have also successfully tested the new Notify command using a custom 
>> dialplan.
>> To get this work on my Windows client machine, I also installed the 
>> Snarl client along with the NotifyServer client.
>>
>> I am working on submitting the new package to the developers for 
>> inclusion in upcoming releases.
>> Until then, hopefully the attached the app_notify.so module will also 
>> work for you.
>>
>> Assuming you have a unionfs system, all you have to do to get this 
>> module installed is:
>> 1. Transfer the file to your AstLinux box (i.e. ftp or wget).
>> 2. Copy the file to the /usr/lib/asterisk/modules directory. (It 
>> should also get copied to your 
>> /oldroot/mnt/asturw/usr/lib/asterisk/modules directory)
>> 3. chmod +x /usr/lib/asterisk/modules/app_notify.so
>> 4. Reboot
>>
>> Now you can run the 'show application Notify' asterisk command to 
>> verify it has installed correctly.
>> If so, you can then add a Notify command to your dialplan.  i.e.: 
>> exten => 1234,1,Notify(num|name|exten/server:port)
>>
>> Let me know how it works out.
>>
>> Thanks,
>> Steve
>
> Hi Steve,
>
> thanks a lot for compiling app_notify for Astlinux. It works great now 
> on my Mac together with Growl.
>
> Would it possible for you to also compile "chan_unistim" (to connect 
> Nortel IP-phones to Asterisk) for Astlinux 0.6.1?
>
> http://www.voip-info.org/wiki-Asterisk+UNISTIM+channels
>
> It should be v.1.0.0.5d for Asterisk 1.4.21.2.
>
> Thanks in advance.
>
> Michael
>
> -- 
> Email: mailto:[EMAIL PROTECTED]
>


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]


Re: [Astlinux-users] Opinions for Growl implementation on Astlinux

2008-10-29 Thread Stephen Erisman

Brian,

I have been able to successfully create a new package for, compile, and 
install the app_notify module.
I have also successfully tested the new Notify command using a custom 
dialplan.
To get this work on my Windows client machine, I also installed the 
Snarl client along with the NotifyServer client.


I am working on submitting the new package to the developers for 
inclusion in upcoming releases.
Until then, hopefully the attached the app_notify.so module will also 
work for you.


Assuming you have a unionfs system, all you have to do to get this 
module installed is:

1. Transfer the file to your AstLinux box (i.e. ftp or wget).
2. Copy the file to the /usr/lib/asterisk/modules directory. (It should 
also get copied to your /oldroot/mnt/asturw/usr/lib/asterisk/modules 
directory)

3. chmod +x /usr/lib/asterisk/modules/app_notify.so
4. Reboot

Now you can run the 'show application Notify' asterisk command to verify 
it has installed correctly.
If so, you can then add a Notify command to your dialplan.  i.e.: exten 
=> 1234,1,Notify(num|name|exten/server:port)


Let me know how it works out.

Thanks,
Steve

Stephen Erisman wrote:

Brian,

This should be pretty easy to implement using PHP AGI.
I have been wanting something similar and (based on your email) have 
tested the following so far:


1. downloaded the php-growl class and saved it as growl.inc
http://code.google.com/p/php-growl/
2. created a test.php file with the following lines:
setAddress("127.0.0.1","password");
$client->addNotification("Incoming Call");
$client->register();
$client->notify("Incoming Call", "Incoming Call", "me <8005551234>");
?>
3. running the test.php file pops up a notification on my computer

FYI... I successfully ran this on a Windows box using the 
'growl-for-windows' client:

http://code.google.com/p/growl-for-windows/

My next step will be to create an AGI PHP script and upload the files to 
AstLinux.
As long as PHP on AstLinux was compiled with support for either 
socket_create or fsockopen it should work fine.


Let me know if you find a better way of doing this.

FYI... it looks like there is also an Asterisk Module that directly 
supports this, but it has to be added as a package and compiled into the 
image before it can be used:

http://www.mezzo.net/asterisk/app_notify.html
Maybe we can get one of the developers to add a package for this? ;)  If 
it helps, I can create the package files and build a test image on one 
of my dev machines.  I would just need someone to verify and check it in 
for me.


Thanks,
-Steve

brianbarr wrote:
  
Greetings -- I am attempting to implement Growl on Astlinux  for call  
notifications to local systems on the lan.


For a description see

http://en.wikipedia.org/wiki/Growl_(software)

or

http://growl.info/


There is a native Linux module app_notify:
http://www.mezzo.net/asterisk/app_notify.html

A perl implementation:
http://growl.info/documentation/developer/mac-growl.php

A PHP implementation:
http://code.google.com/p/php-growl/

A Python implementation:
http://growl.info/documentation/developer/growlnotifier.php

There is also a Ruby version and others.


I'm trying to figure out what is the best and easiest path to take  
here...


AGI scripting would require no changes to Astlinux so maybe that road.

Astlinux has micro-perl, but I don' t think it has the needed modules  
present for mac-growl.


No python or ruby so those are out. PHP then..?

Anyone willing to chime in on this?

Thanks,

Brian Barr



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]
  




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]
  




app_notify.so
Description: Binary data
---

Re: [Astlinux-users] Opinions for Growl implementation on Astlinux

2008-10-28 Thread Stephen Erisman
Opps... I just noticed that you already linked to the same app_notify 
Asterisk Module.


I will still go see if I can create a package that could be included for 
this.


-Steve

Stephen Erisman wrote:

Brian,

This should be pretty easy to implement using PHP AGI.
I have been wanting something similar and (based on your email) have 
tested the following so far:


1. downloaded the php-growl class and saved it as growl.inc
http://code.google.com/p/php-growl/
2. created a test.php file with the following lines:
setAddress("127.0.0.1","password");
$client->addNotification("Incoming Call");
$client->register();
$client->notify("Incoming Call", "Incoming Call", "me <8005551234>");
?>
3. running the test.php file pops up a notification on my computer

FYI... I successfully ran this on a Windows box using the 
'growl-for-windows' client:

http://code.google.com/p/growl-for-windows/

My next step will be to create an AGI PHP script and upload the files to 
AstLinux.
As long as PHP on AstLinux was compiled with support for either 
socket_create or fsockopen it should work fine.


Let me know if you find a better way of doing this.

FYI... it looks like there is also an Asterisk Module that directly 
supports this, but it has to be added as a package and compiled into the 
image before it can be used:

http://www.mezzo.net/asterisk/app_notify.html
Maybe we can get one of the developers to add a package for this? ;)  If 
it helps, I can create the package files and build a test image on one 
of my dev machines.  I would just need someone to verify and check it in 
for me.


Thanks,
-Steve

brianbarr wrote:
  
Greetings -- I am attempting to implement Growl on Astlinux  for call  
notifications to local systems on the lan.


For a description see

http://en.wikipedia.org/wiki/Growl_(software)

or

http://growl.info/


There is a native Linux module app_notify:
http://www.mezzo.net/asterisk/app_notify.html

A perl implementation:
http://growl.info/documentation/developer/mac-growl.php

A PHP implementation:
http://code.google.com/p/php-growl/

A Python implementation:
http://growl.info/documentation/developer/growlnotifier.php

There is also a Ruby version and others.


I'm trying to figure out what is the best and easiest path to take  
here...


AGI scripting would require no changes to Astlinux so maybe that road.

Astlinux has micro-perl, but I don' t think it has the needed modules  
present for mac-growl.


No python or ruby so those are out. PHP then..?

Anyone willing to chime in on this?

Thanks,

Brian Barr



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]
  




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]
  


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Re: [Astlinux-users] Opinions for Growl implementation on Astlinux

2008-10-28 Thread Stephen Erisman
Brian,

This should be pretty easy to implement using PHP AGI.
I have been wanting something similar and (based on your email) have 
tested the following so far:

1. downloaded the php-growl class and saved it as growl.inc
http://code.google.com/p/php-growl/
2. created a test.php file with the following lines:
setAddress("127.0.0.1","password");
$client->addNotification("Incoming Call");
$client->register();
$client->notify("Incoming Call", "Incoming Call", "me <8005551234>");
?>
3. running the test.php file pops up a notification on my computer

FYI... I successfully ran this on a Windows box using the 
'growl-for-windows' client:
http://code.google.com/p/growl-for-windows/

My next step will be to create an AGI PHP script and upload the files to 
AstLinux.
As long as PHP on AstLinux was compiled with support for either 
socket_create or fsockopen it should work fine.

Let me know if you find a better way of doing this.

FYI... it looks like there is also an Asterisk Module that directly 
supports this, but it has to be added as a package and compiled into the 
image before it can be used:
http://www.mezzo.net/asterisk/app_notify.html
Maybe we can get one of the developers to add a package for this? ;)  If 
it helps, I can create the package files and build a test image on one 
of my dev machines.  I would just need someone to verify and check it in 
for me.

Thanks,
-Steve

brianbarr wrote:
> Greetings -- I am attempting to implement Growl on Astlinux  for call  
> notifications to local systems on the lan.
>
> For a description see
>
> http://en.wikipedia.org/wiki/Growl_(software)
>
> or
>
> http://growl.info/
>
>
> There is a native Linux module app_notify:
> http://www.mezzo.net/asterisk/app_notify.html
>
> A perl implementation:
> http://growl.info/documentation/developer/mac-growl.php
>
> A PHP implementation:
> http://code.google.com/p/php-growl/
>
> A Python implementation:
> http://growl.info/documentation/developer/growlnotifier.php
>
> There is also a Ruby version and others.
>
>
> I'm trying to figure out what is the best and easiest path to take  
> here...
>
> AGI scripting would require no changes to Astlinux so maybe that road.
>
> Astlinux has micro-perl, but I don' t think it has the needed modules  
> present for mac-growl.
>
> No python or ruby so those are out. PHP then..?
>
> Anyone willing to chime in on this?
>
> Thanks,
>
> Brian Barr
>
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
> PROTECTED]
>   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]