Here is a snapshot of my config
[SIPtrunk]
type=friend
username=XXXX
secret=XXXX
host=XX.XX.XX.XX
dtmfmode=rfc2833
context=inbound
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
TESTSIPTRUNK2010 = SIP/SIPtrunk
exten => _.,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _.,2,Dial(${TESTSIPTRUNK2010}/${EXTEN:0},30,To)
exten => _.,3,Hangup
======================
my CLI
======================
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/8600051@default-f039,2", "8600051|F") in new stack
Feb 17 01:41:44 WARNING[4834]: channel.c:780 channel_find_locked: Avoided deadlock for '0x8213c88', 9 retries!
== Parsing '/etc/asterisk/meetme.conf': Found
> Channel Local/8600051@default-f039,1 was answered.
-- Executing AGI("Local/8600051@default-f039,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/8600051@default-f039,1", "SIP/SIPtrunk/10254968612|30|To") in new stack
-- Called SIPtrunk/10254968612
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
-- SIP/SIPtrunk-081f1d60 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("Local/8600051@default-f039,1", "") in new stack
== Spawn extension (default, 10254968612, 3) exited non-zero on 'Local/8600051@default-f039,1'
-- Executing DeadAGI("Local/8600051@default-f039,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----1-----CONGESTION----------") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Executing Dial("Local/8600051@default-f039,1", "SIP/SIPtrunk/h|30|To") in new stack
-- Called SIPtrunk/h
-- SIP/SIPtrunk-081f72a0 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("Local/8600051@default-f039,1", "") in new stack
== Spawn extension (default, h, 3) exited non-zero on 'Local/8600051@default-f039,1'
-- Hungup 'Zap/pseudo-163198566'
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-f039,2'
-- Executing DeadAGI("Local/8600051@default-f039,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Executing Dial("Local/8600051@default-f039,2", "SIP/SIPtrunk/h|30|To") in new stack
-- Called SIPtrunk/h
== Spawn extension (default, h, 2) exited non-zero on 'Local/8600051@default-f039,2'
== Manager 'sendcron' logged off from 127.0.0.1
================
after I change the extension part pr add 33
exten => 33+0|ZXXXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => 33+0|ZXXXXXXXX,2,Dial(${TESTSIPTRUNK2010}/${EXTEN:1},30,To)
exten => 33+0|ZXXXXXXXX,3,Hangup
but I still returned an error