LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-10-2009, 05:28 AM   #46
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,595

Rep: Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999

Good to see it worked at last

These procmail warnings about locking are normal and are nothing to worry about.
If you don't want to see them you can remove the last ":" from the 1st line of .procmailrc (so it reads :0)
The "can't unlink" is more likely from some perl module called by the perl script. I dunn why it comes out.

Regarding Asterisk, the only thing I know is that is a PABX s/w running on linux.

Cheers
 
Old 11-10-2009, 05:53 AM   #47
Terry56
Member
 
Registered: Oct 2009
Posts: 49

Original Poster
Rep: Reputation: 15
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
 
Old 11-10-2009, 06:05 AM   #48
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,595

Rep: Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999
Hi,

You should start a new thread, explaining what you want to do and hopefully someone here will help you on this.

Regards
 
Old 11-11-2009, 12:00 AM   #49
Terry56
Member
 
Registered: Oct 2009
Posts: 49

Original Poster
Rep: Reputation: 15
Hi ,
OK.Thank you very very much for your help.Thank you very much.Wish you good luck .

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
stop incoming mail while quota exceed in openwebmail shan_nathan Linux - Server 1 10-07-2009 08:55 PM
outgoing mail server : timeout error bittus Linux - Newbie 94 11-19-2008 07:16 PM
dd retry on error? SDraconis Linux - General 4 06-12-2005 01:20 AM
increasing retry timeout with mgetty/sendfax? rj1 Linux - General 0 11-09-2004 11:39 PM


All times are GMT -5. The time now is 11:14 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration