Posted: Tue Jan 04, 2005 6:42 am Post subject: [Asterisk-bsd] NetBSD and VM
Hey folks,
I continue to have weird hangups during voicemail, all resulting from
playback issues on NetBSD.
Orignally, when asterisk tried to play the digit "1," it would hangup
the call.
It used to fail in file.c as the Wait fails with ast_waitstream_full. I
applied a patch and things seemed to work fine.
Now, I happened to get a voicemail that required the digit "20." I
verified that the file is there in /var/lib/asterisk/sounds/digits, and
that the gsm file is not corrupt.
Any thoughts?
Here's the output:
-- Playing 'vm-messages' (language 'en')
-- Playing 'vm-onefor' (language 'en')
-- Playing 'vm-INBOX' (language 'en')
-- Playing 'vm-messages' (language 'en')
-- Playing 'vm-first' (language 'en')
-- Playing 'vm-message' (language 'en')
== Parsing '/var/spool/asterisk/voicemail/default/1000/INBOX/msg0000.txt': Found
-- Playing 'vm-received' (language 'en')
-- Playing 'digits/day-3' (language 'en')
-- Playing 'digits/mon-11' (language 'en')
-- Playing 'digits/20' (language 'en')
Jan 4 06:09:45 WARNING[24444]: file.c:1058 ast_waitstream_full: Wait failed (No such file or directory)
== Spawn extension (intern-post, 1111, 2) exited non-zero on 'IAX2/blah@blah/3'
Posted: Tue Jan 04, 2005 7:47 am Post subject: [Asterisk-bsd] NetBSD and VM
I have the same problems on FreeBSD 5.3 and cvs-current.
I have * mapped to voicemail that passes password, and
it will hang up nearly every time, but calling 8500 entering
password manually, lets me retrieve my messages.
Bill
On Jan 4, 2005, at 8:42 AM, Jay Adelson wrote:
Quote:
Hey folks,
I continue to have weird hangups during voicemail, all resulting from
playback issues on NetBSD.
Orignally, when asterisk tried to play the digit "1," it would hangup
the call.
It used to fail in file.c as the Wait fails with ast_waitstream_full.
I
applied a patch and things seemed to work fine.
Now, I happened to get a voicemail that required the digit "20." I
verified that the file is there in /var/lib/asterisk/sounds/digits, and
that the gsm file is not corrupt.
Any thoughts?
Here's the output:
-- Playing 'vm-messages' (language 'en')
-- Playing 'vm-onefor' (language 'en')
-- Playing 'vm-INBOX' (language 'en')
-- Playing 'vm-messages' (language 'en')
-- Playing 'vm-first' (language 'en')
-- Playing 'vm-message' (language 'en')
== Parsing
'/var/spool/asterisk/voicemail/default/1000/INBOX/msg0000.txt': Found
-- Playing 'vm-received' (language 'en')
-- Playing 'digits/day-3' (language 'en')
-- Playing 'digits/mon-11' (language 'en')
-- Playing 'digits/20' (language 'en')
Jan 4 06:09:45 WARNING[24444]: file.c:1058 ast_waitstream_full: Wait
failed (No such file or directory)
== Spawn extension (intern-post, 1111, 2) exited non-zero on
'IAX2/blah@blah/3'
Posted: Tue Jan 04, 2005 8:07 am Post subject: [Asterisk-bsd] NetBSD and VM
I feel that this must be related to ast_waitstream again. Why it used
to do this with a single digit and now fails with longer ones I can't
imagine.
Here is the patch that fixed the original problem, perhaps I missed
something. What follows is the "complete patch" from Dinesh in all languages.
Still, something still isn't working right...
-Jay
--- 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 ---
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 |
+=========================================================================+
On Tue, Jan 04, 2005 at 09:47:18AM -0600, Bill Harris wrote:
Quote:
I have the same problems on FreeBSD 5.3 and cvs-current.
I have * mapped to voicemail that passes password, and
it will hang up nearly every time, but calling 8500 entering
password manually, lets me retrieve my messages.
Bill
On Jan 4, 2005, at 8:42 AM, Jay Adelson wrote:
>Hey folks,
>
>I continue to have weird hangups during voicemail, all resulting from
>playback issues on NetBSD.
>
>Orignally, when asterisk tried to play the digit "1," it would hangup
>the call.
>
>It used to fail in file.c as the Wait fails with ast_waitstream_full.
>I
>applied a patch and things seemed to work fine.
>
>Now, I happened to get a voicemail that required the digit "20." I
>verified that the file is there in /var/lib/asterisk/sounds/digits, and
>that the gsm file is not corrupt.
>
>Any thoughts?
>
>Here's the output:
>
> -- Playing 'vm-messages' (language 'en')
> -- Playing 'vm-onefor' (language 'en')
> -- Playing 'vm-INBOX' (language 'en')
> -- Playing 'vm-messages' (language 'en')
> -- Playing 'vm-first' (language 'en')
> -- Playing 'vm-message' (language 'en')
> == Parsing
>'/var/spool/asterisk/voicemail/default/1000/INBOX/msg0000.txt': Found
> -- Playing 'vm-received' (language 'en')
> -- Playing 'digits/day-3' (language 'en')
> -- Playing 'digits/mon-11' (language 'en')
> -- Playing 'digits/20' (language 'en')
>Jan 4 06:09:45 WARNING[24444]: file.c:1058 ast_waitstream_full: Wait
>failed (No such file or directory)
> == Spawn extension (intern-post, 1111, 2) exited non-zero on
>'IAX2/blah@blah/3'
>
>Thanks,
>
>-Jay
>_______________________________________________
>Asterisk-BSD mailing list
>Asterisk-BSD@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
------------------------------------------------------------------------
---------------------------
Bill Harris
Director of Technology
Royse City ISD Royse City,
Texas
(972)-636-9991 x1000
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