Thanks for each reply, i've tried to follow all the steps, but i noticed i had astguiclient 2.0.1 and it doesn't come with the FastAGI and some of the PLs of the 2.0.3 version, so i started from cero again, i though it was something related to my CENTOS.
So, now i have Slackware 12, astguiclient 2.0.3 and asterisk 1.2.17. and using an SIPDISCOUNT account for calling outside, so i have to use ztdummy to make it work,
I made sure of that i was following the steps correctly.
But the same problem appears,
here what happens:
1. i place ADAPT_HARD_LIMIT in campain
2. i go to agent side and anwer the phone,
3. click resume
4. phone outside rings
5. person autside answer and it hangs up automaticallyin few seconds,
6. the agent can't hear anything all the time.
it does wok OK in MANUAL mode.
here i add the CLI when this happens:
MANUAL way(works):
= Manager 'sendcron' logged on from 127.0.0.1
> Channel SIP/2001-081ce4c8 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing MeetMe("SIP/2001-081ce4c8", "8600051") in new stack
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/8600051@default-8532,2", "8600051") in new stack
> Channel Local/8600051@default-8532,1 was answered.
-- Executing AGI("Local/8600051@default-8532,1", "call_log.agi|005114476429") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing Dial("Local/8600051@default-8532,1", "SIP/sipdiscount/005114476429") in new stack
-- Called sipdiscount/005114476429
-- SIP/sipdiscount-081d9338 is making progress passing it to Local/8600051@default-8532,1
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/sipdiscount-081d9338 answered Local/8600051@default-8532,1
== Spawn extension (default, 005114476429, 2) exited non-zero on 'Local/8600051@default-8532,1'
-- Executing DeadAGI("Local/8600051@default-8532,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 DeadAGI("Local/8600051@default-8532,1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----40-----25)") in new stack
-- AGI Script
agi://127.0.0.1:4577/VD_hangup--HVcause ... -40-----25) completed, returning 0
AUTOMATIC (doesnt work)
> Channel SIP/2001-081d9338 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing MeetMe("SIP/2001-081d9338", "8600051") in new stack
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/005114476429@default-a1b1,2", "call_log.agi|005114476429") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing Dial("Local/005114476429@default-a1b1,2", "SIP/sipdiscount/005114476429") in new stack
-- Called sipdiscount/005114476429
-- SIP/sipdiscount-081df488 is making progress passing it to Local/005114476429@default-a1b1,2
-- SIP/sipdiscount-081df488 answered Local/005114476429@default-a1b1,2
> Channel Local/005114476429@default-a1b1,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing AGI("Local/005114476429@default-a1b1,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 AGI("Local/005114476429@default-a1b1,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/005114476429@default-a1b1,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/005114476429@default-a1b1,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing Hangup("Local/005114476429@default-a1b1,1", "") in new stack
== Spawn extension (default, 8365, 5) exited non-zero on 'Local/005114476429@default-a1b1,1'
-- Executing DeadAGI("Local/005114476429@default-a1b1,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 DeadAGI("Local/005114476429@default-a1b1,1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script
agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, 005114476429, 2) exited non-zero on 'Local/005114476429@default-a1b1,2'
-- Executing DeadAGI("Local/005114476429@default-a1b1,2", "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 DeadAGI("Local/005114476429@default-a1b1,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----17-----2)") in new stack
-- AGI Script
agi://127.0.0.1:4577/VD_hangup--HVcause ... --17-----2) completed, returning 0
i dont know if its something related with my sip discount account,
I have read the agi-VDADtransfer.agi
it says that it hangs up automatically if no agent is available in 10 seconds,
so i wonder, why isn't this AGI founding my agent?.
Thanks a lot,
Nico