Posted: Thu Dec 02, 2004 9:51 am Post 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@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
Posted: Thu Dec 02, 2004 11:13 am Post subject: [Asterisk-bsd] NetBSD, Voicemail, Other errors...
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@adelson.org>
To: <asterisk-bsd@lists.digium.com>
Sent: Thursday, December 02, 2004 5:31 PM
Subject: [Asterisk-bsd] NetBSD, Voicemail, Other errors...
Quote:
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@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
Posted: Thu Dec 02, 2004 1:16 pm Post subject: [Asterisk-bsd] NetBSD, Voicemail, Other errors...
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:
Quote:
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@adelson.org>
To: <asterisk-bsd@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@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@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
Posted: Fri Dec 03, 2004 11:35 am Post subject: [Asterisk-bsd] NetBSD, Voicemail, Other errors...
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:
Quote:
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@adelson.org>
> To: <asterisk-bsd@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@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@lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-bsd
> >
>
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-bsd
Posted: Fri Dec 03, 2004 10:12 pm Post subject: [Asterisk-bsd] NetBSD, Voicemail, Other errors...
On 04/12/2004 03:34 Jay Adelson said the following:
Quote:
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.
aye, it was a BSD related thing. actually the patch you're using is only
for the english version and is a little incomplete. for completeness, we'd
need to patch the other language functions as well.
--
Regards, /\_/\ "All dogs go to heaven."
dinesh@alphaque.com (0 0) http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do |
| for b in clients employers associates relatives neighbours pets; do |
| echo "The opinions here in no way reflect the opinions of my $a $b." |
| done; done |
+=========================================================================+
Posted: Wed Dec 08, 2004 1:23 am Post subject: [Asterisk-bsd] NetBSD, Voicemail, Other errors...
On 04/12/2004 03:34 Jay Adelson said the following:
Quote:
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
this is a more complete patch which does the same for ast_say_number_full
in all languages. patch against asterisk stable (1.0.2).
--
Regards, /\_/\ "All dogs go to heaven."
dinesh@alphaque.com (0 0) http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do |
| for b in clients employers associates relatives neighbours pets; do |
| echo "The opinions here in no way reflect the opinions of my $a $b." |
| done; done |
+=========================================================================+
-------------- next part --------------
--- say.c.orig Wed Nov 3 06:40:11 2004
+++ say.c Wed Dec 8 17:18:44 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);
@@ -682,7 +682,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);
@@ -798,7 +798,7 @@
}
ast_stopstream(chan);
if(!ast_streamfile(chan, fna, language)) {
- if (audiofd && ctrlfd)
+ if (audiofd>-1 && ctrlfd>-1)
res = ast_waitstream_full(chan, ints, audiofd, ctrlfd);
else
res = ast_waitstream(chan, ints);
@@ -881,7 +881,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);
@@ -967,7 +967,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);
@@ -1113,7 +1113,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);
@@ -1183,7 +1183,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);
@@ -1238,7 +1238,7 @@
strcat(file_name, fn);
ast_log(LOG_DEBUG, "Trying to play: %s\n", file_name);
if (!ast_streamfile(chan, file_name, language)) {
- if (audiofd && ctrlfd)
+ if (audiofd>-1 && ctrlfd>-1)
ast_waitstream_full(chan, ints, audiofd, ctrlfd);
else
ast_waitstream(chan, ints);
@@ -1568,7 +1568,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);
}
@@ -1638,7 +1638,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);
@@ -1699,7 +1699,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);
@@ -1808,7 +1808,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);
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