Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] IMAP client in asterisk not trying to conta


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
sakodak at gmail.com
Guest





PostPosted: Wed Jan 16, 2008 7:54 pm    Post subject: [asterisk-users] IMAP client in asterisk not trying to conta Reply with quote

I'm trying to test IMAP in 1.4.17 and it appears to be not working.

I've compiled imap-2007 with the following on a CentOS 5 box:

make slx EXTRACFLAGS="-I/usr/include/openssl -fPIC"

and I've configured and compiled asterisk with the following:

./configure --with-imap=/usr/local/src/imap-2007

The compile and install went just fine, no warnings and no errors that I saw.

However, when actually trying to use it, it doesn't appear that asterisk is even
trying to use the local IMAP server.

The local IMAP server is dovecot, with a master password configured. I've
tried plain and SHA auth, but from the logs I don't even see the asterisk
master user trying to connect.

Here's my voicemail.conf:

[general]
imapserver=localhost
imapfolder=Inbox
;pollmailboxes=yes
;pollfreq=30
imapflags=notls
authuser=asttest
expungeonhangup=yes
authpassword=whatever
[default]

5252 => 5252,Test,5252 at localhost,,imapuser=5252

(I have also tried this line as:
5252 => 5252,Test,,,imapuser=5252
5252 => 5252,Test,5252 at localhost,,imapuser=5252|imappass=pass
5252 => 5252,Test,,,imapuser=5252|imappass=pass

all with and without the authuser and authpassword in the general section.)

I can authenticate against the * server using 5252*asttest as the username and
"whatever" as the password, which I'm lead to believe is how * will
try to connect.
(Also, the imap user 5252 exists and can receive mail.)

Is there something else I'm missing? Is there some other place in the
dial plan that
I have to say "use IMAP"? Is there some way to confirm that the imap client
has been compiled in? Some hidden CLI command to debug it?

doing "grep -i imap /var/log/asterisk/*" gives absolutely no results.

I'm almost convinced that I've got something wrong in the configuration because
I tried the latest SVN and I didn't see it hit the IMAP server, but it
also segfaulted
so who knows.

Any ideas at all? Am I missing something obvious that I'll find as
soon as I press
"send" and wish I hadn't sent the message?

Thanks,

--J(K)
Back to top
YEHAVI at VMS.HUJI.AC.IL
Guest





PostPosted: Wed Jan 16, 2008 11:34 pm    Post subject: [asterisk-users] IMAP client in asterisk not trying to conta Reply with quote

Quote:
I'm trying to test IMAP in 1.4.17 and it appears to be not working.

I've compiled imap-2007 with the following on a CentOS 5 box:

make slx EXTRACFLAGS="-I/usr/include/openssl -fPIC"

and I've configured and compiled asterisk with the following:

./configure --with-imap=/usr/local/src/imap-2007

And now in "make menuselect" you have to go to voicemail options and set IMAP
support to on.

Quote:
Here's my voicemail.conf:

[general]
imapserver=localhost
imapfolder=Inbox
;pollmailboxes=yes
;pollfreq=30
imapflags=notls
authuser=asttest
expungeonhangup=yes
authpassword=whatever

I had to enable pollmailboxes in order to update MWI.

__Yehavi:
Back to top
sakodak at gmail.com
Guest





PostPosted: Thu Jan 17, 2008 8:55 am    Post subject: [asterisk-users] IMAP client in asterisk not trying to conta Reply with quote

On Thu, 17 Jan 2008 6:34 +0200, Yehavi Bourvine +972-8-9489444
<YEHAVI at vms.huji.ac.il> wrote:
Quote:
And now in "make menuselect" you have to go to voicemail options and set IMAP
support to on.

Thanks, if that was in any of the docs I just completely glossed over
it. I'll give it
a shot.

Thanks again,

--J(K)
Back to top
sakodak at gmail.com
Guest





PostPosted: Thu Jan 17, 2008 4:19 pm    Post subject: [asterisk-users] IMAP client in asterisk not trying to conta Reply with quote

On Jan 17, 2008 7:55 AM, KodaK <sakodak at gmail.com> wrote:
Quote:

Thanks, if that was in any of the docs I just completely glossed over
it. I'll give it
a shot.

Yes, I skipped over that in the docs. I'm good at that.

Thanks for the help.

I've also written up a quickie how-to on how to enable this on a
trixbox system. Don't know how helpful it is, but it's there.

http://www.trixbox.org/wiki/trixbox-imap

--J(K)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services