Displaying 20 results from an estimated 23 matches for "sample_offset".
2010 Feb 12
1
Wierdness in AGI file
Here's part of the output of running an AGI file:
-- Playing 'degrees' (escape_digits=) (sample_offset 0)
-- Playing 'fahrenheit' (escape_digits=) (sample_offset 0)
-- Playing 'wx/humidity' (escape_digits=) (sample_offset 0)
-- <DAHDI/1-1> Playing 'digits/40.ulaw' (language 'en')
-- <DAHDI/1-1> Playing 'digits/9.ulaw' (language '...
2007 Aug 02
1
A simple IVR extension problem
...n("Zap/4-1", "20") in new stack
== CDR updated on Zap/4-1
-- Executing [107 at incoming:1] AGI("Zap/4-1", "math.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/math.agi
-- Playing 'math-game-welcome' (escape_digits=) (sample_offset 0)
-- Playing 'math-game-next' (escape_digits=) (sample_offset 0)
-- <Zap/4-1> Playing 'digits/17' (language 'en')
-- Playing 'add' (escape_digits=) (sample_offset 0)
-- <Zap/4-1> Playing 'digits/15' (language 'en')
--...
2014 Jul 31
0
AGI Record File / what does randomerror mean? res_agi.c / line 2377
...erisk-Version: 11.10.2
File: res/res_agi.c
Line: 2377
[...]
static int handle_recordfile(struct ast_channel *chan, AGI *agi, int
argc, const char * const argv[])
2304 {
2305 struct ast_filestream *fs;
2306 struct ast_frame *f;
2307 struct timeval start;
2308 long sample_offset = 0;
2309 int res = 0;
2310 int ms;
[...]
2365 /* backward compatibility, if no offset given, arg[6] would
have been
2366 * caught below and taken to be a beep, else if it is a
digit then it is a
2367 * offset */
2368 if ((argc >6) && (...
2011 Jun 06
4
AGI STREAM FILE not working?
...SIP/PBX-00000024",
"CHANNEL(language)=en_AU") in new stack
-- Executing [5150 at AllPhones:3] AGI("SIP/PBX-00000024", "testagi.sh") in
new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/testagi.sh
-- Playing 'welcome' (escape_digits=1) (sample_offset 0)
-- <SIP/PBX-00000024>AGI Script testagi.sh completed, returning 0
-- Executing [5150 at AllPhones:4] Hangup("SIP/PBX-00000024", "") in new
stack
== Spawn extension (AllPhones, 5150, 4) exited non-zero on
'SIP/PBX-00000024'
But nothing happens...as in...
2010 Jun 22
0
Endless loop with asterisk directory
Every so often, I have an asterisk 1.4.22-4 system that goes into an endless loop with the following:
[Jun 1 13:30:44] VERBOSE[13160] logger.c: -- Playing 'dir-nomatch' (escape_digits=) (sample_offset 0)
[Jun 1 13:30:44] WARNING[13160] file.c: Failed to write frame
[Jun 1 13:30:44] WARNING[13160] file.c: Failed to write frame
[Jun 1 13:30:44] VERBOSE[13160] logger.c: -- Playing 'dir-intro' (language 'en')
[Jun 1 13:30:45] VERBOSE[13160] logger.c: -- Playing 'dir-nomatch'...
2011 May 04
1
asterisk 1.4.35 to 1.4.41
...e_callprogress,3)
-- Executing [smvoice_callprogress at smvoice-dialout:3]
AGI("DAHDI/18-1", "smvoice) in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/smvoice
-- Playing '/home/silentm/record/please_press/one_to_call.'
(escape_digits=0123456789*#) (sample_offset 0)
[May 3 21:47:38] DTMF[21746]: channel.c:2368 __ast_read: DTMF end '1'
received on DAHDI/18-1, duration 0 ms
[May 3 21:47:38] DTMF[21746]: channel.c:2423 __ast_read: DTMF end
accepted without begin '1' on DAHDI/18-1
[May 3 21:47:38] DTMF[21746]: channel.c:2434 __ast_read: DTM...
2012 Feb 25
0
No IVR audio. Jump in RTP sequence number
...=0
<SIP/STARMG1-000003c0>AGI Rx << SET VARIABLE CHANNEL(language) "en"
<SIP/STARMG1-000003c0>AGI Tx >> 200 result=1
<SIP/STARMG1-000003c0>AGI Rx << STREAM FILE prepaid-you-have "#" 0
-- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
<SIP/STARMG1-000003c0>AGI Tx >> 200 result=0 endpos=9440
<SIP/STARMG1-000003c0>AGI Rx << SAY NUMBER 52 ""
-- <SIP/STARMG1-000003c0> Playing 'digits/50.gsm' (language 'en')
-- <SIP/STARMG1-000003c0> Playing 'digits/2.gsm...
2009 Feb 03
2
some kind of timeout problem in pbx_spool.c
...entos5x64 (pid = 28455)
devcentos5x64*CLI>
Verbosity was 0 and is now 5
[Kdevcentos5x64*CLI>
[Feb 3 17:14:36] WARNING[28468]: pbx_spool.c:466 scan_thread: Ooh, something changed / timeout
[Kdevcentos5x64*CLI>
-- Playing '/tmp/smvoice.28537_0' (escape_digits=0123456789#) (sample_offset 0)
?
[Kdevcentos5x64*CLI>
[Feb 3 17:14:37] WARNING[28468]: pbx_spool.c:461 scan_thread: atime: 1233699276, mtime: 1233699268, ctime: 1233699268 last: 1233699268 next: 1233699278 now: 1233699277
[Kdevcentos5x64*CLI>
[Feb 3 17:14:38] WARNING[28468]: pbx_spool.c:461 scan_thread: atime: 1233...
2016 Oct 10
2
AGI: How to break out of AGI when stream_file escape_digits are detected in middle of long sequence of files?
...-00000061;2>AGI Tx >> 200 result=0 endpos=6784
<Local/s at root-00000061;2>AGI Rx << STREAM FILE
/home/DefaultPrompts/en_GB/female/wx/low "0" 0
-- <Local/s at root-00000061;2> Playing
'/home/DefaultPrompts/en_GB/female/wx/low.alaw' (escape_digits=0)
(sample_offset 0) (language 'en_GB')
<Local/s at root-00000061;2>AGI Tx >> 200 result=48 endpos=1440
The FIRST line is a file that finished normally, with result=0, the
LAST line is a file that was interrupted, and receives result=48 from
asterisk.
Yes, zero stops the file playing, but it ju...
2015 Mar 30
0
WaitForSilence NEVER detects silence,,Post
...000ms required
> -- Exiting with 5000ms silence >= 5000ms required
> -- Executing [100 at makeCall:3] AGI("SIP/twilio-0000006e",
> "agi://127.0.0.1/playmessage,45") in new stack
> -- Playing '/var/nam/data/outgoing/60' (escape_digits=#)
> (sample_offset 0)
> > 0x7f2179cf7990 -- Probation passed - setting RTP source address
> to 54.172.61.251:18920
> -- Playing '/var/nam/data/tts/9eccb3f2ed77972157becdfbbac7232c'
> (escape_digits=1#) (sample_offset 0)
> -- <SIP/twilio-0000006e>AGI Script agi://127.0.0.1...
2015 Mar 30
0
WaitForSilence NEVER detects silence
...000ms required
> -- Exiting with 5000ms silence >= 5000ms required
> -- Executing [100 at makeCall:3] AGI("SIP/twilio-0000006e",
> "agi://127.0.0.1/playmessage,45") in new stack
> -- Playing '/var/nam/data/outgoing/60' (escape_digits=#)
> (sample_offset 0)
> > 0x7f2179cf7990 -- Probation passed - setting RTP source address
> to 54.172.61.251:18920
> -- Playing '/var/nam/data/tts/9eccb3f2ed77972157becdfbbac7232c'
> (escape_digits=1#) (sample_offset 0)
> -- <SIP/twilio-0000006e>AGI Script agi://127.0.0.1...
2009 Dec 01
1
"Dropping incompatible voice frame" error
...of:
[Nov 30 22:40:03] NOTICE[28300]: channel.c:2962 __ast_read: Dropping incompatible voice frame on SIP/151-b414f0c8 of format ulaw since our native format has changed to 0x2 (gsm)
and then it's fine:
-- Playing '/var/lib/asterisk/agi-bin/machine_darwin_prefix' (escape_digits=) (sample_offset 0)
-- AGI Script Executing Application: (Playback) Options: (/tmp/say_agi28305.2)
-- <SIP/151-b414f0c8> Playing '/tmp/say_agi28305.2.ulaw' (language 'en')
Searching for that error on the web produces stuff that looks
unrelated. Does anybody know what could be going o...
2007 Sep 14
2
AGI script fails on IAX channels (from call file).
...- <IAX2/3455-2> Playing 'digits/0' (language 'en')
-- <IAX2/3455-2> Playing 'digits/7' (language 'en')
AGI Tx >> 200 result=0
AGI Rx << STREAM FILE press-1 "0123456789"
-- Playing 'press-1' (escape_digits=0123456789) (sample_offset 0)
AGI Tx >> 200 result=0 endpos=7360
AGI Rx << STREAM FILE or "0123456789"
-- Playing 'or' (escape_digits=0123456789) (sample_offset 0)
AGI Tx >> 200 result=0 endpos=4480
AGI Rx << GET DATA press-2 15000 1
-- <IAX2/3455-2> Playing 'press-...
2010 Jun 11
1
WARNING message when play
When I use an eagi script when play a message appear a lot of warning
messages, but it play very well
I?m using
Asterisk 1.4.32
dahdi-linux-2.3.0.1
chan_ss7-1.4.1
Any ideas??
-- Playing 'ser002' (escape_digits=0123456789*#) (sample_offset 0)
[Jun 11 18:12:45] WARNING[15807]: file.c:1300 waitstream_core: write()
failed: Broken pipe
[Jun 11 18:12:45] WARNING[15807]: file.c:1300 waitstream_core: write()
failed: Broken pipe
[Jun 11 18:12:45] WARNING[15807]: file.c:1300 waitstream_core: write()
failed: Broken pipe
[Jun 11 18:12:45] WARNI...
2007 Jul 30
1
MeetMe through DeadAGI has changed to return -1 on Hangup
...quot;$Revision: 71656 $")
---
> ASTERISK_FILE_VERSION(__FILE__, "$Revision: 54771 $")
572c572,579
< ast_playstream(fs);
---
> res = ast_playstream(fs);
> if (res) {
> fdprintf(agi->fd, "200 result=%d endpos=%ld\n",
res, sample_offset);
> if (res >= 0)
> return RESULT_SHOWUSAGE;
> else
> return RESULT_FAILURE;
> }
625c632,639
< ast_playstream(fs);
---
> res = ast_playstream(fs);
> if (res) {
&g...
2007 Apr 19
1
Asterisk 1.4.2 connection to Nortel CS1000M -followup with log
...S1000 SIP GW release_4.0 version_sse-4.00.55
Allow: INVITE,ACK,BYE,REGISTER,REFER,NOTIFY,CANCEL,PRACK,OPTIONS,INFO,SUBSCRIBE,UPDATE
Content-Length: 0
<------------->
?--- (10 headers 0 lines) ---
?
[Khfemsrv*CLI>
-- Playing '/tmp/smvoice.19294_0' (escape_digits=0123456789#) (sample_offset 0)
?
[Khfemsrv*CLI> quit
-- Playing '/tmp/smvoice.19294_0' (escape_digits=0123456789#) (sample_offset 0)
?
[Khfemsrv*CLI> quit
[Apr 19 14:26:09] WARNING[18442]: chan_sip.c:2013 __sip_autodestruct: ?Autodestruct on dialog '1a17a38a73f5418d5b23c2ab2c2623a8@161.49.142.250' wi...
2008 Oct 17
0
GET DATA Returning only a single digit
...dnis: unknown
AGI Tx >> agi_context: outgoing
AGI Tx >> agi_extension: 111
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode: 1
AGI Tx >>
AGI Rx << STREAM FILE tt-monkeys 1
-- Playing 'tt-monkeys' (escape_digits=1) (sample_offset 0)
AGI Tx >> 200 result=49 endpos=31680
DIGIT PRESSED: 200 result=49 endpos=31680
AGI Rx << GET DATA tt-monkeys 10 4
-- <SIP/jane-09386dd0> Playing 'tt-monkeys' (language 'en')
AGI Tx >> 200 result=-1
== Spawn extension (outgoing, 111, 1) exited non-ze...
2009 Jan 14
0
sched.c:220 ast_sched_add_variable: Scheduled event in 0 ms?
...ar/lib/asterisk/agi-bin/talking-clock.agi
-- AGI Script Executing Application: (PlayTones) Options: (!523/20,!0/980,!523/20,!0/980,!523/20,!0/980,!523/20,!0/980,!523/20,!0/980,!523/20,!0/980,!523/20,!0/980,!523/20,!0/980,!415/1500)
-- Playing 'at-tone-time-exactly' (escape_digits=) (sample_offset 0)
[Jan 14 13:35:07] NOTICE[10271]: sched.c:220 ast_sched_add_variable: Scheduled event in 0 ms?
-- <Zap/5-1> Playing 'digits/1' (language 'en')
-- <Zap/5-1> Playing 'digits/30' (language 'en')
[Jan 14 13:35:08] NOTICE[10271]: sched.c:220 ast_sche...
2009 Nov 26
0
AGI and Music on hold
...t; 999900,1,DeadAGI(pq.agi,999950)
pq.agi then plays a prompt (which I hear just fine):
[Nov 26 02:42:47] VERBOSE[28721] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/pq.agi
[Nov 26 02:42:47] VERBOSE[28721] logger.c: -- Playing 'you-are-caller-num'
(escape_digits=) (sample_offset 0)
[Nov 26 02:42:48] VERBOSE[28721] logger.c: -- <IAX2/w2bdialplan-239>
Playing 'digits/2' (language 'en')
It then tries to put the caller on hold with the AGI command "SET MUSIC ON".
The AGI logs to syslog, and I see this:
Nov 26 02:42:49 hades pq.agi[28725]...
2010 Apr 13
0
ATA status intermittent
...== Using SIP RTP CoS mark 5
[Apr 6 18:35:25] WARNING[13210]: app_dial.c:1745 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
-- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)
-- <SIP/35419-00000172>AGI Script a2billing.php completed, returning -1
-- Executing [h at a2billing:1] NoOp("SIP/35419-00000172", "HANGUPCAUSE-> 20") in new stack
-- Executing [h at a2billing:2] Hangup("SIP/35419-00000172", "&q...