AI Assistants Transfer Issues

Hello,

Does anyone know what CTO in the AI Assistant is RUN_RESULT=transfer,CTO,, We receive these results for any transfer request

    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:20] NoOp("PJSIP/6406_test-000043f0", "Record Status: SILENCE") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:21] GotoIf("PJSIP/6406_test-000043f0", "0?end-call") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:22] GotoIf("PJSIP/6406_test-000043f0", "0?operator") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:23] Set("PJSIP/6406_test-000043f0", "AI_DATA=thread_ci1PTwCg2y,msg_XcDIzPG5,run_1bLo3zP5AfS,Please transfer me to extension 6417.,") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:24] Playback("PJSIP/6406_test-000043f0", "wait-moment") in new stack
    -- <PJSIP/6406_test-000043f0> Playing 'wait-moment.ulaw' (language 'en')
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:25] Set("PJSIP/6406_test-000043f0", "ARRAY(THREAD_ID,MESSAGE_ID,RUN_ID,TRANSCRIPTION,QUESTION_ERROR)=thread_cikPTwCg2y,msg_XV0I6TIzPG5,run_1bLoDyAfS,Please transfer me to extension 6417.,") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:26] GotoIf("PJSIP/6406_test-000043f0", "1?start_run") in new stack
    -- Goto (app-ai-assistants,VIRT-ASSISTANT-3,32)
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:32] NoOp("PJSIP/6406_test-000043f0", "Asking to AI...") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:33] Set("PJSIP/6406_test-000043f0", "RUN_STATUS=queued") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:34] Set("PJSIP/6406_test-000043f0", "EMPTY_RUN=0") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:35] NoOp("PJSIP/6406_test-000043f0", "Transcription Result: Please transfer me to extension 6417.") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:36] While("PJSIP/6406_test-000043f0", "1") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:37] Set("PJSIP/6406_test-000043f0", "RUN_RESULT=in_progress,,,") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:38] Set("PJSIP/6406_test-000043f0", "ARRAY(RUN_STATUS,TRANSFER_DEST,AUDIO_RESPONSE,ERROR_MSG)=in_progress,,,") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:39] ExecIf("PJSIP/6406_test-000043f0", "0?Set(AI_HANGUP=yes):") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:40] ExecIf("PJSIP/6406_test-000043f0", "0?Set(EMPTY_RUN=1):") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:41] ExecIf("PJSIP/6406_test-000043f0", "0?Set(RUN_STATUS=failed):") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:42] EndWhile("PJSIP/6406_test-000043f0", "") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:36] While("PJSIP/6406_test-000043f0", "1") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:37] Set("PJSIP/6406_test-000043f0", "RUN_RESULT=transfer,CTO,,") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:38] Set("PJSIP/6406_test-000043f0", "ARRAY(RUN_STATUS,TRANSFER_DEST,AUDIO_RESPONSE,ERROR_MSG)=transfer,CTO,,") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:39] ExecIf("PJSIP/6406_test-000043f0", "0?Set(AI_HANGUP=yes):") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:40] ExecIf("PJSIP/6406_test-000043f0", "0?Set(EMPTY_RUN=1):") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:41] ExecIf("PJSIP/6406_test-000043f0", "0?Set(RUN_STATUS=failed):") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:42] EndWhile("PJSIP/6406_test-000043f0", "") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:36] While("PJSIP/6406_test-000043f0", "0") in new stack
    -- Executing [VIRT-ASSISTANT-3@app-ai-assistants:43] GotoIf("PJSIP/6406_test-000043f0", "1?operator") in new stack

Thank you

Because of that!

Sharing your AI config might help to determine what is happening.

When i use the ask question in the PBX GUI, it works.

After checking with the dev team, the AI only searches by the extensions’ name!

Thanks, confirmed it’s working by using the extension name

1 Like