Dear Matt,
Ok ! i have updated everything now , but the status is the same.
I have not noticed one problem , when i am doing a manual transfer from the interface itself , the call is going on to sip channel and working perfect .
But when i am doing a transfer through API it is going on IAX channel .
Below is the log ..
XS-DIALER*CLI>
-- Executing Dial("SIP/SIPtrunk-09199a10", "IAX2/ASTloop:test@127.0.0.1:40569/990009*AGENTDIRECT**32**9953007925**neeraj**||to") in new stack
XS-DIALER*CLI>
-- Called ASTloop:test@127.0.0.1:40569/990009*AGENTDIRECT**32**9953007925**neeraj**
XS-DIALER*CLI>
-- Accepting AUTHENTICATED call from 127.0.0.1:
> requested format = alaw,
> requested prefs = (gsm),
> actual format = ulaw,
> host prefs = (ulaw),
> priority = mine
XS-DIALER*CLI>
-- Executing Answer("IAX2/ASTloop-5933", "") in new stack
XS-DIALER*CLI>
-- Executing AGI("IAX2/ASTloop-5933", "agi-VDAD_ALL_inbound.agi|CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1") in new stack
XS-DIALER*CLI>
-- Call accepted by 127.0.0.1 (format ulaw)
XS-DIALER*CLI>
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
XS-DIALER*CLI>
-- Format for call is ulaw
XS-DIALER*CLI>
AGI Tx >> agi_request: agi-VDAD_ALL_inbound.agi
XS-DIALER*CLI>
AGI Tx >> agi_channel: IAX2/ASTloop-5933
XS-DIALER*CLI>
AGI Tx >> agi_language: en
AGI Tx >> agi_type: IAX2
XS-DIALER*CLI>
AGI Tx >> agi_uniqueid: 1277486353.70
AGI Tx >> agi_callerid: 0000000000
XS-DIALER*CLI>
AGI Tx >> agi_calleridname: M0625131820000000032
AGI Tx >> agi_callingpres: 0
XS-DIALER*CLI>
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
XS-DIALER*CLI>
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
XS-DIALER*CLI>
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 990009*AGENTDIRECT**32**9953007925**neeraj**
XS-DIALER*CLI>
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
XS-DIALER*CLI>
AGI Tx >> agi_accountcode: ASTloop
AGI Tx >>
XS-DIALER*CLI>
-- IAX2/127.0.0.1:40569-1829 answered SIP/SIPtrunk-09199a10
XS-DIALER*CLI>
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... -53-----48 completed, returning 0
XS-DIALER*CLI>
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-e972,2'
-- Executing DeadAGI("Local/8600051@default-e972,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
AGI Tx >> agi_network_script: call_log--HVcauses--PRI-----NODEBUG-----0---------------
AGI Tx >> agi_request:
agi://127.0.0.1:4577/call_log--HVcauses ... ----------
AGI Tx >> agi_channel: Local/8600051@default-e972,2
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1277486300.66
AGI Tx >> agi_callerid: 0000000000
AGI Tx >> agi_calleridname: M0625131820000000032
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
XS-DIALER*CLI>
AGI Tx >> agi_accountcode:
AGI Tx >>
XS-DIALER*CLI>
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
XS-DIALER*CLI>
AGI Rx << SET CALLERID "J0625131913000000032 <9953007925>"
XS-DIALER*CLI>
AGI Tx >> 200 result=1
XS-DIALER*CLI>
AGI Rx << STREAM FILE sip-silence ""
XS-DIALER*CLI>
AGI Tx >> 200 result=0 endpos=160
XS-DIALER*CLI>
AGI Rx << STREAM FILE sip-silence ""
XS-DIALER*CLI>
AGI Tx >> 200 result=0 endpos=160
XS-DIALER*CLI>
AGI Rx << SET CALLERID "Y0625131913000000032 <0000000000>"
AGI Tx >> 200 result=1
XS-DIALER*CLI>
AGI Rx << CHANNEL STATUS IAX2/ASTloop-5933
AGI Tx >> 200 result=6
XS-DIALER*CLI>
AGI Rx << CHANNEL STATUS IAX2/ASTloop-5933
AGI Tx >> 200 result=6
XS-DIALER*CLI>
AGI Rx << CHANNEL STATUS IAX2/ASTloop-5933
AGI Tx >> 200 result=6
XS-DIALER*CLI>
AGI Rx << CHANNEL STATUS IAX2/ASTloop-5933
AGI Tx >> 200 result=6
XS-DIALER*CLI>
AGI Rx << CHANNEL STATUS IAX2/ASTloop-5933
AGI Tx >> 200 result=6
XS-DIALER*CLI>
AGI Rx << CHANNEL STATUS IAX2/ASTloop-5933
AGI Tx >> 200 result=6
XS-DIALER*CLI>
AGI Rx << CHANNEL STATUS IAX2/ASTloop-5933
AGI Tx >> 200 result=6
XS-DIALER*CLI>
AGI Rx << CHANNEL STATUS IAX2/ASTloop-5933
AGI Tx >> 200 result=6
XS-DIALER*CLI>
AGI Rx << CHANNEL STATUS IAX2/ASTloop-5933
AGI Tx >> 200 result=6
Do i have to pass something for SIP channel in API ..
Regards
Amit