david … NICE!!!
I try what you say (with “|”)
[code]#!/usr/bin/php -q
<?php
set_time_limit(30);
require('phpagi.php');
$agi = new AGI();
$agi->answer();
$agi->exec("AGI","googletts.agi|\"Breve testo in italiano.\"|it");
$agi->exec("AGI","googletts.agi|\"hola... esto es una prueba\"|es");
$agi->hangup();
?>
[/code]
And surprise!!! It Works!!
[Jun 27 10:19:56] VERBOSE[17043] netsock.c: == Using SIP RTP TOS bits 184
[Jun 27 10:19:56] VERBOSE[17043] netsock.c: == Using SIP RTP CoS mark 5
[Jun 27 10:19:56] VERBOSE[14089] pbx.c: -- Executing [304@from-internal:1] Answer("SIP/390-0000019b", "") in new stack
[Jun 27 10:19:56] VERBOSE[14089] pbx.c: -- Executing [304@from-internal:2] Wait("SIP/390-0000019b", "2") in new stack
[Jun 27 10:19:58] VERBOSE[14089] pbx.c: -- Executing [304@from-internal:3] AGI("SIP/390-0000019b", "googletest3.php") in new stack
[Jun 27 10:19:58] VERBOSE[14089] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/googletest3.php
[Jun 27 10:19:58] VERBOSE[14089] res_agi.c: -- AGI Script Executing Application: (AGI) Options: (googletts.agi|Breve testo in italiano.|it)
[Jun 27 10:19:58] VERBOSE[14089] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
[Jun 27 10:19:58] VERBOSE[14089] res_agi.c: -- Playing '/tmp/f14dfa348f4918fe3b41ab462dd8b2d9' (escape_digits=) (sample_offset 0)
[Jun 27 10:20:01] VERBOSE[14089] res_agi.c: -- <SIP/390-0000019b>AGI Script googletts.agi completed, returning 0
[Jun 27 10:20:01] VERBOSE[14089] res_agi.c: -- AGI Script Executing Application: (AGI) Options: (googletts.agi|hola... esto es una prueba|es)
[Jun 27 10:20:01] VERBOSE[14089] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/googletts.agi
[Jun 27 10:20:01] VERBOSE[14089] res_agi.c: -- Playing '/tmp/6e8c09b9a9a14e65a2d8dc852b0e5aea' (escape_digits=) (sample_offset 0)
[Jun 27 10:20:02] VERBOSE[17034] asterisk.c: -- Remote UNIX connection
[Jun 27 10:20:02] VERBOSE[14100] asterisk.c: -- Remote UNIX connection disconnected
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [h@macro-dialout-trunk:1] Macro("Local/101@from-internal-f8f7;2", "hangupcall,") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("Local/101@from-internal-f8f7;2", "1?endmixmoncheck") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,9)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:9] NoOp("Local/101@from-internal-f8f7;2", "End of MIXMON check") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("Local/101@from-internal-f8f7;2", "1?nomeetmemon") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,15)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:15] NoOp("Local/101@from-internal-f8f7;2", "MEETME_RECORDINGFILE=") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:16] GotoIf("Local/101@from-internal-f8f7;2", "1?noautomon") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,18)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:18] NoOp("Local/101@from-internal-f8f7;2", "TOUCH_MONITOR_OUTPUT=") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:19] GotoIf("Local/101@from-internal-f8f7;2", "1?noautomon2") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,25)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:25] NoOp("Local/101@from-internal-f8f7;2", "MONITOR_FILENAME=") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:26] GotoIf("Local/101@from-internal-f8f7;2", "1?skiprg") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,29)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:29] GotoIf("Local/101@from-internal-f8f7;2", "1?skipblkvm") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,32)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:32] GotoIf("Local/101@from-internal-f8f7;2", "1?theend") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,34)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:34] Hangup("Local/101@from-internal-f8f7;2", "") in new stack
[Jun 27 10:20:04] VERBOSE[13952] app_macro.c: == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'Local/101@from-internal-f8f7;2' in macro 'hangupcall'
[Jun 27 10:20:04] VERBOSE[13952] features.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'Local/101@from-internal-f8f7;2'
[Jun 27 10:20:04] VERBOSE[13952] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'Local/101@from-internal-f8f7;2' in macro 'dialout-trunk'
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: == Spawn extension (from-internal, 101, 5) exited non-zero on 'Local/101@from-internal-f8f7;2'
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [h@from-internal:1] Macro("Local/101@from-internal-f8f7;2", "hangupcall") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("Local/101@from-internal-f8f7;2", "1?endmixmoncheck") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,9)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:9] NoOp("Local/101@from-internal-f8f7;2", "End of MIXMON check") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("Local/101@from-internal-f8f7;2", "1?nomeetmemon") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,15)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:15] NoOp("Local/101@from-internal-f8f7;2", "MEETME_RECORDINGFILE=") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:16] GotoIf("Local/101@from-internal-f8f7;2", "1?noautomon") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,18)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:18] NoOp("Local/101@from-internal-f8f7;2", "TOUCH_MONITOR_OUTPUT=") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:19] GotoIf("Local/101@from-internal-f8f7;2", "1?noautomon2") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,25)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:25] NoOp("Local/101@from-internal-f8f7;2", "MONITOR_FILENAME=") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:26] GotoIf("Local/101@from-internal-f8f7;2", "1?skiprg") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,29)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:29] GotoIf("Local/101@from-internal-f8f7;2", "1?skipblkvm") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,32)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:32] GotoIf("Local/101@from-internal-f8f7;2", "1?theend") in new stack
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Goto (macro-hangupcall,s,34)
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: -- Executing [s@macro-hangupcall:34] Hangup("Local/101@from-internal-f8f7;2", "") in new stack
[Jun 27 10:20:04] VERBOSE[13952] app_macro.c: == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'Local/101@from-internal-f8f7;2' in macro 'hangupcall'
[Jun 27 10:20:04] VERBOSE[13952] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/101@from-internal-f8f7;2'
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [h@ext-queues:1] Macro("SIP/192.168.69.3-00000197", "hangupcall,") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/192.168.69.3-00000197", "1?endmixmoncheck") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Goto (macro-hangupcall,s,9)
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:9] NoOp("SIP/192.168.69.3-00000197", "End of MIXMON check") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/192.168.69.3-00000197", "1?nomeetmemon") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Goto (macro-hangupcall,s,15)
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:15] NoOp("SIP/192.168.69.3-00000197", "MEETME_RECORDINGFILE=") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:16] GotoIf("SIP/192.168.69.3-00000197", "1?noautomon") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Goto (macro-hangupcall,s,18)
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:18] NoOp("SIP/192.168.69.3-00000197", "TOUCH_MONITOR_OUTPUT=") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:19] GotoIf("SIP/192.168.69.3-00000197", "0?noautomon2") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:20] System("SIP/192.168.69.3-00000197", "test -e /var/spool/asterisk/monitor/q351-20120627-101705-1340785017.799*") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:21] NoOp("SIP/192.168.69.3-00000197", "SYSTEMSTATUS = SUCCESS") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:22] GotoIf("SIP/192.168.69.3-00000197", "0?errornoautomon") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:23] Set("SIP/192.168.69.3-00000197", "CDR(userfield)=audio:/var/spool/asterisk/monitor/q351-20120627-101705-1340785017.799") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:24] NoOp("SIP/192.168.69.3-00000197", "End of MONITOR QUEUE check") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:25] NoOp("SIP/192.168.69.3-00000197", "MONITOR_FILENAME=/var/spool/asterisk/monitor/q351-20120627-101705-1340785017.799") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:26] GotoIf("SIP/192.168.69.3-00000197", "1?skiprg") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Goto (macro-hangupcall,s,29)
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:29] GotoIf("SIP/192.168.69.3-00000197", "0?skipblkvm") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:30] NoOp("SIP/192.168.69.3-00000197", "Cleaning Up Block VM Flag: BLKVM/351/SIP/192.168.69.3-00000197") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:31] NoOp("SIP/192.168.69.3-00000197", "Deleting: BLKVM/351/SIP/192.168.69.3-00000197 TRUE") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:32] GotoIf("SIP/192.168.69.3-00000197", "1?theend") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Goto (macro-hangupcall,s,34)
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:34] Hangup("SIP/192.168.69.3-00000197", "") in new stack
[Jun 27 10:20:04] VERBOSE[13951] app_macro.c: == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/192.168.69.3-00000197' in macro 'hangupcall'
[Jun 27 10:20:04] VERBOSE[13951] features.c: == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/192.168.69.3-00000197'
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: == Spawn extension (ext-queues, 351, 10) exited non-zero on 'SIP/192.168.69.3-00000197'
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [h@ext-queues:1] Macro("SIP/192.168.69.3-00000197", "hangupcall,") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/192.168.69.3-00000197", "1?endmixmoncheck") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Goto (macro-hangupcall,s,9)
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:9] NoOp("SIP/192.168.69.3-00000197", "End of MIXMON check") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/192.168.69.3-00000197", "1?nomeetmemon") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Goto (macro-hangupcall,s,15)
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:15] NoOp("SIP/192.168.69.3-00000197", "MEETME_RECORDINGFILE=") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:16] GotoIf("SIP/192.168.69.3-00000197", "1?noautomon") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Goto (macro-hangupcall,s,18)
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:18] NoOp("SIP/192.168.69.3-00000197", "TOUCH_MONITOR_OUTPUT=") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:19] GotoIf("SIP/192.168.69.3-00000197", "0?noautomon2") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:20] System("SIP/192.168.69.3-00000197", "test -e /var/spool/asterisk/monitor/q351-20120627-101705-1340785017.799*") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:21] NoOp("SIP/192.168.69.3-00000197", "SYSTEMSTATUS = SUCCESS") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:22] GotoIf("SIP/192.168.69.3-00000197", "0?errornoautomon") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:23] Set("SIP/192.168.69.3-00000197", "CDR(userfield)=audio:/var/spool/asterisk/monitor/q351-20120627-101705-1340785017.799") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:24] NoOp("SIP/192.168.69.3-00000197", "End of MONITOR QUEUE check") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:25] NoOp("SIP/192.168.69.3-00000197", "MONITOR_FILENAME=/var/spool/asterisk/monitor/q351-20120627-101705-1340785017.799") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:26] GotoIf("SIP/192.168.69.3-00000197", "1?skiprg") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Goto (macro-hangupcall,s,29)
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:29] GotoIf("SIP/192.168.69.3-00000197", "0?skipblkvm") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:30] NoOp("SIP/192.168.69.3-00000197", "Cleaning Up Block VM Flag: BLKVM/351/SIP/192.168.69.3-00000197") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:31] NoOp("SIP/192.168.69.3-00000197", "Deleting: BLKVM/351/SIP/192.168.69.3-00000197 ") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:32] GotoIf("SIP/192.168.69.3-00000197", "1?theend") in new stack
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Goto (macro-hangupcall,s,34)
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: -- Executing [s@macro-hangupcall:34] Hangup("SIP/192.168.69.3-00000197", "") in new stack
[Jun 27 10:20:04] VERBOSE[13951] app_macro.c: == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/192.168.69.3-00000197' in macro 'hangupcall'
[Jun 27 10:20:04] VERBOSE[13951] pbx.c: == Spawn extension (ext-queues, h, 1) exited non-zero on 'SIP/192.168.69.3-00000197'
[Jun 27 10:20:05] VERBOSE[14089] res_agi.c: -- <SIP/390-0000019b>AGI Script googletts.agi completed, returning 0
[Jun 27 10:20:05] VERBOSE[14089] res_agi.c: -- <SIP/390-0000019b>AGI Script googletest3.php completed, returning -1
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [h@from-internal:1] Macro("SIP/390-0000019b", "hangupcall") in new stack
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/390-0000019b", "1?endmixmoncheck") in new stack
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Goto (macro-hangupcall,s,9)
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [s@macro-hangupcall:9] NoOp("SIP/390-0000019b", "End of MIXMON check") in new stack
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/390-0000019b", "1?nomeetmemon") in new stack
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Goto (macro-hangupcall,s,15)
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [s@macro-hangupcall:15] NoOp("SIP/390-0000019b", "MEETME_RECORDINGFILE=") in new stack
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [s@macro-hangupcall:16] GotoIf("SIP/390-0000019b", "1?noautomon") in new stack
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Goto (macro-hangupcall,s,18)
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [s@macro-hangupcall:18] NoOp("SIP/390-0000019b", "TOUCH_MONITOR_OUTPUT=") in new stack
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [s@macro-hangupcall:19] GotoIf("SIP/390-0000019b", "1?noautomon2") in new stack
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Goto (macro-hangupcall,s,25)
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [s@macro-hangupcall:25] NoOp("SIP/390-0000019b", "MONITOR_FILENAME=") in new stack
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [s@macro-hangupcall:26] GotoIf("SIP/390-0000019b", "1?skiprg") in new stack
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Goto (macro-hangupcall,s,29)
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [s@macro-hangupcall:29] GotoIf("SIP/390-0000019b", "1?skipblkvm") in new stack
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Goto (macro-hangupcall,s,32)
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [s@macro-hangupcall:32] GotoIf("SIP/390-0000019b", "1?theend") in new stack
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Goto (macro-hangupcall,s,34)
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: -- Executing [s@macro-hangupcall:34] Hangup("SIP/390-0000019b", "") in new stack
[Jun 27 10:20:05] VERBOSE[14089] app_macro.c: == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/390-0000019b' in macro 'hangupcall'
[Jun 27 10:20:05] VERBOSE[14089] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/390-0000019b'
I don’t know why my AGI accept old delimeter … but this is.
Many thanks at navaismo and david … i can “mark this topic as SOLVED!!”
Thank you all for the precious help.
Mauro.