>Something like this should be sufficient:
>
>--snip--
>
>#!/bin/sh
>echo "se st $2 mw on" >> /dev/ttyS1
>
>--snip--
>
>$2 means the second variable[1] which from the docs is the extension 
># passed to the script when externnotify[2] is used.
>
>[1] 
><http://web.mit.edu/answers/unix/unix_parameters.html>http://web.mit.edu/answers/unix/unix_parameters.html
>[2] 
><http://www.voip-info.org/wiki-Asterisk+config+voicemail.conf>http://www.voip-info.org/wiki-Asterisk+config+voicemail.conf
>
>On Fri, Feb 22, 2008 at 6:17 AM, Michael Keuter 
><<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote:
>[...]
>
>You have to connect to a special configured serial port on the
>Meridian and then send the correct commands. E.g. "se st 100 mw on"
>sets the voicemail lamp on ext. 100 on (you don't even need an answer
>from the Meridian).
>
>I know I must call a script from externnotify from the voicemail.conf.
>I am not a Linux expert, so what commands can I use to send the
>serial strings over the 2nd serial port of the net4801?
>
>
>
>--
>Grover Beach, California, USA
><http://blog.joshrichards.org>http://blog.joshrichards.org 
> <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]    +1 
>(805) 471-6923

Hi Josh,

thanks for your tip. It works perfectly.
I didn't expexted that it would be so easy.

Michael

--
Email: mailto:[EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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]

Reply via email to