[Asterisk-bsd] NetBSD, Voicemail, Other errors...
Jay Adelson
jay at adelson.org
Fri Dec 3 13:34:31 CST 2004
I managed to fix the voicemail problem. I searched some of the list
archives and found a patch from Dinesh Nair that stopped my NetBSD
from hanging up when it went to play the digits/1.
This is the patch...
-j
--- BEGIN PATCH ---
--- say.c.orig Wed Sep 29 17:01:53 2004
+++ say.c Wed Sep 29 16:55:15 2004
@@ -579,7 +579,7 @@
}
if (!res) {
if(!ast_streamfile(chan, fn, language)) {
- if (audiofd && ctrlfd)
+ if (audiofd>-1 && ctrlfd>-1)
res = ast_waitstream_full(chan,
ints, audiofd, ctrlfd);
else
res = ast_waitstream(chan,
ints);
--- END PATCH ---
On Thu, Dec 02, 2004 at 01:16:15PM -0800, Jay Adelson wrote:
> 1) By timing source, do you mean such as ztdummy? Right now I'm not
> using it, though I know someone close to making it work on 2.0 release.
>
> 2) I just updated, no change, I still get that "I should never be called"
> from iax2_read.
>
> 3) I get the "Received mini frame before first full voice frame" during
> actual calls, where I have one phone sitting behind a * box on the east
> coast hitting another phone on the west coast behind a second * box. The
> boxes are IAX2'd together....
>
> On Thu, Dec 02, 2004 at 07:13:39PM -0000, Chris Stenton wrote:
> > Not sure about 1.
> >
> > Looks like some sort of timeout while playing 1. What timing source are you
> > using?
> >
> > 2. I got this on FreeBSD but went away when I last updated to latest cvs
> > head.
> >
> > 3. same as 2.
> >
> > Chris
> >
> > ----- Original Message -----
> > From: "Jay Adelson" <jay at adelson.org>
> > To: <asterisk-bsd at lists.digium.com>
> > Sent: Thursday, December 02, 2004 5:31 PM
> > Subject: [Asterisk-bsd] NetBSD, Voicemail, Other errors...
> >
> >
> > >Hey folks...
> > >
> > >A few things.
> > >
> > >1) Does anyone have any insight why voicemail might hang up on you like
> > >this (when checking vm):
> > >
> > > -- Playing 'digits/1' (language 'en')
> > >Dec 2 08:58:26 WARNING[10663]: file.c:1058 ast_waitstream_full: Wait
> > >failed (No such file or directory)
> > > == Spawn extension (intern-post, 1111, 2) exited non-zero on
> > >'IAX2/blahpbx at blahpbx/4'
> > >
> > >2) I'm on NetBSD, release 2.0. When a call is placed into * via IAX2, I'm
> > >getting this when checking VM:
> > >
> > >Dec 2 08:58:25 NOTICE[10663]: chan_iax2.c:2426 iax2_read: I should never
> > >be called!
> > >
> > >
> > >3) I get this error also from time to time:
> > >
> > >Dec 2 08:15:00 WARNING[10663]: Received mini frame before first full
> > >voice frame
> > >
> > >Any thoughts?
> > >
> > >Thanks,
> > >
> > >-j
> > >_______________________________________________
> > >Asterisk-BSD mailing list
> > >Asterisk-BSD at lists.digium.com
> > >http://lists.digium.com/mailman/listinfo/asterisk-bsd
> > >
> >
> > _______________________________________________
> > Asterisk-BSD mailing list
> > Asterisk-BSD at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-bsd
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
More information about the Asterisk-BSD
mailing list