survey to call menu, calls hangup immedietly when answered

All installation and configuration problems and questions

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

survey to call menu, calls hangup immedietly when answered

Postby vijaymuddu » Fri Sep 28, 2018 5:40 am

When I select Survey Method to call menu and set call menu, calls hang up in 1 sec when answered
no audio is played set on Menu Prompt:

tried to change audio file etc but no luck
Routing Extension is set to 8366 in campaign

dialplan for 8366 is as below
exten => 8366,1,Playback(sip-silence)
exten => 8366,n,Set(CALLERID(all)=${Missing_CLID1})
exten => 8366,n,AGI(agi://127.0.0.1:4577/call_log)
exten => 8366,n,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8366,n,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8366,n,Hangup()

Below is the asterisk output
cli output
Code: Select all
Executing [38008424017858@default:1] AGI("Local/38008424017858@default-000010a6;2", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=IVRBULK))
    -- <Local/38008424017858@default-000010a6;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing [38008424017858@default:2] Set("Local/38008424017858@default-000010a6;2", "_Missing_CLID1="V9281605020000037354" <2249063400>") in new stack
    -- Executing [38008424017858@default:3] Dial("Local/38008424017858@default-000010a6;2", "dahdi/g0/8424017858,60,tTo") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called dahdi/g0/8424017858
    -- DAHDI/i1/8424017858-955 is proceeding passing it to Local/38008424017858@default-000010a6;2
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing [38008424017858@default:1] AGI("Local/38008424017858@default-000010a7;2", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=IVRBULK))
    -- <Local/38008424017858@default-000010a7;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing [38008424017858@default:2] Set("Local/38008424017858@default-000010a7;2", "_Missing_CLID1="V9281605020000037355" <2249063400>") in new stack
    -- Executing [38008424017858@default:3] Dial("Local/38008424017858@default-000010a7;2", "dahdi/g0/8424017858,60,tTo") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called dahdi/g0/8424017858
    -- DAHDI/i1/8424017858-956 is proceeding passing it to Local/38008424017858@default-000010a7;2
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing [38008424017858@default:1] AGI("Local/38008424017858@default-000010a8;2", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=IVRBULK))
    -- <Local/38008424017858@default-000010a8;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing [38008424017858@default:2] Set("Local/38008424017858@default-000010a8;2", "_Missing_CLID1="V9281605020000037356" <2249063400>") in new stack
    -- Executing [38008424017858@default:3] Dial("Local/38008424017858@default-000010a8;2", "dahdi/g0/8424017858,60,tTo") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called dahdi/g0/8424017858
    -- DAHDI/i1/8424017858-957 is proceeding passing it to Local/38008424017858@default-000010a8;2
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing [38008424017858@default:1] AGI("Local/38008424017858@default-000010a9;2", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=IVRBULK))
    -- <Local/38008424017858@default-000010a9;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing [38008424017858@default:2] Set("Local/38008424017858@default-000010a9;2", "_Missing_CLID1="V9281605020000037357" <2249063400>") in new stack
    -- Executing [38008424017858@default:3] Dial("Local/38008424017858@default-000010a9;2", "dahdi/g0/8424017858,60,tTo") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called dahdi/g0/8424017858
    -- DAHDI/i1/8424017858-958 is proceeding passing it to Local/38008424017858@default-000010a9;2
    -- DAHDI/i1/8424017858-957 is ringing
    -- DAHDI/i1/8424017858-957 is making progress passing it to Local/38008424017858@default-000010a8;2
    -- DAHDI/i1/8424017858-956 is ringing
    -- DAHDI/i1/8424017858-956 is making progress passing it to Local/38008424017858@default-000010a7;2
    -- DAHDI/i1/8424017858-955 is ringing
    -- DAHDI/i1/8424017858-955 is making progress passing it to Local/38008424017858@default-000010a6;2
    -- DAHDI/i1/8424017858-958 is ringing
    -- DAHDI/i1/8424017858-958 is making progress passing it to Local/38008424017858@default-000010a9;2
  == Manager 'sendcron' logged on from 127.0.0.1
  == Manager 'sendcron' logged off from 127.0.0.1
    -- DAHDI/i1/8424017858-955 answered Local/38008424017858@default-000010a6;2
    -- Executing [8366@default:1] Playback("Local/38008424017858@default-000010a6;1", "sip-silence") in new stack
    -- <Local/38008424017858@default-000010a6;1> Playing 'sip-silence.gsm' (language 'en')
    -- Executing [h@default:1] AGI("Local/38008424017858@default-000010a6;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----14-----0") in new stack
    -- Executing [8366@default:2] Set("DAHDI/i1/8424017858-955", "CALLERID(all)="V9281605020000037354" <2249063400>") in new stack
    -- Executing [8366@default:3] AGI("DAHDI/i1/8424017858-955", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=IVRBULK))
    -- <DAHDI/i1/8424017858-955>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing [8366@default:4] AGI("DAHDI/i1/8424017858-955", "agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
    -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
    -- <DAHDI/i1/8424017858-955>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 4
  == Spawn extension (default, 8366, 4) exited non-zero on 'DAHDI/i1/8424017858-955'
    -- Executing [h@default:1] AGI("DAHDI/i1/8424017858-955", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
    -- <DAHDI/i1/8424017858-955>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
    -- Hungup 'DAHDI/i1/8424017858-955'
  == Manager 'sendcron' logged off from 127.0.0.1
    -- <Local/38008424017858@default-000010a6;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----14-----0 completed, returning 0
  == Spawn extension (default, 38008424017858, 3) exited non-zero on 'Local/38008424017858@default-000010a6;2'
server config: i3,4gb, Centos 6.9 64bit | Version: 2.14b0.5 | Schema: 1528 | revision 2928| Asterisk 1.8.0 | E1-card
Thanks
Vijay Muddu
vijaymuddu
 
Posts: 106
Joined: Mon Jul 14, 2014 9:38 am
Location: India

Re: survey to call menu, calls hangup immedietly when answer

Postby williamconley » Fri Sep 28, 2018 8:33 am

1) You listed your version but did not include BUILD.

2) You listed your OS, but not your installation method. Please include either the full version of the installer or a link to the installation instruction set you used to build your server.

3) When you created this survey campaign, did you first test it "stock" (No changes)? If not, please create a fresh campaign with an unchanged survey and use it as it is. Verify it works properly before continuing. Change ONE thing at a time and test after each change. Exception: When you change the Survey Method to "CALLMENU", you must also specify the "Survey Call Menu" near the bottom or it will fail.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: survey to call menu, calls hangup immedietly when answer

Postby vijaymuddu » Sat Sep 29, 2018 5:00 am

Hi William

Below are the build and server details
i3,4gb, Centos 6.9 64bit | Version: 2.14b0.5 | Schema: 1528 | revision 2928| Asterisk 1.8.0 | E1-card
Installation method:
scratch install on centos 6.5

1. created a new campaign and used all default setting
2. changed routing extension set to 8366
3. set survey method to call menu
4. selected call menu in Survey call menu below

If i set Survey First Audio File in survey then that audio is played

calls are getting hangup directly after 1 sec, when set to call menu

Code: Select all
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing [38008424017858@default:1] AGI("Local/38008424017858@default-00001321;2", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=KEYPRESS))
    -- <Local/38008424017858@default-00001321;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing [38008424017858@default:2] Set("Local/38008424017858@default-00001321;2", "_Missing_CLID1="V9291523030000037641" <0000000000>") in new stack
    -- Executing [38008424017858@default:3] Dial("Local/38008424017858@default-00001321;2", "dahdi/g0/8424017858,60,tTo") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called dahdi/g0/8424017858
    -- DAHDI/i1/8424017858-ab2 is proceeding passing it to Local/38008424017858@default-00001321;2
    -- DAHDI/i1/8424017858-ab2 is ringing
    -- DAHDI/i1/8424017858-ab2 is making progress passing it to Local/38008424017858@default-00001321;2
  == Manager 'sendcron' logged on from 127.0.0.1
  == Manager 'sendcron' logged off from 127.0.0.1
    -- DAHDI/i1/8424017858-ab2 answered Local/38008424017858@default-00001321;2
    -- Executing [8366@default:1] Playback("Local/38008424017858@default-00001321;1", "sip-silence") in new stack
    -- <Local/38008424017858@default-00001321;1> Playing 'sip-silence.gsm' (language 'en')
    -- Executing [h@default:1] AGI("Local/38008424017858@default-00001321;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----9-----0") in new stack
    -- Executing [8366@default:2] Set("DAHDI/i1/8424017858-ab2", "CALLERID(all)="V9291523030000037641" <0000000000>") in new stack
    -- Executing [8366@default:3] AGI("DAHDI/i1/8424017858-ab2", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=KEYPRESS))
    -- <DAHDI/i1/8424017858-ab2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing [8366@default:4] AGI("DAHDI/i1/8424017858-ab2", "agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
    -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 29 15:23:12] WARNING[17160]: channel.c:3622 ast_waitfordigit_full: The FD we were waiting for has something waiting. Waitfordigit returning numeric 1
    -- <DAHDI/i1/8424017858-ab2>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 4
  == Spawn extension (default, 8366, 4) exited non-zero on 'DAHDI/i1/8424017858-ab2'
    -- Executing [h@default:1] AGI("DAHDI/i1/8424017858-ab2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
    -- <DAHDI/i1/8424017858-ab2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
    -- Hungup 'DAHDI/i1/8424017858-ab2'
  == Manager 'sendcron' logged off from 127.0.0.1
    -- <Local/38008424017858@default-00001321;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----9-----0 completed, returning 0
  == Spawn extension (default, 38008424017858, 3) exited non-zero on 'Local/38008424017858@default-00001321;2'
  == Manager 'sendcron' logged on from 127.0.0.1
  == Manager 'sendcron' logged off from 127.0.0.1
  == Manager 'sendcron' logged on from 127.0.0.1
server config: i3,4gb, Centos 6.9 64bit | Version: 2.14b0.5 | Schema: 1528 | revision 2928| Asterisk 1.8.0 | E1-card
Thanks
Vijay Muddu
vijaymuddu
 
Posts: 106
Joined: Mon Jul 14, 2014 9:38 am
Location: India

Re: survey to call menu, calls hangup immedietly when answer

Postby vijaymuddu » Mon Oct 01, 2018 1:20 am

Hi
Can anybody guess what can be the issue
server config: i3,4gb, Centos 6.9 64bit | Version: 2.14b0.5 | Schema: 1528 | revision 2928| Asterisk 1.8.0 | E1-card
Thanks
Vijay Muddu
vijaymuddu
 
Posts: 106
Joined: Mon Jul 14, 2014 9:38 am
Location: India

Re: survey to call menu, calls hangup immedietly when answer

Postby williamconley » Mon Oct 01, 2018 1:36 am

... an unchanged survey and use it as it is. Verify it works properly before continuing.


vijaymuddu wrote:2. changed routing extension set to 8366
3. set survey method to call menu


vijaymuddu wrote:Hi
Can anybody guess what can be the issue


There's a step missing between 2 and 3. You didn't test that the system works before making your first change.

I'm not prepared to assume your system works. I believe in testing to see that it works. Not deciding that it works, or assuming that it works because "well, he'd know if it didn't, right?" lol.

Installation method:
scratch install on centos 6.5



Please Post a link to the instructions you used to perform the install.

2) You listed your OS, but not your installation method. Please include either the full version of the installer or a link to the installation instruction set you used to build your server.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: survey to call menu, calls hangup immedietly when answer

Postby vijaymuddu » Mon Oct 01, 2018 5:29 am

Hi William,

Thanks for responding

My installation method is https://striker24x7.blogspot.com/2013/04/step-by-step-guide-to-install-vicidial.html

Also, i have tested below
1. created fresh campaign
2. tested with survey untouched changes, Survey First Audio File: works fine, audio is played when call is answered
3. remote agent active with proper campaign selected

but when Survey Method set to call menu and selected working in Survey Call Menu:, calls ring and disconnect in 1 sec after answering
calls are not transferred to call menu

I can also see some strange warning in cli "WARNING[17160]: channel.c:3622 ast_waitfordigit_full: The FD we were waiting for has something waiting. Waitfordigit returning numeric 1"

dialplan for 8366 is as below
exten => 8366,1,Playback(sip-silence)
exten => 8366,n,Set(CALLERID(all)=${Missing_CLID1})
exten => 8366,n,AGI(agi://127.0.0.1:4577/call_log)
exten => 8366,n,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8366,n,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8366,n,Hangup()

Any guess what i am missing or can it be a dial plan issue
server config: i3,4gb, Centos 6.9 64bit | Version: 2.14b0.5 | Schema: 1528 | revision 2928| Asterisk 1.8.0 | E1-card
Thanks
Vijay Muddu
vijaymuddu
 
Posts: 106
Joined: Mon Jul 14, 2014 9:38 am
Location: India

Re: survey to call menu, calls hangup immedietly when answer

Postby blackbird2306 » Mon Oct 01, 2018 7:13 am

There is a line in your dialplan, which I've never seen before:
exten => 8366,n,Set(CALLERID(all)=${Missing_CLID1})

Why did you change this? It's never a good idea to change callerid(name) (CALLERID(all)) in vicidial by your dialplan, because callerid(name) has it's system own purpose. Just comment it out and try it again. But don't forget to rebuild your conf file from server settings (Servers --> Rebuild conf files --> Y --> Submit / wait a couple of minutes).
exten => 8366,1,Playback(sip-silence)
;exten => 8366,n,Set(CALLERID(all)=${Missing_CLID1})
exten => 8366,n,AGI(agi://127.0.0.1:4577/call_log)
exten => 8366,n,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8366,n,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8366,n,Hangup()
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: survey to call menu, calls hangup immedietly when answer

Postby vijaymuddu » Fri Oct 12, 2018 1:09 am

Thanks, Blackbird for replying

currently, the system has some motherboard issue so can't test it
Will post once system is up and testing is done
server config: i3,4gb, Centos 6.9 64bit | Version: 2.14b0.5 | Schema: 1528 | revision 2928| Asterisk 1.8.0 | E1-card
Thanks
Vijay Muddu
vijaymuddu
 
Posts: 106
Joined: Mon Jul 14, 2014 9:38 am
Location: India

Re: survey to call menu, calls hangup immedietly when answer

Postby mubeen » Fri Oct 12, 2018 9:08 am

I'm having almost same issue, in my scenario when I check the report it says no avail agent. This only happens when I call a real number, call is successfully passes to agent when I dial VOIP number

The difference I saw was - AGI Script agi-VDAD_ALL_outbound.agi completed, returning 4 in case of Real number and AGI returning 0 in case of VOIP number


I'm using

Asterisk 11.25.3-vici built by abuild @ lamb21 on a x86_64
VERSION: 2.14-667a
BUILD: 180331-1715
ViciBox v.8.0.1
ViciBox v.8.0.1
VERSION: 2.14-667a
BUILD: 180331-1715
mubeen
 
Posts: 116
Joined: Mon Feb 19, 2018 1:49 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 56 guests