Displaying 20 results from an estimated 23 matches for "escape_digit".
Did you mean:
escape_digits
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...
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?
For reasons best known to myself, I call a python agi (PYST2 - love
it!) which streams a series of very short files in quick succession.
Like this:
escape_digits = str("0")
agi.stream_file(promptFile,escape_digits)
and this is what I see on the AGI debug:
<Local/s at root-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"...
2007 Aug 02
1
A simple IVR extension problem
...oming:3] WaitExten("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 ...
2011 Jun 06
4
AGI STREAM FILE not working?
...ones:2] Set("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 nothi...
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 '...
2011 May 04
1
asterisk 1.4.35 to 1.4.41
...Goto (smvoice-dialout,smvoice_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]:...
2012 Feb 25
0
No IVR audio. Jump in RTP sequence number
...gt;> 200 result=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 &...
2009 Feb 03
2
some kind of timeout problem in pbx_spool.c
...23 currently running on devcentos5x64 (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...
2015 Mar 30
0
WaitForSilence NEVER detects silence,,Post
...h 5000ms silence >= 5000ms 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>A...
2015 Mar 30
0
WaitForSilence NEVER detects silence
...h 5000ms silence >= 5000ms 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>A...
2005 Jun 09
1
PHPAGI Swift Escape Digits
I am trying to use swift in PHP/AGI.
function swift($text, $escape_digits='', $frequency=8000, $voice=NULL,
$fnameIn='')
During swift speaking some text I want the caller to be able to press
1, 2 or 3 to do thing 1, thing 2 or thing 3.
How are these digit defines and then caught?
Thanks,
Michael
2009 Dec 01
1
"Dropping incompatible voice frame" error
...zen or so copies 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 wha...
2007 Sep 14
2
AGI script fails on IAX channels (from call file).
...anguage 'en')
-- <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/34...
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: Broke...
2007 Apr 19
1
Asterisk 1.4.2 connection to Nortel CS1000M -followup with log
...eplaces
User-Agent: Nortel CS1000 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 '1a17a38a73f5418d5b23c2ab2c...
2008 Oct 17
0
GET DATA Returning only a single digit
...Tx >> agi_rdnis: 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, 11...
2009 Jan 14
0
sched.c:220 ast_sched_add_variable: Scheduled event in 0 ms?
...hed AGI Script /var/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]: sc...
2009 Nov 26
0
AGI and Music on hold
...lplan:
exten => 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 h...
2010 Apr 13
0
ATA status intermittent
...1000:30000)f)
== 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-00000...
2008 Dec 05
2
async agi question
Hi,
I am developing asterisk support for our application using the Async AGI
and Asterisk-Java.
One thing I haven't been able to implement is how to stop playing a
sound. Something similar to StopIO for Dialogic GlobalCall or
DivaStopSending for Eicon.
Is there any way to achieve this today which I have missed? Or could
someone give me hints on how I could implement this in the res_agi.c The