Displaying 5 results from an estimated 5 matches for "ast_stopstream".
2009 Dec 30
2
Skype for Asterisk
...t;enter") in new stack
-- <Skype/rexesbposolutions-084159e8> Playing 'enter' (language
'en')
[Dec 29 17:27:14] WARNING[4997]: channel.c:3106 set_format: Unable to
find a codec translation path from 0x100 (g729) to 0x4 (ulaw)
[Dec 29 17:27:14] WARNING[4997]: file.c:147 ast_stopstream: Unable to
restore format back to 4
-- Executing [s at sky:2] Queue("Skype/rexesbposolutions-084159e8",
"markq|t|||900") in new stack
-- Started music on hold, class 'default', on
Skype/rexesbposolutions-084159e8
[Dec 29 17:27:14] WARNING[4997]: channel.c:3106 se...
2004 Jun 01
0
Record Application Problem
Hi everybody,
I am having a problem with * Record Application.
The thing is I don't want the "beep" before recording, so I removed the
instructions:
ast_streamfile(chan, "null", chan->language);
ast_waitstream(chan, "");
ast_stopstream(chan);
Now I am having a strange problem. After I record the sound, the recorded
file gets a
3 second of silence before the actual recorded sound.
Can anyone solve this?? I can workaround this by playing a silent sound file
of about
0.25s before start recording... but I would prefer to get the pr...
2004 Sep 20
0
Installation problem; collect2: ld returned 1 exit status
...9;
app.o(.text+0x2311): In function `ast_play_and_wait':
/usr/src/asterisk/app.c:494: undefined reference to `ast_streamfile'
app.o(.text+0x2334):/usr/src/asterisk/app.c:497: undefined reference to `ast_waitstream'
app.o(.text+0x233f):/usr/src/asterisk/app.c:498: undefined reference to `ast_stopstream'
asterisk.o(.text+0xcee): In function `main':
/usr/src/asterisk/asterisk.c:1836: undefined reference to `ast_file_init'
collect2: ld returned 1 exit status
make: *** [asterisk] Error 1
/ Stig Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http:...
2005 Aug 25
2
Custom Application For Asterisk
...connect(void)
{
if (tds) {
tds_free_socket(tds);
tds = NULL;
}
if (context) {
tds_free_context(context);
context = NULL;
}
if (login) {
tds_free_login(login);
login = NULL;
}
connected = 0;
return 0;
}
static int play_file(struct ast_channel *chan, char *filename)
{
int res;
ast_stopstream(chan);
res = ast_streamfile(chan, filename, chan->language);
if (!res)
res = ast_waitstream(chan, "");
else
res = 0;
if (res) {
ast_log(LOG_WARNING, "ast_streamfile failed on %s \n", chan->name);
res = 0;
}
ast_stopstream(chan);
return res;
}
int load_modul...
2004 Jul 13
1
codec issues between linphone and *
...4, while native formats is 512 (read/write = 4/2)
Jul 13 18:25:38 WARNING[311311]: file.c:538 ast_readaudio_callback: Failed to
write frame
Jul 13 18:25:38 NOTICE[311311]: channel.c:1478 ast_set_write_format: Unable to
find a path from ULAW to SPEEX
Jul 13 18:25:38 WARNING[311311]: file.c:171 ast_stopstream: Unable to restore
format back to 4
set_destination: Parsing <sip:aa@192.168.10.24> for address/port to send to
set_destination: set destination to 192.168.10.24, port 5060
Reliably Transmitting:
BYE sip:aa@192.168.10.24 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.20:5060;branch=z9hG4bK1b7c2ff1...