Go Back   Wireless and Wifi Forums > News > Newsgroups > uk.telecom.voip
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-20-2006, 09:01 PM
Matt
Guest
 
Posts: n/a
Default Trixbox / Asterisk voicemail notification error

Hi,

Suddenly started having a problem with voicemail notifications.

All outgoing emails from asterisk are failing.

The error message I get is..

The original message was received at Wed, 20 Dec 2006 21:58:38 GMT
from xxxx.mine.nu [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<mrh@xxxxxx.com>
(reason: 501 5.1.7 Syntax error in mailbox address "asterisk@?"
(non-printable
character))

----- Transcript of session follows -----
.... while talking to xxxxxxx.com.:
>>> MAIL From:<asterisk@> SIZE=817

<<< 501 5.1.7 Syntax error in mailbox address "asterisk@?"
(non-printable character)
501 5.6.0 Data format error


Can anyone point me in the right direction to correct this?

Many thanks


Matthew


Reply With Quote
  #2 (permalink)  
Old 12-20-2006, 09:19 PM
Linker3000
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error

Matt wrote:
> Hi,
>
> Suddenly started having a problem with voicemail notifications.
>
> All outgoing emails from asterisk are failing.
>
> The error message I get is..
>
> The original message was received at Wed, 20 Dec 2006 21:58:38 GMT
> from xxxx.mine.nu [127.0.0.1]
>
> ----- The following addresses had permanent fatal errors -----
> <mrh@xxxxxx.com>
> (reason: 501 5.1.7 Syntax error in mailbox address "asterisk@?"
> (non-printable
> character))
>
> ----- Transcript of session follows -----
> ... while talking to xxxxxxx.com.:
>>>> MAIL From:<asterisk@> SIZE=817

> <<< 501 5.1.7 Syntax error in mailbox address "asterisk@?"
> (non-printable character)
> 501 5.6.0 Data format error
>
>
> Can anyone point me in the right direction to correct this?
>
> Many thanks
>
>
> Matthew
>

Have you tried the collective wisdom of the Trixbox forums?


Reply With Quote
  #3 (permalink)  
Old 12-21-2006, 10:41 PM
Matt
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error


> >

> Have you tried the collective wisdom of the Trixbox forums?


Afraid so, no response there!

Will keep trying!

Thanks


Matthew


Reply With Quote
  #4 (permalink)  
Old 12-23-2006, 05:36 PM
ale.cx
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error


Matt wrote:

> > >

> > Have you tried the collective wisdom of the Trixbox forums?

>
> Afraid so, no response there!
>
> Will keep trying!


tail -f /var/log/maillog, then leave yourself a voicemail, and see what
happens.

alexd


Reply With Quote
  #5 (permalink)  
Old 12-24-2006, 02:12 PM
Matt
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error


> tail -f /var/log/maillog, then leave yourself a voicemail, and see what
> happens.
>
> alexd


Thanks for the reply.

I've also checked that other users can send mail ok, its just Asterisk
that has problems!


Dec 24 15:05:54 emssrv03 sendmail[30906]: kBOF5qxn030906:
from=asterisk, size=17820, class=0, nrcpts=1,
msgid=<Asterisk-0-568293266-200-2862@emssrv03.local>,
relay=asterisk@localhost
Dec 24 15:05:55 emssrv03 sendmail[30907]: kBOF5sdg030907:
from=<asterisk@xxxxxx.mine.nu>, size=17949, class=0, nrcpts=1,
msgid=<Asterisk-0-568293266-200-2862@emssrv03.local>, proto=ESMTP,
daemon=MTA, relay=xxxxxx.mine.nu [127.0.0.1]
Dec 24 15:05:55 emssrv03 sendmail[30906]: kBOF5qxn030906: to=MRH Office
<mrh@xxxxxxxxxxx.co.uk>, ctladdr=asterisk (5060/502), delay=00:00:03,
xdelay=00:00:01, mailer=relay, pri=47820, relay=[127.0.0.1]
[127.0.0.1], dsn=2.0.0, stat=Sent (kBOF5sdg030907 Message accepted for
delivery)
Dec 24 15:06:01 emssrv03 sendmail[30909]: kBOF5sdg030907:
to=<mrh@xxxxxxxxxxx.co.uk>, ctladdr=<asterisk@xxxxxx.mine.nu>
(5060/502), delay=00:00:06, xdelay=00:00:06, mailer=esmtp, pri=137949,
relay=xxxxxxxxxxx.co.uk. [195.69.95.221], dsn=5.6.0, stat=Data format
error
Dec 24 15:06:01 emssrv03 sendmail[30909]: kBOF5sdg030907: forward
/var/lib/asterisk/.forward.austrey: Group writable directory
Dec 24 15:06:01 emssrv03 sendmail[30909]: kBOF5sdg030907: forward
/var/lib/asterisk/.forward: Group writable directory
Dec 24 15:06:01 emssrv03 sendmail[30909]: kBOF5sdg030907:
kBOF61dg030909: DSN: Data format error
Dec 24 15:06:01 emssrv03 sendmail[30909]: kBOF61dg030909:
to=<asterisk@xxxxxx.mine.nu>, delay=00:00:00, xdelay=00:00:00,
mailer=local, pri=49187, dsn=2.0.0, stat=Sent

Hope this helps!

Thanks again


Matthew


Reply With Quote
  #6 (permalink)  
Old 12-24-2006, 02:52 PM
Jono
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error

After serious thinking Matt wrote :
>> tail -f /var/log/maillog, then leave yourself a voicemail, and see what
>> happens.
>>
>> alexd

>
> Thanks for the reply.
>
> I've also checked that other users can send mail ok, its just Asterisk
> that has problems!
>
>
> Dec 24 15:05:54 emssrv03 sendmail[30906]: kBOF5qxn030906:
> from=asterisk, size=17820, class=0, nrcpts=1,
> msgid=<Asterisk-0-568293266-200-2862@emssrv03.local>,
> relay=asterisk@localhost
> Dec 24 15:05:55 emssrv03 sendmail[30907]: kBOF5sdg030907:
> from=<asterisk@xxxxxx.mine.nu>, size=17949, class=0, nrcpts=1,
> msgid=<Asterisk-0-568293266-200-2862@emssrv03.local>, proto=ESMTP,
> daemon=MTA, relay=xxxxxx.mine.nu [127.0.0.1]
> Dec 24 15:05:55 emssrv03 sendmail[30906]: kBOF5qxn030906: to=MRH Office
> <mrh@xxxxxxxxxxx.co.uk>, ctladdr=asterisk (5060/502), delay=00:00:03,
> xdelay=00:00:01, mailer=relay, pri=47820, relay=[127.0.0.1]
> [127.0.0.1], dsn=2.0.0, stat=Sent (kBOF5sdg030907 Message accepted for
> delivery)
> Dec 24 15:06:01 emssrv03 sendmail[30909]: kBOF5sdg030907:
> to=<mrh@xxxxxxxxxxx.co.uk>, ctladdr=<asterisk@xxxxxx.mine.nu>
> (5060/502), delay=00:00:06, xdelay=00:00:06, mailer=esmtp, pri=137949,
> relay=xxxxxxxxxxx.co.uk. [195.69.95.221], dsn=5.6.0, stat=Data format
> error
> Dec 24 15:06:01 emssrv03 sendmail[30909]: kBOF5sdg030907: forward
> /var/lib/asterisk/.forward.austrey: Group writable directory
> Dec 24 15:06:01 emssrv03 sendmail[30909]: kBOF5sdg030907: forward
> /var/lib/asterisk/.forward: Group writable directory
> Dec 24 15:06:01 emssrv03 sendmail[30909]: kBOF5sdg030907:
> kBOF61dg030909: DSN: Data format error
> Dec 24 15:06:01 emssrv03 sendmail[30909]: kBOF61dg030909:
> to=<asterisk@xxxxxx.mine.nu>, delay=00:00:00, xdelay=00:00:00,
> mailer=local, pri=49187, dsn=2.0.0, stat=Sent


I am far from an expert.....and do not understand the
above.....however, I have only experienced problems with Asterisk's
email when the hostname didn't match my fully qualified domeain or
DynDNS hostname.

To be sure, at a console, logged in as root, type:
hostname "matt.dydns.hostname" - then press enter.
(without the quotes & wth your /actual/ hostnam, of course)



Reply With Quote
  #7 (permalink)  
Old 12-24-2006, 03:38 PM
Matt
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error


> I am far from an expert.....and do not understand the
> above.....however, I have only experienced problems with Asterisk's
> email when the hostname didn't match my fully qualified domeain or
> DynDNS hostname.
>
> To be sure, at a console, logged in as root, type:
> hostname "matt.dydns.hostname" - then press enter.
> (without the quotes & wth your /actual/ hostnam, of course)


Cheers Jono,

host xxxx.mine.nu
xxxx.mine.nu has address 195.69.xx.xxx

where 195.69.xx.xxx is my external IP address.

Cheers

Matthew


Reply With Quote
  #8 (permalink)  
Old 12-25-2006, 07:17 AM
David Quinton
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error

On 20 Dec 2006 14:01:47 -0800, "Matt" <matthew.humphreys@gmail.com>
wrote:
I'm no expert, but have been following this thread with interest.
I've just re-read from the start...

[snip]
> ----- Transcript of session follows -----
>... while talking to xxxxxxx.com.:
>>>> MAIL From:<asterisk@> SIZE=817

><<< 501 5.1.7 Syntax error in mailbox address "asterisk@?"
>(non-printable character)
>501 5.6.0 Data format error


I've just spotted what looks like the culprit - it's displaying in
Agent as what looks like an emboldened pipe character after the
MAIL From:<asterisk@

Did you maybe edit your conf files on a Windows machine and upload
them to the linux box?
Or could a control character somehow have got into one of the conf
files (finger problem whilst using a Linux editor)?
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>

Reply With Quote
  #9 (permalink)  
Old 12-25-2006, 10:45 AM
Matt
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error


David Quinton wrote:

> On 20 Dec 2006 14:01:47 -0800, "Matt" <matthew.humphreys@gmail.com>
> wrote:
> I'm no expert, but have been following this thread with interest.
> I've just re-read from the start...
>
> [snip]
> > ----- Transcript of session follows -----
> >... while talking to xxxxxxx.com.:
> >>>> MAIL From:<asterisk@> SIZE=817

> ><<< 501 5.1.7 Syntax error in mailbox address "asterisk@?"
> >(non-printable character)
> >501 5.6.0 Data format error

>
> I've just spotted what looks like the culprit - it's displaying in
> Agent as what looks like an emboldened pipe character after the
> MAIL From:<asterisk@
>
> Did you maybe edit your conf files on a Windows machine and upload
> them to the linux box?
> Or could a control character somehow have got into one of the conf
> files (finger problem whilst using a Linux editor)?
> --


Cheers Dave,

All files edited via linux - but could have been finger trouble!

Any idea which file it may be????

Merry Christmas!


Reply With Quote
  #10 (permalink)  
Old 12-27-2006, 06:54 AM
David Quinton
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error

On 25 Dec 2006 03:45:37 -0800, "Matt" <matthew.humphreys@gmail.com>
wrote:

>Cheers Dave,
>
>All files edited via linux - but could have been finger trouble!
>
>Any idea which file it may be????


Don't get TOO excited - it's only a suggested reason!

In my (Debian, "normal" Asterisk) installation, the notification email
addresses are in voicemail.conf.
Lines like:-
2001 => 8383,Sidney Zweibel,box2001@xxxxxx.co.uk

My suspicion is that the "rogue character" might be after the "@".

HTH
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>

Reply With Quote
  #11 (permalink)  
Old 12-27-2006, 06:57 AM
David Quinton
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error

On 25 Dec 2006 03:45:37 -0800, "Matt" <matthew.humphreys@gmail.com>
wrote:

>Cheers Dave,


Amenment to my previous - sorry.
Just noticed it's the FROM (and not the TO) address that might be
suspect.
I think it gets the From from /etc/hostname
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>

Reply With Quote
  #12 (permalink)  
Old 12-27-2006, 08:25 AM
ale.cx
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error

On 27 Dec, 07:54, David Quinton
<usenet_2005D_em...@REMOVETHISBITbizorg.co.uk> wrote:

> In my (Debian, "normal" Asterisk) installation,


Don't forget that with a vanilla Debian installation, you have the
rather huge advantage of not using Sendmail ;-)

> the notification email addresses are in voicemail.conf.
> Lines like:-
> 2001 => 8383,Sidney Zweibel,box2...@xxxxxx.co.uk
>
> My suspicion is that the "rogue character" might be after the "@".


The trouble with FreePBX is that it butchers all the Asterisk config
files, so you may have some trouble finding what you're after, so 'grep
asterisk@ /etc/asterisk/*' might be handy. Also, if you go editing the
config files, some of them are rebuilt after you click the red bar when
making changes in the web interface.

alexd


Reply With Quote
  #13 (permalink)  
Old 12-27-2006, 10:54 AM
Jono
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error

ale.cx laid this down on his screen :
> Also, if you go editing the
> config files, some of them are rebuilt after you click the red bar when
> making changes in the web interface.


And even if you don't click the red bar, when you restart the machine.



Reply With Quote
  #14 (permalink)  
Old 12-27-2006, 02:45 PM
Matt
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error


> Amenment to my previous - sorry.
> Just noticed it's the FROM (and not the TO) address that might be
> suspect.
> I think it gets the From from /etc/hostname
> --


Cheers Dave,

Just recreated the hosts and hostname files with a different server
name, but it still gives the same error message - even after a reboot!

Thanks anyway!


Reply With Quote
  #15 (permalink)  
Old 12-30-2006, 07:47 AM
David Quinton
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error

On 27 Dec 2006 07:45:54 -0800, "Matt" <matthew.humphreys@gmail.com>
wrote:

>Just recreated the hosts and hostname files with a different server
>name, but it still gives the same error message - even after a reboot!


[previous caveats apply - "I am not an expert" etc. - just my brain's
meanderings...]

I think this might be annoying me nearly as much as it is you!
Let's try another tack..

I wonder what that character that my newsreader is displaying as Pipe
really is?
Maybe it's a Linefeed (Hex 0A) character?

IIRC MTAs use linefeeds to separate the various lines of email
headers.
So MAYBE you've actually got *NO* Hostname at all.
Sendmail expects there to be something in there, but there isn't - so
it b*ggers up the parsing?

I wonder if
<http://www.aussievoip.com/wiki/index.php?page=DM-VoicemailEmail>
relates at all?
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>

Reply With Quote
  #16 (permalink)  
Old 01-05-2007, 08:39 PM
Matt
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error


> I wonder if
> <http://www.aussievoip.com/wiki/index.php?page=DM-VoicemailEmail>
> relates at all?
> --


Cheers Dave.

Been through the example and recreated all my files as per the
instructions - exactly the same problem.

If i send and email from the box normally all is ok - so I guess the
zones and bits are ok. Its only when the voice mail module tries to
send an email....

This is driving me, and the users, mad!

Cheers


Matthew


Reply With Quote
  #17 (permalink)  
Old 01-06-2007, 07:07 AM
David Quinton
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error

On 5 Jan 2007 13:39:58 -0800, "Matt" <matthew.humphreys@gmail.com>
wrote:

>This is driving me, and the users, mad!


What MTA do you have on the box? Esndmail, Exim?
Maybe look at the logs.

(If it's any consolation, it's driving me mad too!)
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>

Reply With Quote
  #18 (permalink)  
Old 01-06-2007, 09:50 AM
Matt
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error


David Quinton wrote:

> On 5 Jan 2007 13:39:58 -0800, "Matt" <matthew.humphreys@gmail.com>
> wrote:
>
> >This is driving me, and the users, mad!

>
> What MTA do you have on the box? Esndmail, Exim?
> Maybe look at the logs.
>
> (If it's any consolation, it's driving me mad too!)
> --
> Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
> Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>


SendMail 8.13.1

The log shows...

Jan 5 14:40:42 asterisk1 sendmail[18613]: l05EebvR018613:
from=asterisk, size=609, class=0, nrcpts=1,
msgid=<Asterisk-0-40602870-211-2858@asterisk1.local>,
relay=asterisk@localhost
Jan 5 14:40:42 asterisk1 sendmail[18615]: l05EegRL018615:
from=<asterisk@xxxxxxx.mine.nu>, size=737, class=0, nrcpts=1,
msgid=<Asterisk-0-40602870-211-2858@asterisk1.local>, proto=ESMTP,
daemon=MTA, relay=localhost [127.0.0.1]
Jan 5 14:40:42 asterisk1 sendmail[18613]: l05EebvR018613:
to=Springbank <xxxxxx@xxx-web.com>, ctladdr=asterisk (5060/502),
delay=00:00:05, xdelay=00:00:00, mailer=relay, pri=30609,
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l05EegRL018615
Message accepted for delivery)
Jan 5 14:40:48 asterisk1 sendmail[18617]: l05EegRL018615:
to=<xxxxxxx@xxx-web.com>, ctladdr=<asterisk@xxxxxxx.mine.nu>
(5060/502), delay=00:00:06, xdelay=00:00:06, mailer=esmtp, pri=120737,
relay=one-web.com. [195.69.95.xxx], dsn=5.6.0, stat=Data format error
Jan 5 14:40:48 asterisk1 sendmail[18617]: l05EemRL018617:
to=<asterisk@xxxxxxx.mine.nu>, delay=00:00:00, xdelay=00:00:00,
mailer=local, pri=31972, dsn=2.0.0, stat=Sent


Does that help anyone?

My thoughts are that its still a typo in the asterisk config files.....
but I haven't a clue which one!

Cheers



Matthew


Reply With Quote
  #19 (permalink)  
Old 01-06-2007, 06:11 PM
Matt
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error RESOLVED!!

OK,

Managed to catch someone of the #freepbx irc channel.

After about 30 mins of checks and looking at files it was sorted....

Somehow, in the middle of the sendmail configuration file there was a
stray ascii character. We've no idea how it got there, but removing
and restarting sendmail proved successful!

Many thanks to all those who came up with possible solutions.

Cheers

Matthew


Reply With Quote
  #20 (permalink)  
Old 01-07-2007, 06:57 AM
David Quinton
Guest
 
Posts: n/a
Default Re: Trixbox / Asterisk voicemail notification error RESOLVED!!

On 6 Jan 2007 11:11:46 -0800, "Matt" <matthew.humphreys@gmail.com>
wrote:

[snip]
>stray ascii character. We've no idea how it got there, but removing
>and restarting sendmail proved successful!


I was SORT of right!
Glad you got it fixed...
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>

Reply With Quote
Reply

Thread Tools
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trixbox vs Asterisk Stephane M uk.telecom.voip 3 01-05-2007 09:45 AM
SE K800 Voicemail Notification Paul uk.telecom.mobile 0 11-13-2006 08:09 PM
Voicemail notification Douglas C. Neidermeyer alt.cellular.verizon 5 09-15-2006 05:23 PM
Asterisk and voicemail permission problem Tinus uk.telecom.voip 0 08-25-2006 02:47 PM
Long hard drive access times... Random Person alt.comp.hardware 13 08-02-2005 10:49 PM


All times are GMT. The time now is 11:40 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45