Page 1 of 1

call menu

PostPosted: Mon Dec 02, 2013 10:45 am
by tresor
hi, i want to do the call menu i read the problem ibrahim47 and put this information for direct the inbound call to my IVR

Vicibox5.i686-5.0.3.iso|vicidial 2.8b0.5|build opensuse v.12.3 32 bit|Asterisk v1.8.23.0-vici|single server| No Digium/Sangoma Hardware | No Extra Software After Installation |Intel(R) Pentium|DUAL CPU E2220

i put it in the extensions.conf file
;inbound VICIDIAL calls:
#exten => 1234,1,Answer() ; Answer the line
#exten => 1234,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----PRIME-----8002277655-----Closer-----ac----------999-----1)
#exten => 1234,3,Hangup()

when i call the 1234 the system active directly the interface of agent it's not play my message for ask me to press 1 digits to activated

8002277655: is the DIDnumber.


my call menu

menuID: accueil

admin user group: standard

menu prompt: ac (this is my message ac.gsm)

menu Timeout: 10

track calls in real-timereport: 1-Realtime tracking

tracking group: callmenu

log key press: 1-dtmf logging enabled :(

option : 1 description: la reception Route: INGROUP

In-group:PRIME Handle Method: CID

Search Method: LB ListID: 999

Campaign ID: TEST-IT Phone Code: 1.

and in the INGROUP i put call menu to the did-route.


the response of system:

-- Executing [1234@default:1] Answer("SIP/104-00000005", "") in new stack
[Dec 2 17:00:46] -- Executing [1234@default:2] AGI("SIP/104-00000005", "agi-VDAD_ALL_inbound.agi,CID-----LB-----PRIME-----8002277655-----Closer-----ac----------999-----1") in new stack
[Dec 2 17:00:46] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Dec 2 17:00:46] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Dec 2 17:00:46] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Dec 2 17:00:46] == Manager 'sendcron' logged on from 127.0.0.1
[Dec 2 17:00:46] -- Executing [192*168*001*002*78600051@default:1] Goto("Local/192*168*001*002*78600051@default-00000003;2", "default,78600051,1") in new stack
[Dec 2 17:00:46] -- Goto (default,78600051,1)
[Dec 2 17:00:46] -- Executing [78600051@default:1] MeetMe("Local/192*168*001*002*78600051@default-00000003;2", "8600051,Fq") in new stack
[Dec 2 17:00:46] > Channel Local/192*168*001*002*78600051@default-00000003;1 was answered.
[Dec 2 17:00:46] -- Executing [83047777777777@vicidial-auto:1] Answer("Local/192*168*001*002*78600051@default-00000003;1", "") in new stack
[Dec 2 17:00:46] -- Executing [83047777777777@vicidial-auto:2] Playback("Local/192*168*001*002*78600051@default-00000003;1", "ding") in new stack
[Dec 2 17:00:46] -- <Local/192*168*001*002*78600051@default-00000003;1> Playing 'ding.gsm' (language 'en')
[Dec 2 17:00:46] -- Executing [83047777777777@vicidial-auto:3] Hangup("Local/192*168*001*002*78600051@default-00000003;1", "") in new stack
[Dec 2 17:00:46] == Spawn extension (vicidial-auto, 83047777777777, 3) exited non-zero on 'Local/192*168*001*002*78600051@default-00000003;1'
[Dec 2 17:00:46] -- Executing [h@vicidial-auto:1] DeadAGI("Local/192*168*001*002*78600051@default-00000003;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Dec 2 17:00:46] WARNING[4171]: res_agi.c:3930 deadagi_exec: DeadAGI has been deprecated, please use AGI in all cases!
[Dec 2 17:00:46] -- <Local/192*168*001*002*78600051@default-00000003;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Dec 2 17:00:46] == Spawn extension (default, 78600051, 1) exited non-zero on 'Local/192*168*001*002*78600051@default-00000003;2'
[Dec 2 17:00:46] -- Executing [h@default:1] AGI("Local/192*168*001*002*78600051@default-00000003;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Dec 2 17:00:46] -- <Local/192*168*001*002*78600051@default-00000003;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Dec 2 17:00:47] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Dec 2 17:00:47] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Dec 2 17:00:47] == Manager 'sendcron' logged off from 127.0.0.1
[Dec 2 17:00:48] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Dec 2 17:00:48] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Dec 2 17:00:48] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Dec 2 17:00:48] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Dec 2 17:00:48] -- <SIP/104-00000005>AGI Script agi-VDAD_ALL_inbound.agi completed, returning 0
[Dec 2 17:00:48] -- Executing [192*168*001*002*8600051@default:1] Goto("SIP/104-00000005", "default,8600051,1") in new stack
[Dec 2 17:00:48] -- Goto (default,8600051,1)

please i need help. :(

Re: call menu

PostPosted: Tue Dec 03, 2013 11:58 am
by tresor
hi all of members.

i can do that eliasferreyra said in 2010 but it's not work that is:

[default]
exten => 1234,1,Goto(SALESLINE,s,1)

[SALESLINE]
exten => s,1,AGI(agi-VDAD_inbound_calltime_check.agi,SALESLINE-----YES-----START)
exten => s,2,Answer
exten => s,3,Background(anounce)
exten => s,n,WaitExten(10)
exten => s,n,Background(anounce)
exten => s,n,WaitExten(10)
exten => s,n,Playback(vm-goodbye)
exten => s,n,hangup

exten => 1,1,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUP-----LB-----Group1-----8004667123-----Closer-----park----------999-----1-----OUTB)
exten => 1,n,Hangup

exten => 2,1,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUP-----LB-----Group2-----8004667123-----Closer-----park----------999-----1-----OUTB)
exten => 2,n,Hangup

exten => 3,1,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUP-----LB-----Grouop3-----8004667123-----Closer-----park----------999-----1-----OUTB)
exten => 3,n,Hangup

exten => 4,1,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUP-----LB-----Group4-----8004667123-----Closer-----park----------999-----1-----OUTB)
exten => 4,n,Hangup

exten => #,1,Goto(s,2)
exten => i,1,Goto(s,2)
exten => t,1,Goto(s,2)
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

and when the agent want to connect to his interface the system refuse and choose this:

Starting SIP/103-00000001 at default,8600051,1 failed so falling back to exten 's'
[Dec 3 16:34:07] == Starting SIP/103-00000001 at default,s,1 still failed so falling back to context 'default'
[Dec 3 16:34:07] WARNING[2672]: pbx.c:5363 __ast_pbx_run: Channel 'SIP/103-0000 0001' sent into invalid extension 's' in context 'default', but no invalid handl er
[Dec 3 16:34:07] -- Executing [h@default:1] DeadAGI("SIP/103-00000001", "ag i://127.0.0.1:4577/call_log--HVcauses-- ... ----------") i n new stack
[Dec 3 16:34:07] WARNING[2672]: res_agi.c:3930 deadagi_exec: DeadAGI has been d eprecated, please use AGI in all cases!
[Dec 3 16:34:07] -- <SIP/103-00000001>AGI Script agi://127.0.0.1:4577/call_ log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0

please i wait your answer.

Re: call menu

PostPosted: Wed Dec 04, 2013 12:29 am
by covarrubiasgg
Im confused on what you are trying to do.

If what you want is a Call Menu for your inbound calls you should use:

Inound => Add a New Call Menu

read the help options to get information about how to use it.

Then, create a new DID

Inouund => Add a New DID

and select DID Route CallMenu and under the CallMenu Option choose the Call Menu you created on the previous step.


if you want to test the Call Menu you just create, assign a Phone to context trunkinbound, register with a softphone and dial the DID you create before.


Please consider that you will need to upload the audio files to the audio store and that files MUST be on PCM 16 bits WAV at 8000 Mhz to be propperly played by asterisk.


and please, dont refer to other threads without more context, what if i reply to you:

"Oh yes, BigBoy007 said how to solve what you ask..." without proving a link or any additional information.....

Re: call menu

PostPosted: Wed Dec 04, 2013 12:35 am
by williamconley
Call menus do not require modifications of any configuration files. The Vicidial system has grown up and no longer requires direct access to the CLI for Call menus or Carriers or Inbound calls.

Read the Vicidial Manager's Manual available at EFLO.net

Read the entire thing. And then perform ALL the exercises in it from beginning to end. Don't skip anything. That will get you a functional system with all the major/necessary functionality you want.

Whenever you believe you need to modify a ".conf" file, bring your idea here first and we'll tell you which feature in Vicidial will make it possible to do in the Web Interface instead. 8-)

Re: call menu

PostPosted: Wed Dec 04, 2013 7:35 am
by tresor
thank you for your answer but i modify the extensions .conf file and put this:
exten => 18002277655,1,Goto(SALESLINE,s,1)

[SALESLINE]
exten => s,1,AGI(agi-VDAD_inbound_calltime_check.agi,SALESLINE-----YES-----START)
exten => s,2,Answer
exten => s,3,Background(anounce)
exten => s,n,WaitExten(10)
exten => s,n,Background(anounce)
exten => s,n,WaitExten(10)
exten => s,n,Playback(vm-goodbye)
exten => s,n,hangup

exten => 1,1,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUP-----LB-----Group1-----8002277655-----Closer-----park----------999-----1-----OUTB)
exten => 1,n,Hangup

exten => 2,1,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUP-----LB-----Group2-----8002277655-----Closer-----park----------999-----1-----OUTB)
exten => 2,n,Hangup

exten => 3,1,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUP-----LB-----Grouop3-----8002277655-----Closer-----park----------999-----1-----OUTB)
exten => 3,n,Hangup

exten => 4,1,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUP-----LB-----Group4-----8002277655-----Closer-----park----------999-----1-----OUTB)
exten => 4,n,Hangup

exten => #,1,Goto(s,2)
exten => i,1,Goto(s,2)
exten => t,1,Goto(s,2)
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

then work it's very important to put this is the end of default context if you put at the beginning the agent can't access to his interface.
thank you everybody .
see you next

Re: call menu

PostPosted: Wed Dec 04, 2013 1:18 pm
by tresor
hi, williamconley i have the new problem.
my last call menu work but when i try to create one menu who the caller have the choice of language and when he press 1 or 2 the system start the second menu and when he press 1 the second time the system call agent by interface. i create the menu of language and direct it to the second menu of GUI and when i call the 18002277655 the system play the second menu not the menu of language .
please help me to modify my last post configuration to start the call with the language and when i press 1 to go to the second call menu and i press the second time 1 to go an agent
thank you for your answer

Re: call menu

PostPosted: Wed Dec 04, 2013 7:56 pm
by williamconley
I'd love to help you, but you have just begun building a whole new PBX system and then asked for help building it outside Vicidial. I offer free support for Vicidial here and have a limited time to do so. Stepping outside vicidial's built-in apparatus to perform a task easily accomplished in Vicidial ... then having a problem because it doesn't work as expected ... well, I'd have to advise you to just go back to doing it in Vicidial and bet you that it would work. LOL

Besides, if the call never arrives at this dialplan ... modifying this dialplan is not likely to affect the call, is it?

Re: call menu

PostPosted: Thu Dec 05, 2013 11:41 am
by tresor
hi, williamconley
I do not use any more a pbx I am entirely on vicidial I have to configure a first call menu and a second and inside I have to configure only when caller it press 1 its starts the second call menu and according to its choice activates the interface agent.¶
¶for the test I have two telephones to configure on vicidial ¶one is agent and the second is the caller. i configure to the web interface administrator but it is not work i know that i going to modify my extensions.conf file but i don't know how?
thanks for help