YES im using asterisk 1.4.22
1: sorry my poor english..
are you asking me if the call is success? iso.. yes indeed... check out what happen on asterisk ....
Executing [888@from-internal:1] Answer("SIP/110-b7609968", "") in new stack
-- Executing [888@from-internal:2] DeadAGI("SIP/110-b7609968", "queueDial.agi|110|sip/spa400/3139000|salidacola|Agent/1001") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/queueDial.agi
-- AGI Script Executing Application: (dial) Options: (sip/spa400/3139000||g)
-- Called spa400/3139000
-- SIP/spa400-0893b348 answered SIP/110-b7609968
-- AGI Script queueDial.agi completed, returning 0
-- Executing [h@from-internal:1] Macro("SIP/110-b7609968", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/110-b7609968", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/110-b7609968", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/110-b7609968", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/110-b7609968", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/110-b7609968", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/110-b7609968", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/110-b7609968' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/110-b7609968'
2: yes the call get logged into queue_log
1234989851|1234989851.399|salidacola|NONE|ENTERQUEUE|-|110
1234989851|1234989851.399|salidacola|Agent/1001|CONNECT|0|
1234989854|1234989851.399|salidacola|Agent/1001|CONNECT|3|
1234989856|1234989851.399|salidacola|Agent/1001|COMPLETEAGENT|3|2
1234990124|1234990124.403|salidacola|NONE|ENTERQUEUE|-|110
1234990124|1234990124.403|salidacola|Agent/1001|CONNECT|0|
1234990128|1234990124.403|salidacola|Agent/1001|CONNECT|4|
1234990136|1234990124.403|salidacola|Agent/1001|COMPLETEAGENT|4|8