Displaying 7 results from an estimated 7 matches for "agi_arg_1".
2007 Sep 15
2
AGI/PHP: missing arguments
...actually see that the script is called
correctly (something like "DeadAGI(process.php|1234)"). However, when I read
stdin in the PHP script, I receive all AGI-environment variables
(agi_request, agi_callerid etc.) correctly, but I'm missing the actual
passed value (which should be in agi_arg_1 etc.). the last thing I get from
stdin is the environment-variable agi_accountcode, after this it seems to
stop.
what's really strange is, that the exact same script has been working
correctly on a different machine...
any suggestions highly appreciated, thx!
regards,
michael
--------------...
2016 Jan 06
2
No joy with my first AGI Python script
...I(/home/darcy/pyast,Hello world)
same => n,Hangup
What happens when I dial it is that the dialplan Verbose statement runs
but nothing else is logged and the number is not said. When I turn on
AGI debugging I get this:
... (a bunch of agi_ variables)
<SIP/darcy-0000000d>AGI Tx >> agi_arg_1: Hello world
<SIP/darcy-0000000d>AGI Tx >>
<SIP/darcy-0000000d>AGI Rx << SAY NUMBER 123 ""
<SIP/darcy-0000000d>AGI Tx >> 200 result=0
There is a delay between the last Rx and Tx suggesting that it thinks
that the numbers are being played but I don'...
2018 Jan 18
2
Handling a long-running agi on hangup-handler?
I know that hangup handlers (
https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers) have to finish
quickly.
So it's no surprise that my speech to text agi which takes 8 seconds gets
killed.
However, can anyone think of a way round this? So, once the caller has hung
up, I need to take one of the channel variables, and pass it to a python
agi script which then does speech to text.
2015 Mar 10
2
Regarding Text To Speech conversion
...tension: 1310
<SIP/1320-00000188>AGI Tx >> agi_priority: 1
<SIP/1320-00000188>AGI Tx >> agi_enhanced: 0.0
<SIP/1320-00000188>AGI Tx >> agi_accountcode:
<SIP/1320-00000188>AGI Tx >> agi_threadid: 139811462272768
<SIP/1320-00000188>AGI Tx >> agi_arg_1: Say something in English, when done
press the pound key.
<SIP/1320-00000188>AGI Tx >> agi_arg_2: en
<SIP/1320-00000188>AGI Tx >>
<SIP/1320-00000188>AGI Rx << CHANNEL STATUS
<SIP/1320-00000188>AGI Tx >> 200 result=6
<SIP/1320-00000188>AGI Rx <...
2013 Feb 20
2
exten => h,n,AGI(generateCall.php,${NEXT})
...0-010000000d>AGI Tx >> agi_priority: 2<Dongle/dongle0-010000000d>AGI Tx >> agi_enhanced: 0.0<Dongle/dongle0-010000000d>AGI Tx >> agi_accountcode:<Dongle/dongle0-010000000d>AGI Tx >> agi_threadid: 1129301104<Dongle/dongle0-010000000d>AGI Tx >> agi_arg_1: 1<Dongle/dongle0-010000000d>AGI Tx >><Dongle/dongle0-010000000d>AGI Rx << Could not open input file: 1<Dongle/dongle0-010000000d>AGI Tx >> 510 Invalid or unknown command -- <Dongle/dongle0-010000000d>AGI Script generateCall.php completed, returning 0[Fe...
2012 Feb 25
0
No IVR audio. Jump in RTP sequence number
...120
<SIP/STARMG1-000003c0>AGI Tx >> agi_priority: 1
<SIP/STARMG1-000003c0>AGI Tx >> agi_enhanced: 0.0
<SIP/STARMG1-000003c0>AGI Tx >> agi_accountcode:
<SIP/STARMG1-000003c0>AGI Tx >> agi_threadid: 1118284096
<SIP/STARMG1-000003c0>AGI Tx >> agi_arg_1: 6
<SIP/STARMG1-000003c0>AGI Tx >> agi_arg_2: voucher
<SIP/STARMG1-000003c0>AGI Tx >>
<SIP/STARMG1-000003c0>AGI Rx << GET VARIABLE IDCONF
<SIP/STARMG1-000003c0>AGI Tx >> 200 result=0
<SIP/STARMG1-000003c0>AGI Rx << ANSWER
Audio is at 5060...
2013 Apr 10
5
Setting a CDR field from using feature codes...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am trying to set the CDR(userfield) to a certain vaule using the
application map of features.conf but I am not able to do it. When I
receive a call I would like to tag it with a client code (3 digit
numeric) so I can referenci it later from the CDR. I have edited
features.conf with something like:
code => #111,self,SET(CDR(userfield(111))
or