I'm sorry, how i can to check for the return code of the smtp session? I've never done :p
Thanks,
Danilo

Il 21/08/12 19:05, Ruben Rögels ha scritto:
Okay, so have a look at "mailcmd=" option in voicemail.conf

"mailbox" will mean a "e-mail-box" in the next lines.

What you need to do is wirting a shell script or what ever to check for the return code of the smtp session (normally it should be a 450 in case of full mailbox). In case of "450 mailbox full" whatsoever you need to create a call file in /var/spool/asterisk/outgoing directing your recipient phone to a special extension which handles the playback of the "your mailbox is full" message.

But: this will only work if you deliver the mail directly to the recipients mail server, if you use a smart host, it will accept the message and the final recipient server will bounce the mail back to you.

I hope this helps.

regards,
Ruben

Am 21.08.2012 18:52, schrieb Danilo Dionisi:
I'm sorry, I haven't been clear.
I do not have to check the inbox on Asterisk, but I have to check the free space on a particular mailbox of Exchange software.
It's possible with the pair Asterisk-Sendmail?

Il 21/08/12 18:45, Danny Nicholas ha scritto:
Assuming that you are using the standard 100 message limit, just check for
INBOX/MSG0100.txt and send the message.



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

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


--


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

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

Reply via email to