Hi
,
Thanks for your help
. If I ask you a question about Asterisk are you in a position to help me. OK I ask u then you tell me whether you can help me in this topic or not OK.
Actually i want to send email to asterisk through email client and the whole thing that i have just done with your help i.e, send mail to asterisk/voicemail/brights/220/INBOX is a part of it because when we record a voice message to Asterisk it contains voice mail in this folder but it manages file like this
msg0000.txt
msg0000.wav
The mesg0000.txt contains things like
;
; Message Information file
;
[message]
origmailbox=202
context=internal-3
macrocontext=
exten=202
priority=3
callerchan=Zap/2-1
callerid=Unknown
origdate=Fri Oct 24 04:05:41 PM PKT 2008
origtime=1224846341
category=
duration=11
Now what we have done so far that when mail goes to asterisk through our procedure i.e., receive by sendmail and then filter by procmail and then go to Asterisk it store likes this
msg-5184-1.html
Voicemail277552.wav
and msg-5184-1.html contain things like
<HTML><table width="100%" style="border: 1px solid #215576;">
<tr>
<td style="padding: 3px;" nowrap>
This Email has Voice maill attached : <br>
</td>
</tr>
</table>
<br>
<HTML>
this si atest voice mail to see whether it is working or not<br>
<BR><hr>Msg sent via NetKarachi - http://www.netkarachi.com/</HTML>
</HTML>
So I want to ask that can you please tell me or give me any hint, if you know that how can i convert this email to asterisk format so when mail receive by Asterisk through procmail it behave as similar as it a record message by phone or in other words asterisk recognize it as a part of itself.
If you don't no anything it's fine. I am just asking because i also know this topic is not belong to you but any hint any idea that helps me in doing this.
Thanks in advance