is it true that AgentCallBackLogin cause deadlocks?
i try in trixbox_2.6.1-vmware (asterisk 1.4) on extension_custom:
exten => 28,n,AgentCallbackLogin(||${CALLERIDNUM}@from-internal)
and i got:
-- Executing [28@from-internal:1] ResetCDR("SIP/201-08294620", "") in new stack
-- Executing [28@from-internal:2] NoCDR("SIP/201-08294620", "") in new stack
-- Executing [28@from-internal:3] Wait("SIP/201-08294620", "1") in new stack
-- Executing [28@from-internal:4] Playback("SIP/201-08294620", "silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer") in new stack
-- <SIP/201-08294620> Playing 'silence/1' (language 'en')
-- <SIP/201-08294620> Playing 'cannot-complete-as-dialed' (language 'en')
-- <SIP/201-08294620> Playing 'check-number-dial-again' (language 'en')
-- Executing [28@from-internal:5] AgentCallbackLogin("SIP/201-08294620", "||@from-internal") in new stack
[Sep 25 09:44:31] WARNING[5070]: chan_agent.c:2312 callback_deprecated: AgentCallbackLogin is deprecated and will be removed in a future release.
[Sep 25 09:44:31] WARNING[5070]: chan_agent.c:2313 callback_deprecated: See doc/queues-with-callback-members.txt for an example of how to achieve
[Sep 25 09:44:31] WARNING[5070]: chan_agent.c:2314 callback_deprecated: the same functionality using only dialplan logic.
this result is on all 1.4 distributions? or only on trixbox?
my chan_agent.c version is:Revision: 114248
from this Revision AgentCallBackLogin is no longer exists?