error with call_log agi

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

error with call_log agi

Postby kupak » Fri Apr 11, 2008 9:47 pm

First of all sorry my english is poor.

I have asterisk 1.2.27, astguiclient 2.0.4.1 rc1.

When i start a call from vicidial, there is an error in asterisk: Failed to execute '/var/lib/asterisk/agi-bin/AGI(agi://127.0.0.1:4577/call_log': No such file or directory

Here is my asterisk output:

-- Executing MeetMe("Local/8600051@default-0372,2", "8600051") in new stack
> Channel Local/8600051@default-0372,1 was answered.
-- Executing AGI("Local/8600051@default-0372,1", "AGI(agi://127.0.0.1:4577/call_log") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/AGI(agi://127.0.0.1:4577/call_log
Failed to execute '/var/lib/asterisk/agi-bin/AGI(agi://127.0.0.1:4577/call_log': No such file or directory
-- AGI Script AGI(agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/8600051@default-0372,1", "SIP/out-voipbuster01/003612587356)|55|tTo") in new stack
-- Called out-voipbuster01/003612587356)
-- SIP/out-voipbuster01-00703f40 is making progress passing it to Local/8600051@default-0372,1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/78600051@default-fe75,2", "8600051|q") in new stack
> Channel Local/78600051@default-fe75,1 was answered.
-- Executing Answer("Local/78600051@default-fe75,1", "") in new stack
-- Executing Monitor("Local/78600051@default-fe75,1", "wav|LEPESELO_1026_20080412-035620_12587356") in new stack
-- Executing Wait("Local/78600051@default-fe75,1", "3600") in new stack
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/out-voipbuster01-00703f40 answered Local/8600051@default-0372,1


screen -r output:

There are several suitable screens on:
3212.ASTsend (Detached)
3221.ASTVDremote (Detached)
3218.ASTVDauto (Detached)
6155.ASTfastlog (Detached)
3151.asterisk (Detached)
3209.ASTupdate (Detached)
3215.ASTlisten (Detached)
3119.ASTVDadapt (Detached)


How can i resolve this error?
kupak
 
Posts: 7
Joined: Fri Apr 11, 2008 9:35 pm

Postby kupak » Sat Apr 12, 2008 9:24 am

my /var/lib/asterisk/agi-bin dir:

-rwxr-xr-x 1 root root 2154 2008-04-12 02:54 agi-dtmf.agi
-rwxr-xr-x 1 root root 22377 2008-04-12 02:54 agi-IVR_recording_verification.agi
-rwxr-xr-x 1 root root 9068 2008-04-12 02:54 agi-record_prompts.agi
-rwxr-xr-x 1 root root 1742 2008-03-25 21:35 agi-test.agi
-rwxr-xr-x 1 root root 52916 2008-04-12 02:54 agi-VDAD_ALL_inbound.agi
-rwxr-xr-x 1 root root 21477 2008-04-12 02:54 agi-VDADautoREMINDER.agi
-rwxr-xr-x 1 root root 23991 2008-04-12 02:54 agi-VDADautoREMINDERxfer.agi
-rwxr-xr-x 1 root root 7459 2008-04-12 02:54 agi-VDADfixCXFER.agi
-rwxr-xr-x 1 root root 12204 2008-04-12 02:54 agi-VDADinbound_NI_DNC_CIDlookup.agi
-rwxr-xr-x 1 root root 28250 2008-04-12 02:54 agi-VDAD_LB_transfer.agi
-rwxr-xr-x 1 root root 8155 2008-04-12 02:54 agi-VDADlisten_DTMF.agi
-rwxr-xr-x 1 root root 34454 2008-04-12 02:54 agi-VDAD_LO_transfer.agi
-rwxr-xr-x 1 root root 6595 2008-04-12 02:54 agi-VDAD_pin_IVR.agi
-rwxr-xr-x 1 root root 4329 2008-04-12 02:54 agi-VDADselective_CID.agi
-rwxr-xr-x 1 root root 6016 2008-04-12 02:54 agi-VDADselective_CID_hangup.agi
-rwxr-xr-x 1 root root 27138 2008-04-12 02:54 agi-VDADtransfer.agi
-rwxr-xr-x 1 root root 21255 2008-04-12 02:54 agi-VDADtransferBROADCAST.agi
-rwxr-xr-x 1 root root 31904 2008-04-12 02:54 agi-VDADtransferSURVEY.agi
-rwxr-xr-x 1 root root 27401 2008-04-12 02:54 agi-VDADtransferTEST.agi
-rwxr-xr-x 1 root root 8590 2008-04-12 02:54 call_inbound.agi
-rwxr-xr-x 1 root root 2491 2008-04-12 02:54 debug_speak.agi
-rwxr-xr-x 1 root root 87227 2008-03-25 21:35 eagi-sphinx-test
-rwxr-xr-x 1 root root 61195 2008-03-25 21:35 eagi-test
-rwxr-xr-x 1 root root 2956 2008-04-12 02:54 invalid_speak.agi
-rwxr-xr-x 1 root root 6250 2008-04-12 02:54 park_CID.agi
-rwxr-xr-x 1 root root 14029 2008-04-12 02:54 VD_amd.agi
-rwxr-xr-x 1 root root 8779 2008-04-12 02:54 VD_amd_post.agi
-rwxr-xr-x 1 root root 10362 2008-04-12 02:54 VD_auto_post_VERIFY.agi
kupak
 
Posts: 7
Joined: Fri Apr 11, 2008 9:35 pm

Postby mflorell » Sat Apr 12, 2008 8:15 pm

I have no idea why that would show up. I haven't seen that happen before with a properly formatted FastAGI string in the dialplan. Can you post the exact AGI line that is being called in the extensions.conf file?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby kupak » Sat Apr 12, 2008 9:18 pm

I copyed these lines from scratch_install

exten => _91NXXNXXXXXX,1,AGI(AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${TRUNKIAX}/${EXTEN},55,o)
exten => _91NXXNXXXXXX,3,Hangup

I think it's wrong because it's contains "AGI(" twice.
kupak
 
Posts: 7
Joined: Fri Apr 11, 2008 9:35 pm

Postby mflorell » Sun Apr 13, 2008 2:35 pm

That's a pretty big error there, I'm surprised noone noticed it before. I have fixed it in SVN. Thank you very much for pointing it out.

AGI(AGI(agi

changes to:

AGI(agi
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 144 guests