Posted: Tue Nov 13, 2007 8:58 pm Post subject: [Asterisk-bsd] Asterisk/voicemail
Hello!
I am doing this thing.. i have to take one attachment .WAV from an email, and take it an put it in the folder that correspond to it extention... (/var/spool/asterisk/voicemail/default/105/INBOX for example..) i could get the .wav with this thing.. ripMIME... an whith sox i convert it to .gsm, but my problem is that i have to create the .txt that the asterisk voicemail needs to interpret the message, i mean there is all the information about the mess... i mean, from who, what time, etc etc,,,,
example: (this is a real thing.. ... i have 6 mes...each one have a .txt file....)
Posted: Tue Nov 13, 2007 9:14 pm Post subject: [Asterisk-bsd] Asterisk/voicemail
what are you trying to do you have not explaind it properly.. are you trying
to send the same vm to multi users ?
On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
Quote:
Hello!
I am doing this thing.. i have to take one attachment .WAV from an email,
and take it an put it in the folder that correspond to it extention...
(/var/spool/asterisk/voicemail/default/105/INBOX for example..) i could get
the .wav with this thing.. ripMIME... an whith sox i convert it to .gsm,
but my problem is that i have to create the .txt that the asterisk
voicemail needs to interpret the message, i mean there is all the
information about the mess... i mean, from who, what time, etc etc,,,,
example: (this is a real thing.. ... i have 6 mes...each one have a .txt
file....)
Posted: Tue Nov 13, 2007 10:12 pm Post subject: [Asterisk-bsd] Asterisk/voicemail
Nop.
EXAPLE: You Send me an EMAIL with an SOUND ATTACHMENT with (Like a .WAV file).
I nedd to get THAT attachment from the EMAIL, and PUT that SOUND FILE in the VOICEMAIL FOLDER, and hear it in my PHONE.
So i need to find a way that asterisk recognize that new file like a VOICEMAIL ....
what are you trying to do you have not explaind it properly.. are you trying
to send the same vm to multi users ?
On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
> Hello!
>
> I am doing this thing.. i have to take one attachment .WAV from an email,
> and take it an put it in the folder that correspond to it extention...
> (/var/spool/asterisk/voicemail/default/105/INBOX for example..) i could get
> the .wav with this thing.. ripMIME... an whith sox i convert it to .gsm,
> but my problem is that i have to create the .txt that the asterisk
> voicemail needs to interpret the message, i mean there is all the
> information about the mess... i mean, from who, what time, etc etc,,,,
>
> example: (this is a real thing.. ... i have 6 mes...each one have a .txt
> file....)
>
> root@central:/var/spool/asterisk/voicemail/default/107/INBOX# ls
> msg0000.gsm msg0001.gsm msg0002.gsm msg0003.gsm msg0004.gsm
> msg0005.gsm msg0000.txt msg0001.txt msg0002.txt msg0003.txt
> msg0004.txt msg0005.txt msg0000.wav msg0001.wav msg0002.wav
> msg0003.wav msg0004.wav msg0005.wav msg0000.WAV msg0001.WAV
> msg0002.WAV msg0003.WAV msg0004.WAV msg0005.WAV
>
> this is msg0004.txt
> root@central:/var/spool/asterisk/voicemail/default/107/INBOX# cat
> msg0004.txt ;
> ; Message Information file
> ;
> [message]
> origmailbox=107
> context=macro-stdexten
> macrocontext=DefaultOutgoingRule
> exten=s-BUSY
> priority=6
> callerchan=SIP/107-b6b00468
> callerid="Aneury Disipulo" <107>
> origdate=Tue Oct 30 06:21:10 PM AST 2007
> origtime=1193782870
> category=
> duration=47
>
>
> ------------------
> I need to find a way to generate this file for files.wav that i want to put
> into this folder....
>
> CAN SOMEONE HELP???
>
>
>
> Luisa Peralta J.
>
>
>
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Welcome to the World. An the World gets smaller.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Nov 14, 2007 12:21 am Post subject: [Asterisk-bsd] Asterisk/voicemail
you dont have to convert it to gsm for it to play. asterisk can play wv files.
and why waste the time when you just play the wav on your pc
this would also takealot of scripting
On November 13, 2007 02:07:26 pm Luisa Peralta wrote:
Quote:
Nop.
EXAPLE: You Send me an EMAIL with an SOUND ATTACHMENT with (Like a .WAV
file). I nedd to get THAT attachment from the EMAIL, and PUT that SOUND
FILE in the VOICEMAIL FOLDER, and hear it in my PHONE.
So i need to find a way that asterisk recognize that new file like a
VOICEMAIL ....
get it?? mmmm its like.. dificult.... (Sorry)
Luisa Peralta J.
> From: r.neese@gmail.com
> To: asterisk-bsd@lists.digium.com
> Date: Tue, 13 Nov 2007 13:02:32 -0800
> Subject: Re: [Asterisk-bsd] Asterisk/voicemail
>
> what are you trying to do you have not explaind it properly.. are you
> trying to send the same vm to multi users ?
>
> On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
> > Hello!
> >
> > I am doing this thing.. i have to take one attachment .WAV from an
> > email, and take it an put it in the folder that correspond to it
> > extention... (/var/spool/asterisk/voicemail/default/105/INBOX for
> > example..) i could get the .wav with this thing.. ripMIME... an whith
> > sox i convert it to .gsm, but my problem is that i have to create the
> > .txt that the asterisk voicemail needs to interpret the message, i mean
> > there is all the information about the mess... i mean, from who, what
> > time, etc etc,,,,
> >
> > example: (this is a real thing.. ... i have 6 mes...each one have a
> > .txt file....)
> >
> > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# ls
> > msg0000.gsm msg0001.gsm msg0002.gsm msg0003.gsm msg0004.gsm
> > msg0005.gsm msg0000.txt msg0001.txt msg0002.txt
> > msg0003.txt msg0004.txt msg0005.txt msg0000.wav msg0001.wav
> > msg0002.wav msg0003.wav msg0004.wav msg0005.wav msg0000.WAV
> > msg0001.WAV msg0002.WAV msg0003.WAV msg0004.WAV msg0005.WAV
> >
> > this is msg0004.txt
> > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# cat
> > msg0004.txt ;
> > ; Message Information file
> > ;
> > [message]
> > origmailbox=107
> > context=macro-stdexten
> > macrocontext=DefaultOutgoingRule
> > exten=s-BUSY
> > priority=6
> > callerchan=SIP/107-b6b00468
> > callerid="Aneury Disipulo" <107>
> > origdate=Tue Oct 30 06:21:10 PM AST 2007
> > origtime=1193782870
> > category=
> > duration=47
> >
> >
> > ------------------
> > I need to find a way to generate this file for files.wav that i want to
> > put into this folder....
> >
> > CAN SOMEONE HELP???
> >
> >
> >
> > Luisa Peralta J.
> >
> >
> >
> >
> > _________________________________________________________________
> > Express yourself instantly with MSN Messenger! Download today it's
> > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> --
> Welcome to the World. An the World gets smaller.
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> Asterisk-BSD mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
you dont have to convert it to gsm for it to play. asterisk can play wv files.
and why waste the time when you just play the wav on your pc
this would also takealot of scripting
On November 13, 2007 02:07:26 pm Luisa Peralta wrote:
> Nop.
>
> EXAPLE: You Send me an EMAIL with an SOUND ATTACHMENT with (Like a .WAV
> file). I nedd to get THAT attachment from the EMAIL, and PUT that SOUND
> FILE in the VOICEMAIL FOLDER, and hear it in my PHONE.
>
> So i need to find a way that asterisk recognize that new file like a
> VOICEMAIL ....
>
> get it?? mmmm its like.. dificult.... (Sorry)
>
>
>
> Luisa Peralta J.
>
> > From: r.neese@gmail.com
> > To: asterisk-bsd@lists.digium.com
> > Date: Tue, 13 Nov 2007 13:02:32 -0800
> > Subject: Re: [Asterisk-bsd] Asterisk/voicemail
> >
> > what are you trying to do you have not explaind it properly.. are you
> > trying to send the same vm to multi users ?
> >
> > On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
> > > Hello!
> > >
> > > I am doing this thing.. i have to take one attachment .WAV from an
> > > email, and take it an put it in the folder that correspond to it
> > > extention... (/var/spool/asterisk/voicemail/default/105/INBOX for
> > > example..) i could get the .wav with this thing.. ripMIME... an whith
> > > sox i convert it to .gsm, but my problem is that i have to create the
> > > .txt that the asterisk voicemail needs to interpret the message, i mean
> > > there is all the information about the mess... i mean, from who, what
> > > time, etc etc,,,,
> > >
> > > example: (this is a real thing.. ... i have 6 mes...each one have a
> > > .txt file....)
> > >
> > > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# ls
> > > msg0000.gsm msg0001.gsm msg0002.gsm msg0003.gsm msg0004.gsm
> > > msg0005.gsm msg0000.txt msg0001.txt msg0002.txt
> > > msg0003.txt msg0004.txt msg0005.txt msg0000.wav msg0001.wav
> > > msg0002.wav msg0003.wav msg0004.wav msg0005.wav msg0000.WAV
> > > msg0001.WAV msg0002.WAV msg0003.WAV msg0004.WAV msg0005.WAV
> > >
> > > this is msg0004.txt
> > > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# cat
> > > msg0004.txt ;
> > > ; Message Information file
> > > ;
> > > [message]
> > > origmailbox=107
> > > context=macro-stdexten
> > > macrocontext=DefaultOutgoingRule
> > > exten=s-BUSY
> > > priority=6
> > > callerchan=SIP/107-b6b00468
> > > callerid="Aneury Disipulo" <107>
> > > origdate=Tue Oct 30 06:21:10 PM AST 2007
> > > origtime=1193782870
> > > category=
> > > duration=47
> > >
> > >
> > > ------------------
> > > I need to find a way to generate this file for files.wav that i want to
> > > put into this folder....
> > >
> > > CAN SOMEONE HELP???
> > >
> > >
> > >
> > > Luisa Peralta J.
> > >
> > >
> > >
> > >
> > > _________________________________________________________________
> > > Express yourself instantly with MSN Messenger! Download today it's
> > > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >
> > --
> > Welcome to the World. An the World gets smaller.
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > Asterisk-BSD mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Welcome to the World. An the World gets smaller.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Nov 14, 2007 3:13 am Post subject: [Asterisk-bsd] Asterisk/voicemail
Well I presume you have some script already taking the WAV attachment from
the email. If you already have this, it should be trivial to create the
text file. Most of the fields are not required, and you can tell which
ones by quick experimentation. I am afraid you will have to write the
script, though.
If my presumption is bad you might start with procmail...
j
On Tue, 13 Nov 2007, Luisa Peralta wrote:
Quote:
Hello!
I am doing this thing.. i have to take one attachment .WAV from an email, and take it an put it in the folder that correspond to it extention... (/var/spool/asterisk/voicemail/default/105/INBOX for example..) i could get the .wav with this thing.. ripMIME... an whith sox i convert it to .gsm, but my problem is that i have to create the .txt that the asterisk voicemail needs to interpret the message, i mean there is all the information about the mess... i mean, from who, what time, etc etc,,,,
example: (this is a real thing.. ... i have 6 mes...each one have a .txt file....)
Posted: Wed Nov 14, 2007 3:41 am Post subject: [Asterisk-bsd] Asterisk/voicemail
The smart way to do it, would be to look for a text pattern that resembles a phone number (regex) so this info could be pulled from the email. You will also need a predefined table of extensions and email addresses somewhere (DB)
You can measure the length of a soundfile using sox ;)
The timestamp is a standard unix timestamp, I would fake the channel name and other things.
It is quite a project, hope you have some programming experience.
N8
On Nov 13, 2007, at 7:52 PM, Luisa Peralta <urdead4me@hotmail.com (urdead4me@hotmail.com)> wrote:
Quote:
yea... i know its like... stup.&^&... but my teacher want me to do that... i told him that it doesnt make sence.... BUT... he want it.. bad for me...
Luisa Peralta J.
Quote:
From: [url=mailto:r.neese@gmail.com]r.neese@gmail.com (r.neese@gmail.com)[/url]
To: [url=mailto:asterisk-bsd@lists.digium.com]asterisk-bsd@lists.digium.com (asterisk-bsd@lists.digium.com)[/url]
Date: Tue, 13 Nov 2007 16:14:34 -0800
Subject: Re: [Asterisk-bsd] Asterisk/voicemail
you dont have to convert it to gsm for it to play. asterisk can play wv files.
and why waste the time when you just play the wav on your pc
this would also takealot of scripting
On November 13, 2007 02:07:26 pm Luisa Peralta wrote:
> Nop.
>
> EXAPLE: You Send me an EMAIL with an SOUND ATTACHMENT with (Like a .WAV
> file). I nedd to get THAT attachment from the EMAIL, and PUT that SOUND
> FILE in the VOICEMAIL FOLDER, and hear it in my PHONE.
>
> So i need to find a way that asterisk recognize that new file like a
> VOICEMAIL ....
>
> get it?? mmmm its like.. dificult.... (Sorry)
>
>
>
> Luisa Peralta J.
>
> > From: [url=mailto:r.neese@gmail.com]r.neese@gmail.com (r.neese@gmail.com)[/url]
> > To: [url=mailto:asterisk-bsd@lists.digium.com]asterisk-bsd@lists.digium.com (asterisk-bsd@lists.digium.com)[/url]
> > Date: Tue, 13 Nov 2007 13:02:32 -0800
> > Subject: Re: [Asterisk-bsd] Asterisk/voicemail
> >
> > what are you trying to do you have not explaind it properly.. are you
> > trying to send the same vm to multi users ?
> >
> > On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
> > > Hello!
> > >
> > > I am doing this thing.. i have to take one attachment .WAV from an
> > > email, and take it an put it in the folder that correspond to it
> > > extention... (/var/spool/asterisk/voicemail/default/105/INBOX for
> > > example..) i could get the .wav with this thing.. ripMIME... an whith
> > > sox i convert it to .gsm, but my problem is that i have to create the
> > > .txt that the asterisk voicemail needs to interpret the message, i mean
> > > there is all the information about the mess... i mean, from who, what
> > > time, etc etc,,,,
> > >
> > > example: (this is a real thing.. ... i have 6 mes...each one have a
> > > .txt file....)
> > >
> > > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# ls
> > > msg0000.gsm msg0001.gsm msg0002.gsm msg0003.gsm msg0004.gsm
> > > msg0005.gsm msg0000.txt msg0001.txt msg0002.txt
> > > msg0003.txt msg0004.txt msg0005.txt msg0000.wav msg0001.wav
> > > msg0002.wav msg0003.wav msg0004.wav msg0005.wav msg0000.WAV
> > > msg0001.WAV msg0002.WAV msg0003.WAV msg0004.WAV msg0005.WAV
> > >
> > > this is msg0004.txt
> > > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# cat
> > > msg0004.txt ;
> > > ; Message Information file
> > > ;
> > > [message]
> > > origmailbox=107
> > > context=macro-stdexten
> > > macrocontext=DefaultOutgoingRule
> > > exten=s-BUSY
> > > priority=6
> > > callerchan=SIP/107-b6b00468
> > > callerid="Aneury Disipulo" <107>
> > > origdate=Tue Oct 30 06:210:10 PM AST 2007
> > > origtime=1193782870
> > > category=
> > > duration=47
> > >
> > >
> > > ------------------
> > > I need to find a way to generate this file for files.wav that i want to
> > > put into this folder....
> > >
> > > CAN SOMEONE HELP???
> > >
> > >
> > >
> > > Luisa Peralta J.
> > >
> > >
> > >
> > >
> > > _________________________________________________________________
> > > Express yourself instantly with MSN Messenger! Download today it's
> > > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >
> > --
> > Welcome to the World. An the World gets smaller.
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > Asterisk-BSD mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Welcome to the World. An the World gets smaller.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Express yourself instantly with MSN Messenger! MSN Messenger
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Nov 14, 2007 4:10 am Post subject: [Asterisk-bsd] Asterisk/voicemail
you need to inform your teacher he/she is messed in the head. there is no
real way to do this that is not going to take alot of trial and error and
time. never heard of anyone doing this and really why would you when you
could just dial your vm and listen to it. why are you grabbing the vm for a
email and putting it back on a system ?
On November 13, 2007 07:37:18 pm Nate Kettlewell wrote:
Quote:
The smart way to do it, would be to look for a text pattern that
resembles a phone number (regex) so this info could be pulled from the
email. You will also need a predefined table of extensions and email
addresses somewhere (DB)
You can measure the length of a soundfile using sox ;)
The timestamp is a standard unix timestamp, I would fake the channel
name and other things.
It is quite a project, hope you have some programming experience.
N8
On Nov 13, 2007, at 7:52 PM, Luisa Peralta <urdead4me@hotmail.com>
wrote:
> yea... i know its like... stup.&^&... but my teacher want me to do
> that... i told him that it doesnt make sence.... BUT... he want it..
> bad for me...
>
>
>
>
> Luisa Peralta J.
>
> > From: r.neese@gmail.com
> > To: asterisk-bsd@lists.digium.com
> > Date: Tue, 13 Nov 2007 16:14:34 -0800
> > Subject: Re: [Asterisk-bsd] Asterisk/voicemail
> >
> > you dont have to convert it to gsm for it to play. asterisk can
>
> play wv files.
>
> > and why waste the time when you just play the wav on your pc
> >
> > this would also takealot of scripting
> >
> > On November 13, 2007 02:07:26 pm Luisa Peralta wrote:
> > > Nop.
> > >
> > > EXAPLE: You Send me an EMAIL with an SOUND ATTACHMENT with (Like
>
> a .WAV
>
> > > file). I nedd to get THAT attachment from the EMAIL, and PUT
>
> that SOUND
>
> > > FILE in the VOICEMAIL FOLDER, and hear it in my PHONE.
> > >
> > > So i need to find a way that asterisk recognize that new file
>
> like a
>
> > > VOICEMAIL ....
> > >
> > > get it?? mmmm its like.. dificult.... (Sorry)
> > >
> > >
> > >
> > > Luisa Peralta J.
> > >
> > > > From: r.neese@gmail.com
> > > > To: asterisk-bsd@lists.digium.com
> > > > Date: Tue, 13 Nov 2007 13:02:32 -0800
> > > > Subject: Re: [Asterisk-bsd] Asterisk/voicemail
> > > >
> > > > what are you trying to do you have not explaind it properly..
>
> are you
>
> > > > trying to send the same vm to multi users ?
> > > >
> > > > On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
> > > > > Hello!
> > > > >
> > > > > I am doing this thing.. i have to take one attachment .WAV
>
> from an
>
> > > > > email, and take it an put it in the folder that correspond
>
> to it
>
> > > > > extention... (/var/spool/asterisk/voicemail/default/105/
>
> INBOX for
>
> > > > > example..) i could get the .wav with this thing.. ripMIME...
>
> an whith
>
> > > > > sox i convert it to .gsm, but my problem is that i have to
>
> create the
>
> > > > > .txt that the asterisk voicemail needs to interpret the
>
> message, i mean
>
> > > > > there is all the information about the mess... i mean, from
>
> who, what
>
> > > > > time, etc etc,,,,
> > > > >
> > > > > example: (this is a real thing.. ... i have 6 mes...each one
>
> have a
>
> > > > > .txt file....)
> > > > >
> > > > > root@central:/var/spool/asterisk/voicemail/default/107/
>
> INBOX# ls
>
> > > > > msg0000.gsm msg0001.gsm msg0002.gsm msg0003.gsm msg0004.gsm
> > > > > msg0005.gsm msg0000.txt msg0001.txt msg0002.txt
> > > > > msg0003.txt msg0004.txt msg0005.txt msg0000.wav msg0001.wav
> > > > > msg0002.wav msg0003.wav msg0004.wav msg0005.wav msg0000.WAV
> > > > > msg0001.WAV msg0002.WAV msg0003.WAV msg0004.WAV msg0005.WAV
> > > > >
> > > > > this is msg0004.txt
> > > > > root@central:/var/spool/asterisk/voicemail/default/107/
>
> INBOX# cat
>
> > > > > msg0004.txt ;
> > > > > ; Message Information file
> > > > > ;
> > > > > [message]
> > > > > origmailbox=107
> > > > > context=macro-stdexten
> > > > > macrocontext=DefaultOutgoingRule
> > > > > exten=s-BUSY
> > > > > priority=6
> > > > > callerchan=SIP/107-b6b00468
> > > > > callerid="Aneury Disipulo" <107>
> > > > > origdate=Tue Oct 30 06:210:10 PM AST 2007
> > > > > origtime=1193782870
> > > > > category=
> > > > > duration=47
> > > > >
> > > > >
> > > > > ------------------
> > > > > I need to find a way to generate this file for files.wav
>
> that i want to
>
> > > > > put into this folder....
> > > > >
> > > > > CAN SOMEONE HELP???
> > > > >
> > > > >
> > > > >
> > > > > Luisa Peralta J.
>
> _________________________________________________________________
>
> > > > > Express yourself instantly with MSN Messenger! Download
>
> today it's
>
> > > > > FREE!
> > > > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> > > >
> > > > --
> > > > Welcome to the World. An the World gets smaller.
> > > >
> > > > _______________________________________________
> > > > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > > >
> > > > Asterisk-BSD mailing list
> > > > To UNSUBSCRIBE or update options visit:
> > > > http://lists.digium.com/mailman/listinfo/asterisk-bsd
> > >
> > > _________________________________________________________________
> > > Express yourself instantly with MSN Messenger! Download today
>
> it's FREE!
>
> > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >
> > --
> > Welcome to the World. An the World gets smaller.
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > Asterisk-BSD mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
> Express yourself instantly with MSN Messenger! MSN Messenger
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> Asterisk-BSD mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
--
Welcome to the World. An the World gets smaller.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Nov 14, 2007 4:12 am Post subject: [Asterisk-bsd] Asterisk/voicemail
why dont you just setup rsync and sync you voicemail systems as to then not
need to go 200 blocks to go 1 block.
On November 13, 2007 07:37:18 pm Nate Kettlewell wrote:
Quote:
The smart way to do it, would be to look for a text pattern that
resembles a phone number (regex) so this info could be pulled from the
email. You will also need a predefined table of extensions and email
addresses somewhere (DB)
You can measure the length of a soundfile using sox ;)
The timestamp is a standard unix timestamp, I would fake the channel
name and other things.
It is quite a project, hope you have some programming experience.
N8
On Nov 13, 2007, at 7:52 PM, Luisa Peralta <urdead4me@hotmail.com>
wrote:
> yea... i know its like... stup.&^&... but my teacher want me to do
> that... i told him that it doesnt make sence.... BUT... he want it..
> bad for me...
>
>
>
>
> Luisa Peralta J.
>
> > From: r.neese@gmail.com
> > To: asterisk-bsd@lists.digium.com
> > Date: Tue, 13 Nov 2007 16:14:34 -0800
> > Subject: Re: [Asterisk-bsd] Asterisk/voicemail
> >
> > you dont have to convert it to gsm for it to play. asterisk can
>
> play wv files.
>
> > and why waste the time when you just play the wav on your pc
> >
> > this would also takealot of scripting
> >
> > On November 13, 2007 02:07:26 pm Luisa Peralta wrote:
> > > Nop.
> > >
> > > EXAPLE: You Send me an EMAIL with an SOUND ATTACHMENT with (Like
>
> a .WAV
>
> > > file). I nedd to get THAT attachment from the EMAIL, and PUT
>
> that SOUND
>
> > > FILE in the VOICEMAIL FOLDER, and hear it in my PHONE.
> > >
> > > So i need to find a way that asterisk recognize that new file
>
> like a
>
> > > VOICEMAIL ....
> > >
> > > get it?? mmmm its like.. dificult.... (Sorry)
> > >
> > >
> > >
> > > Luisa Peralta J.
> > >
> > > > From: r.neese@gmail.com
> > > > To: asterisk-bsd@lists.digium.com
> > > > Date: Tue, 13 Nov 2007 13:02:32 -0800
> > > > Subject: Re: [Asterisk-bsd] Asterisk/voicemail
> > > >
> > > > what are you trying to do you have not explaind it properly..
>
> are you
>
> > > > trying to send the same vm to multi users ?
> > > >
> > > > On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
> > > > > Hello!
> > > > >
> > > > > I am doing this thing.. i have to take one attachment .WAV
>
> from an
>
> > > > > email, and take it an put it in the folder that correspond
>
> to it
>
> > > > > extention... (/var/spool/asterisk/voicemail/default/105/
>
> INBOX for
>
> > > > > example..) i could get the .wav with this thing.. ripMIME...
>
> an whith
>
> > > > > sox i convert it to .gsm, but my problem is that i have to
>
> create the
>
> > > > > .txt that the asterisk voicemail needs to interpret the
>
> message, i mean
>
> > > > > there is all the information about the mess... i mean, from
>
> who, what
>
> > > > > time, etc etc,,,,
> > > > >
> > > > > example: (this is a real thing.. ... i have 6 mes...each one
>
> have a
>
> > > > > .txt file....)
> > > > >
> > > > > root@central:/var/spool/asterisk/voicemail/default/107/
>
> INBOX# ls
>
> > > > > msg0000.gsm msg0001.gsm msg0002.gsm msg0003.gsm msg0004.gsm
> > > > > msg0005.gsm msg0000.txt msg0001.txt msg0002.txt
> > > > > msg0003.txt msg0004.txt msg0005.txt msg0000.wav msg0001.wav
> > > > > msg0002.wav msg0003.wav msg0004.wav msg0005.wav msg0000.WAV
> > > > > msg0001.WAV msg0002.WAV msg0003.WAV msg0004.WAV msg0005.WAV
> > > > >
> > > > > this is msg0004.txt
> > > > > root@central:/var/spool/asterisk/voicemail/default/107/
>
> INBOX# cat
>
> > > > > msg0004.txt ;
> > > > > ; Message Information file
> > > > > ;
> > > > > [message]
> > > > > origmailbox=107
> > > > > context=macro-stdexten
> > > > > macrocontext=DefaultOutgoingRule
> > > > > exten=s-BUSY
> > > > > priority=6
> > > > > callerchan=SIP/107-b6b00468
> > > > > callerid="Aneury Disipulo" <107>
> > > > > origdate=Tue Oct 30 06:210:10 PM AST 2007
> > > > > origtime=1193782870
> > > > > category=
> > > > > duration=47
> > > > >
> > > > >
> > > > > ------------------
> > > > > I need to find a way to generate this file for files.wav
>
> that i want to
>
> > > > > put into this folder....
> > > > >
> > > > > CAN SOMEONE HELP???
> > > > >
> > > > >
> > > > >
> > > > > Luisa Peralta J.
>
> _________________________________________________________________
>
> > > > > Express yourself instantly with MSN Messenger! Download
>
> today it's
>
> > > > > FREE!
> > > > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> > > >
> > > > --
> > > > Welcome to the World. An the World gets smaller.
> > > >
> > > > _______________________________________________
> > > > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > > >
> > > > Asterisk-BSD mailing list
> > > > To UNSUBSCRIBE or update options visit:
> > > > http://lists.digium.com/mailman/listinfo/asterisk-bsd
> > >
> > > _________________________________________________________________
> > > Express yourself instantly with MSN Messenger! Download today
>
> it's FREE!
>
> > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >
> > --
> > Welcome to the World. An the World gets smaller.
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > Asterisk-BSD mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
> Express yourself instantly with MSN Messenger! MSN Messenger
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> Asterisk-BSD mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
--
Welcome to the World. An the World gets smaller.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Nov 14, 2007 7:31 am Post subject: [Asterisk-bsd] Asterisk/voicemail
It is not really stupid -- like this can act as a mail to voicemail gateway. As far as I understand, the major hurdle would be to automatically extract the sound file from the mail itself. The rest, I presume, can be managed by shell scripts. Any ideas anyone?
Luisa Peralta <urdead4me@hotmail.com> wrote:
Quote:
.hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } yea... i know its like... stup.&^&... but my teacher want me to do that... i told him that it doesnt make sence.... BUT... he want it.. bad for me...
you dont have to convert it to gsm for it to play. asterisk can play wv files.
and why waste the time when you just play the wav on your pc
this would also takealot of scripting
On November 13, 2007 02:07:26 pm Luisa Peralta wrote:
> Nop.
>
> EXAPLE: You Send me an EMAIL with an SOUND ATTACHMENT with (Like a .WAV
> file). I nedd to get THAT attachment from the EMAIL, and PUT that SOUND
> FILE in the VOICEMAIL FOLDER, and hear it in my PHONE.
>
> So i need to find a way that asterisk recognize that new file like a
> VOICEMAIL ....
>
> get it?? mmmm its like.. dificult.... (Sorry)
>
>
>
> Luisa Peralta J.
>
> > From: r.neese@gmail.com
> > To: asterisk-bsd@lists.digium.com
> > Date: Tue, 13 Nov 2007 13:02:32 -0800
> > Subject: Re: [Asterisk-bsd] Asterisk/voicemail
> >
> > what are you trying to do you have not explaind it properly.. are you
> > trying to send the same vm to multi users ?
> >
> > On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
> > > Hello!
> > >
> > > I am doing this thing.. i have to take one attachment .WAV from an
> > > email, and take it an put it in the folder that correspond to it
> > > extention... (/var/spool/asterisk/voicemail/default/105/INBOX for
> > > example..) i could get the .wav with this thing.. ripMIME... an whith
> > > sox i convert it to .gsm, but my problem is that i have to create the
> > > .txt that the asterisk voicemail needs to interpret the message, i mean
> > > there is all the information about the mess... i mean, from who, what
> > > time, etc etc,,,,
> > >
> > > example: (this is a real thing.. ... i have 6 mes...each one have a
> > > .txt file....)
> > >
> > > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# ls
> > > msg0000.gsm msg0001.gsm msg0002.gsm msg0003.gsm msg0004.gsm
> > > msg0005.gsm msg0000.txt msg0001.txt msg0002.txt
> > > msg0003.txt msg0004.txt msg0005.txt msg0000.wav msg0001.wav
> > > msg0002.wav msg0003.wav msg0004.wav msg0005.wav msg0000.WAV
> > > msg0001.WAV msg0002.WAV msg0003.WAV msg0004.WAV msg0005.WAV
> > >
> > > this is msg0004.txt
> > > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# cat
> > > msg0004.txt ;
> > > ; Message Information file
> > > ;
> > > [message]
> > > origmailbox=107
> > > context=macro-stdexten
> > > macrocontext=DefaultOutgoingRule
> > > exten=s-BUSY
> > > priority=6
> > > callerchan=SIP/107-b6b00468
> > > callerid="Aneury Disipulo" <107>
> > > origdate=Tue Oct 30 06:21:10 PM AST 2007
> > > origtime=1193782870
> > > category=
> > > duration=47
> > >
> > >
> > > ------------------
> > > I need to find a way to generate this file for files.wav that i want to
> > > put into this folder....
> > >
> > > CAN SOMEONE HELP???
> > >
> > >
> > >
> > > Luisa Peralta J.
> > >
> > >
> > >
> > >
> > > _________________________________________________________________
> > > Express yourself instantly with MSN Messenger! Download today it's
> > > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >
> > --
> > Welcome to the World. An the World gets smaller.
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > Asterisk-BSD mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Welcome to the World. An the World gets smaller.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Express yourself instantly with MSN Messenger! MSN Messenger_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Nov 14, 2007 8:39 am Post subject: [Asterisk-bsd] Asterisk/voicemail
You could use externnotify within voicemail.conf and create an app
that reads the data each time someone leaves a message.
On 14/11/2007, at 6:27 PM, shamim shahriar wrote:
Quote:
It is not really stupid -- like this can act as a mail to voicemail
gateway. As far as I understand, the major hurdle would be to
automatically extract the sound file from the mail itself. The rest,
I presume, can be managed by shell scripts. Any ideas anyone?
Luisa Peralta <urdead4me@hotmail.com> wrote:
yea... i know its like... stup.&^&... but my teacher want me to do
that... i told him that it doesnt make sence.... BUT... he want it..
bad for me...
Luisa Peralta J.
> From: r.neese@gmail.com
> To: asterisk-bsd@lists.digium.com
> Date: Tue, 13 Nov 2007 16:14:34 -0800
> Subject: Re: [Asterisk-bsd] Asterisk/voicemail
>
> you dont have to convert it to gsm for it to play. asterisk can
play wv files.
> and why waste the time when you just play the wav on your pc
>
> this would also takealot of scripting
>
>
> On November 13, 2007 02:07:26 pm Luisa Peralta wrote:
> > Nop.
> >
> > EXAPLE: You Send me an EMAIL with an SOUND ATTACHMENT with (Like
a .WAV
> > file). I nedd to get THAT attachment from the EMAIL, and PUT
that SOUND
> > FILE in the VOICEMAIL FOLDER, and hear it in my PHONE.
> >
> > So i need to find a way that asterisk recognize that new file
like a
> > VOICEMAIL ....
> >
> > get it?? mmmm its like.. dificult.... (Sorry)
> >
> >
> >
> > Luisa Peralta J.
> >
> > > From: r.neese@gmail.com
> > > To: asterisk-bsd@lists.digium.com
> > > Date: Tue, 13 Nov 2007 13:02:32 -0800
> > > Subject: Re: [Asterisk-bsd] Asterisk/voicemail
> > >
> > > what are you trying to do you have not explaind it properly..
are you
> > > trying to send the same vm to multi users ?
> > >
> > > On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
> > > > Hello!
> > > >
> > > > I am doing this thing.. i have to take one attachment .WAV
from an
> > > > email, and take it an put it in the folder that correspond
to it
> > > > extention... (/var/spool/asterisk/voicemail/default/105/
INBOX for
> > > > example..) i could get the .wav with this thing.. ripMIME...
an whith
> > > > sox i convert it to .gsm, but my problem is that i have to
create the
> > > > .txt that the asterisk voicemail needs to interpret the
message, i mean
> > > > there is all the information about the mess... i mean, from
who, what
> > > > time, etc etc,,,,
> > > >
> > > > example: (this is a real thing.. ... i have 6 mes...each one
have a
> > > > .txt file....)
> > > >
> > > > root@central:/var/spool/asterisk/voicemail/default/107/
INBOX# ls
> > > > msg0000.gsm msg0001.gsm msg0002.gsm msg0003.gsm msg0004.gsm
> > > > msg0005.gsm msg0000.txt msg0001.txt msg0002.txt
> > > > msg0003.txt msg0004.txt msg0005.txt msg0000.wav msg0001.wav
> > > > msg0002.wav msg0003.wav msg0004.wav msg0005.wav msg0000.WAV
> > > > msg0001.WAV msg0002.WAV msg0003.WAV msg0004.WAV msg0005.WAV
> > > >
> > > > this is msg0004.txt
> > > > root@central:/var/spool/asterisk/voicemail/default/107/
INBOX# cat
> > > > msg0004.txt ;
> > > > ; Message Information file
> > > > ;
> > > > [message]
> > > > origmailbox=107
> > > > context=macro-stdexten
> > > > macrocontext=DefaultOutgoingRule
> > > > exten=s-BUSY
> > > > priority=6
> > > > callerchan=SIP/107-b6b00468
> > > > callerid="Aneury Disipulo" <107>
> > > > origdate=Tue Oct 30 06:21:10 PM AST 2007
> > > > origtime=1193782870
> > > > category=
> > > > duration=47
> > > >
> > > >
> > > > ------------------
> > > > I need to find a way to generate this file for files.wav
that i want to
> > > > put into this folder....
> > > >
> > > > CAN SOMEONE HELP???
> > > >
> > > >
> > > >
> > > > Luisa Peralta J.
> > > >
> > > >
> > > >
> > > >
> > > >
_________________________________________________________________
> > > > Express yourself instantly with MSN Messenger! Download
today it's
> > > > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> > >
> > > --
> > > Welcome to the World. An the World gets smaller.
> > >
> > > _______________________________________________
> > > --Bandwidth and Colocation Provided by http://www.api-digital.com
--
> > >
> > > Asterisk-BSD mailing list
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-bsd
> >
> > _________________________________________________________________
> > Express yourself instantly with MSN Messenger! Download today
it's FREE!
> > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
>
> --
> Welcome to the World. An the World gets smaller.
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> Asterisk-BSD mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
Express yourself instantly with MSN Messenger! MSN
Messenger_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Never miss a thing. Make Yahoo your homepage.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Nov 14, 2007 3:35 pm Post subject: [Asterisk-bsd] Asterisk/voicemail
I still think rsyncing between the systems qould be better. that way you dont
need to do all this unneeded scripting.
you can also do voicemail blastingto send to multi user.
On November 13, 2007 11:27:30 pm shamim shahriar wrote:
Quote:
It is not really stupid -- like this can act as a mail to voicemail
gateway. As far as I understand, the major hurdle would be to automatically
extract the sound file from the mail itself. The rest, I presume, can be
managed by shell scripts. Any ideas anyone?
Luisa Peralta <urdead4me@hotmail.com> wrote: .hmmessage P { margin:0px;
padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma }
yea... i know its like... stup.&^&... but my teacher want me to do that...
i told him that it doesnt make sence.... BUT... he want it.. bad for me...
Luisa Peralta J.
---------------------------------
> From: r.neese@gmail.com
> To: asterisk-bsd@lists.digium.com
> Date: Tue, 13 Nov 2007 16:14:34 -0800
> Subject: Re: [Asterisk-bsd] Asterisk/voicemail
>
> you dont have to convert it to gsm for it to play. asterisk can play wv
> files. and why waste the time when you just play the wav on your pc
>
> this would also takealot of scripting
>
> On November 13, 2007 02:07:26 pm Luisa Peralta wrote:
> > Nop.
> >
> > EXAPLE: You Send me an EMAIL with an SOUND ATTACHMENT with (Like a
> > .WAV file). I nedd to get THAT attachment from the EMAIL, and PUT that
> > SOUND FILE in the VOICEMAIL FOLDER, and hear it in my PHONE.
> >
> > So i need to find a way that asterisk recognize that new file like a
> > VOICEMAIL ....
> >
> > get it?? mmmm its like.. dificult.... (Sorry)
> >
> >
> >
> > Luisa Peralta J.
> >
> > > From: r.neese@gmail.com
> > > To: asterisk-bsd@lists.digium.com
> > > Date: Tue, 13 Nov 2007 13:02:32 -0800
> > > Subject: Re: [Asterisk-bsd] Asterisk/voicemail
> > >
> > > what are you trying to do you have not explaind it properly.. are you
> > > trying to send the same vm to multi users ?
> > >
> > > On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
> > > > Hello!
> > > >
> > > > I am doing this thing.. i have to take one attachment .WAV from an
> > > > email, and take it an put it in the folder that correspond to it
> > > > extention... (/var/spool/asterisk/voicemail/default/105/INBOX for
> > > > example..) i could get the .wav with this thing.. ripMIME... an
> > > > whith sox i convert it to .gsm, but my problem is that i have to
> > > > create the .txt that the asterisk voicemail needs to interpret the
> > > > message, i mean there is all the information about the mess... i
> > > > mean, from who, what time, etc etc,,,,
> > > >
> > > > example: (this is a real thing.. ... i have 6 mes...each one have a
> > > > .txt file....)
> > > >
> > > > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# ls
> > > > msg0000.gsm msg0001.gsm msg0002.gsm msg0003.gsm
> > > > msg0004.gsm msg0005.gsm msg0000.txt msg0001.txt
> > > > msg0002.txt
> > > > msg0003.txt msg0004.txt msg0005.txt msg0000.wav msg0001.wav
> > > > msg0002.wav msg0003.wav msg0004.wav msg0005.wav msg0000.WAV
> > > > msg0001.WAV msg0002.WAV msg0003.WAV msg0004.WAV msg0005.WAV
> > > >
> > > > this is msg0004.txt
> > > > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# cat
> > > > msg0004.txt ;
> > > > ; Message Information file
> > > > ;
> > > > [message]
> > > > origmailbox=107
> > > > context=macro-stdexten
> > > > macrocontext=DefaultOutgoingRule
> > > > exten=s-BUSY
> > > > priority=6
> > > > callerchan=SIP/107-b6b00468
> > > > callerid="Aneury Disipulo" <107>
> > > > origdate=Tue Oct 30 06:21:10 PM AST 2007
> > > > origtime=1193782870
> > > > category=
> > > > duration=47
> > > >
> > > >
> > > > ------------------
> > > > I need to find a way to generate this file for files.wav that i
> > > > want to put into this folder....
> > > >
> > > > CAN SOMEONE HELP???
> > > >
> > > >
> > > >
> > > > Luisa Peralta J.
> > > >
> > > >
> > > >
> > > >
> > > > _________________________________________________________________
> > > > Express yourself instantly with MSN Messenger! Download today it's
> > > > FREE!
> > > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> > >
> > > --
> > > Welcome to the World. An the World gets smaller.
> > >
> > > _______________________________________________
> > > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > >
> > > Asterisk-BSD mailing list
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-bsd
> >
> > _________________________________________________________________
> > Express yourself instantly with MSN Messenger! Download today it's
> > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> --
> Welcome to the World. An the World gets smaller.
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> Asterisk-BSD mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
---------------------------------
Express yourself instantly with MSN Messenger! MSN
Messenger_______________________________________________ --Bandwidth and
Colocation Provided by http://www.api-digital.com--
.ExternalClass .EC_hmmessage P {padding:0px;} .ExternalClass EC_body.hmmessage {font-size:10pt;font-family:Tahoma;} Nop.
EXAPLE: You Send me an EMAIL with an SOUND ATTACHMENT with (Like a .WAV file).
I nedd to get THAT attachment from the EMAIL, and PUT that SOUND FILE in the VOICEMAIL FOLDER, and hear it in my PHONE.
So i need to find a way that asterisk recognize that new file like a VOICEMAIL ....
what are you trying to do you have not explaind it properly.. are you trying
to send the same vm to multi users ?
On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
> Hello!
>
> I am doing this thing.. i have to take one attachment .WAV from an email,
> and take it an put it in the folder that correspond to it extention...
> (/var/spool/asterisk/voicemail/default/105/INBOX for example..) i could get
> the .wav with this thing.. ripMIME... an whith sox i convert it to .gsm,
> but my problem is that i have to create the .txt that the asterisk
> voicemail needs to interpret the message, i mean there is all the
> information about the mess... i mean, from who, what time, etc etc,,,,
>
> example: (this is a real thing.. ... i have 6 mes...each one have a .txt
> file....)
>
> root@central:/var/spool/asterisk/voicemail/default/107/INBOX# ls
> msg0000.gsm msg0001.gsm msg0002.gsm msg0003.gsm msg0004.gsm
> msg0005.gsm msg0000.txt msg0001.txt msg0002.txt msg0003.txt
> msg0004.txt msg0005.txt msg0000.wav msg0001.wav msg0002.wav
> msg0003.wav msg0004.wav msg0005.wav msg0000.WAV msg0001.WAV
> msg0002.WAV msg0003.WAV msg0004.WAV msg0005.WAV
>
> this is msg0004.txt
> root@central:/var/spool/asterisk/voicemail/default/107/INBOX# cat
> msg0004.txt ;
> ; Message Information file
> ;
> [message]
> origmailbox=107
> context=macro-stdexten
> macrocontext=DefaultOutgoingRule
> exten=s-BUSY
> priority=6
> callerchan=SIP/107-b6b00468
> callerid="Aneury Disipulo" <107>
> origdate=Tue Oct 30 06:21:10 PM AST 2007
> origtime=1193782870
> category=
> duration=47
>
>
> ------------------
> I need to find a way to generate this file for files.wav that i want to put
> into this folder....
>
> CAN SOMEONE HELP???
>
>
>
> Luisa Peralta J.
>
>
>
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Welcome to the World. An the World gets smaller.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Nov 14, 2007 8:21 pm Post subject: [Asterisk-bsd] Asterisk/voicemail
well the way your thinking of doing it would take along time of testing
I still thing a rsync of the servers voicemail between servers would be best
but you wouls have to renumber the vm files for the sync this would be faster
to do.
On November 14, 2007 11:52:38 am Luisa Peralta wrote:
EXAPLE: You Send me an EMAIL with an SOUND ATTACHMENT with (Like a .WAV
file). I nedd to get THAT attachment from the EMAIL, and PUT that SOUND
FILE in the VOICEMAIL FOLDER, and hear it in my PHONE.
So i need to find a way that asterisk recognize that new file like a
VOICEMAIL ....
get it?? mmmm its like.. dificult.... (Sorry)
Luisa Peralta J.
> From: r.neese@gmail.com
> To: asterisk-bsd@lists.digium.com
> Date: Tue, 13 Nov 2007 13:02:32 -0800
> Subject: Re: [Asterisk-bsd] Asterisk/voicemail
>
> what are you trying to do you have not explaind it properly.. are you
> trying to send the same vm to multi users ?
>
> On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
> > Hello!
> >
> > I am doing this thing.. i have to take one attachment .WAV from an
> > email, and take it an put it in the folder that correspond to it
> > extention... (/var/spool/asterisk/voicemail/default/105/INBOX for
> > example..) i could get the .wav with this thing.. ripMIME... an whith
> > sox i convert it to .gsm, but my problem is that i have to create the
> > .txt that the asterisk voicemail needs to interpret the message, i mean
> > there is all the information about the mess... i mean, from who, what
> > time, etc etc,,,,
> >
> > example: (this is a real thing.. ... i have 6 mes...each one have a
> > .txt file....)
> >
> > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# ls
> > msg0000.gsm msg0001.gsm msg0002.gsm msg0003.gsm msg0004.gsm
> > msg0005.gsm msg0000.txt msg0001.txt msg0002.txt
> > msg0003.txt msg0004.txt msg0005.txt msg0000.wav msg0001.wav
> > msg0002.wav msg0003.wav msg0004.wav msg0005.wav msg0000.WAV
> > msg0001.WAV msg0002.WAV msg0003.WAV msg0004.WAV msg0005.WAV
> >
> > this is msg0004.txt
> > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# cat
> > msg0004.txt ;
> > ; Message Information file
> > ;
> > [message]
> > origmailbox=107
> > context=macro-stdexten
> > macrocontext=DefaultOutgoingRule
> > exten=s-BUSY
> > priority=6
> > callerchan=SIP/107-b6b00468
> > callerid="Aneury Disipulo" <107>
> > origdate=Tue Oct 30 06:21:10 PM AST 2007
> > origtime=1193782870
> > category=
> > duration=47
> >
> >
> > ------------------
> > I need to find a way to generate this file for files.wav that i want to
> > put into this folder....
> >
> > CAN SOMEONE HELP???
> >
> >
> >
> > Luisa Peralta J.
> >
> >
> >
> >
> > _________________________________________________________________
> > Express yourself instantly with MSN Messenger! Download today it's
> > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> --
> Welcome to the World. An the World gets smaller.
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> Asterisk-BSD mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
Express yourself instantly with MSN Messenger! MSN Messenger
Posted: Wed Nov 14, 2007 9:53 pm Post subject: [Asterisk-bsd] Asterisk/voicemail
en the CLI> .. in the moment of the error i get this
...
..
..
...-- Playing 'vm-messages' (language 'en')
-- Playing 'vm-opts' (language 'en')
-- Playing 'vm-first' (language 'en')
-- Playing 'vm-message' (language 'en')
Nov 14 17:16:06 WARNING[22995]: app_voicemail.c:3868 play_message: No message attribute file?!! (/var/spool/asterisk/voicemail/default/105/INBOX/msg0000.txt)
well the way your thinking of doing it would take along time of testing
I still thing a rsync of the servers voicemail between servers would be best
but you wouls have to renumber the vm files for the sync this would be faster
to do.
On November 14, 2007 11:52:38 am Luisa Peralta wrote:
> OMG!! I JUST have 2 WEEKS for that!!!!
>
>
>
>
> Luisa Peralta J.
>
>
>
>
> From: urdead4me@hotmail.com
> To: asterisk-bsd@lists.digium.com
> Date: Tue, 13 Nov 2007 22:07:26 +0000
> Subject: Re: [Asterisk-bsd] Asterisk/voicemail
>
>
>
>
>
>
>
> Nop.
>
> EXAPLE: You Send me an EMAIL with an SOUND ATTACHMENT with (Like a .WAV
> file). I nedd to get THAT attachment from the EMAIL, and PUT that SOUND
> FILE in the VOICEMAIL FOLDER, and hear it in my PHONE.
>
> So i need to find a way that asterisk recognize that new file like a
> VOICEMAIL ....
>
> get it?? mmmm its like.. dificult.... (Sorry)
>
>
>
> Luisa Peralta J.
>
> > From: r.neese@gmail.com
> > To: asterisk-bsd@lists.digium.com
> > Date: Tue, 13 Nov 2007 13:02:32 -0800
> > Subject: Re: [Asterisk-bsd] Asterisk/voicemail
> >
> > what are you trying to do you have not explaind it properly.. are you
> > trying to send the same vm to multi users ?
> >
> > On November 13, 2007 12:43:50 pm Luisa Peralta wrote:
> > > Hello!
> > >
> > > I am doing this thing.. i have to take one attachment .WAV from an
> > > email, and take it an put it in the folder that correspond to it
> > > extention... (/var/spool/asterisk/voicemail/default/105/INBOX for
> > > example..) i could get the .wav with this thing.. ripMIME... an whith
> > > sox i convert it to .gsm, but my problem is that i have to create the
> > > .txt that the asterisk voicemail needs to interpret the message, i mean
> > > there is all the information about the mess... i mean, from who, what
> > > time, etc etc,,,,
> > >
> > > example: (this is a real thing.. ... i have 6 mes...each one have a
> > > .txt file....)
> > >
> > > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# ls
> > > msg0000.gsm msg0001.gsm msg0002.gsm msg0003.gsm msg0004.gsm
> > > msg0005.gsm msg0000.txt msg0001.txt msg0002.txt
> > > msg0003.txt msg0004.txt msg0005.txt msg0000.wav msg0001.wav
> > > msg0002.wav msg0003.wav msg0004.wav msg0005.wav msg0000.WAV
> > > msg0001.WAV msg0002.WAV msg0003.WAV msg0004.WAV msg0005.WAV
> > >
> > > this is msg0004.txt
> > > root@central:/var/spool/asterisk/voicemail/default/107/INBOX# cat
> > > msg0004.txt ;
> > > ; Message Information file
> > > ;
> > > [message]
> > > origmailbox=107
> > > context=macro-stdexten
> > > macrocontext=DefaultOutgoingRule
> > > exten=s-BUSY
> > > priority=6
> > > callerchan=SIP/107-b6b00468
> > > callerid="Aneury Disipulo" <107>
> > > origdate=Tue Oct 30 06:21:10 PM AST 2007
> > > origtime=1193782870
> > > category=
> > > duration=47
> > >
> > >
> > > ------------------
> > > I need to find a way to generate this file for files.wav that i want to
> > > put into this folder....
> > >
> > > CAN SOMEONE HELP???
> > >
> > >
> > >
> > > Luisa Peralta J.
> > >
> > >
> > >
> > >
> > > _________________________________________________________________
> > > Express yourself instantly with MSN Messenger! Download today it's
> > > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >
> > --
> > Welcome to the World. An the World gets smaller.
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > Asterisk-BSD mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
> Express yourself instantly with MSN Messenger! MSN Messenger
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Welcome to the World. An the World gets smaller.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum