[asterisk-dev] Navigating Voice Mail

Steve Wofford SW at uctrlit.com
Wed Dec 17 02:54:14 CST 2008


When ftp is enable on the box do you have access to all files or just
the ftp directory? In windows you only have access to c:\inetpub\ftproot
by default. I would think linux is the same. Do you know if the VM files
would be in the ftp directory OR could I copy them there using a script?

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Kaloyan
Kovachev
Sent: Wednesday, December 17, 2008 00:50
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] Navigating Voice Mail

On Wed, 17 Dec 2008 00:37:19 -0800, Steve Wofford wrote
> Great idea. There are FTP clients w/in .net framework.
> 
> I was able to FTP into the device.
> 
> I know the files are located on a USB drive. How do I navigate to
these
> files? This is where my basic linux skill are going to cause me
issues.
> 

just use IE to navigate inside the device and to get the files locations
initially ... the rest is just coding your .NET ftp client to get and
process them

> Any help moving me forward is appreciated.
> 
> Thanks,
> 
> Steve
> 
> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com
> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Kaloyan
> Kovachev
> Sent: Tuesday, December 16, 2008 23:58
> To: Asterisk Developers Mailing List
> Subject: Re: [asterisk-dev] Navigating Voice Mail
> 
> Do you have FTP access in addition to telnet? If yes you could easily
> get
> those files via FTP from .NET
> 
> On Tue, 16 Dec 2008 18:37:18 -0800, Steve Wofford wrote
> > I am not familiar w/ Linux so please bear with me. Here are the
> answers
> > to your questions:
> > 
> > How many known remote holes are in the SIP channel of Asterisk
1.0.7?
> > - This was just the version Linksys started with and took from there
> as
> > their starting base and branched out from Asterisk. Their official
> > version says 1.1.2.2. I do not actually have information on their
> > source. I guess they have to post it publicly for license reasons.
> > 
> > What CLI prompt exactly? Asterisk? Linux? (as root?)
> > - Here is what I get when I log in.
> > 	BusyBox on (none) login: root
> > 		Password:
> > 		CLI
> > 		Copyright (c) 2004 Texas Instruments, Inc.
> > 		cli>
> > 
> > Can you edit voicemail.conf ?
> > - If I have access to telnet, would that then give me access to
> > voicmail.conf? Remember I a Windows developer. Is there a way I can
> read
> > the file w/in telnet and copy/paste it from there?
> > 
> > What you suggest is much more complicated.
> > 
> > - I thought is may, but since I am not sure I had access, the only
> thing
> > I could think of.
> > 
> > All you need is a local command to relay mail outside. Which can be
> > something as simple as ssmtp to a near-by SMTP server. Theoretically
> it
> > can even be a home-brewed script that uses nc (netcat) or even
telnet
> to
> > send the bits to be handled on a different computer.
> > 
> > --OK. This sounds right and a solution. Couple Questions:
> > 
> > 1. Is there built in functionality for this. In other words am I
> dealing
> > with VM Message Objects or must this all be created.
> > 2. Could I create the script and pass to telnet via my .NET Telnet
> > classes (see link). Since I am being notified when new messages
arrive
> I
> > can then access the system remotely and tell the VM server to relay
> the
> > message (via the script) to the right individual. Here is something
> that
> > I could use:
> > 
> >
>
http://www.c-sharpcorner.com/UploadFile/tylerkline/TelnetScripting112820
> >
>
05001158AM/TelnetScripting.aspx?ArticleID=a8e0e439-14df-4d82-82ee-8cb4c1
> > 10f9a0
> > 
> > Thanks a great deal, I think we are making progress.
> > 
> > Steve
> > 
> > -----Original Message-----
> > From: asterisk-dev-bounces at lists.digium.com
> > [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Tzafrir
> > Cohen
> > Sent: Tuesday, December 16, 2008 18:08
> > To: asterisk-dev at lists.digium.com
> > Subject: Re: [asterisk-dev] Navigating Voice Mail
> > 
> > [Editing for top-posting-avoidance sanity]
> > 
> > On Tue, Dec 16, 2008 at 05:18:38PM -0800, Steve Wofford wrote:
> > > > On Tuesday, December 16, 2008 17:03, Andre Courchesne wrote:
> > > > Steve Wofford wrote:
> > > > > Can anyone point me in the direction for navigating Voice Mail
> > based on 
> > > > > Asterisk. I am developing a Voice Mail to Email solution. I
> assume
> > to 
> > > > > use the following:
> > > > >
> > 
> > [snip a reimplementation of voicemail to email]
> > 
> > > > Why go to all this trouble when asterisk already supports
> voicemail 
> > > > to e-mail?  Just configure your voicemail.conf correctly and the

> > > > e-mail with attachement will be sent out.
> > > >
> > > Here's the deal. This is actually a Linksys SPA400 Voice Mail box 
> > > which is developed on Asterisk 1.0.7.
> > 
> > Here's a small question for fun and profit:
> > How many known remote holes are in the SIP channel of Asterisk
1.0.7?
> > 
> > > 
> > > I do not have direct access to the code on the box. I can telnet
and
> 
> > > I get a CLI prompt, but not sure what to do at that point.
> > 
> > What CLI prompt exactly? Asterisk? Linux? (as root?)
> > 
> > Can you edit voicemail.conf ?
> > What you suggest is much more complicated. All you need is a local
> > command to relay mail outside. Which can be something as simple as
> ssmtp
> > to a near-by SMTP server. Theoretically it can even be a home-brewed
> > script that uses nc (netcat) or even telnet to send the bits to be
> > handled on a different computer.
> > 
> > -- 
> >                Tzafrir Cohen
> > icq#16849755              jabber:tzafrir.cohen at xorcom.com
> > +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> > http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
> > 
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > 
> > asterisk-dev mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-dev
> > 
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > 
> > asterisk-dev mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list