Call menu time check recording not playing

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Call menu time check recording not playing

Postby Trying » Sun Jan 30, 2011 12:08 pm

Within the Call Menu I set time check to active and selected a recording to play. However, when phoning in after hours the recording is not playing or is not audible.

[Jan 30 19:01:21] -- Accepting call from '+27823449100' to '0120017000' on c hannel 0/28, span 1
[Jan 30 19:01:21] -- Executing [0120017000@trunkinbound:1] AGI("DAHDI/28-1", "agi-DID_route.agi") in new stack
[Jan 30 19:01:21] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_r oute.agi
[Jan 30 19:01:21] -- AGI Script Executing Application: (Monitor) Options: (w av|/var/spool/asterisk/monitor/MIX/20110130190121_0120017000_27823449100)
[Jan 30 19:01:21] ERROR[10029]: utils.c:967 ast_carefulwrite: write() returned e rror: Broken pipe
[Jan 30 19:01:21] -- AGI Script agi-DID_route.agi completed, returning 0
[Jan 30 19:01:21] -- Executing [s@AOCMAINIVR:1] AGI("DAHDI/28-1", "agi-VDAD_ inbound_calltime_check.agi|CALLMENU-----YES-----AOCMAINIVR-----12pm-5pm-----HANG UP-----demo-abouttotry-----") in new stack
[Jan 30 19:01:21] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ inbound_calltime_check.agi
[Jan 30 19:01:21] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0 )
[Jan 30 19:01:21] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0 )
[Jan 30 19:01:22] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0 )
[Jan 30 19:01:22] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0 )
[Jan 30 19:01:22] -- Playing 'demo-abouttotry' (escape_digits=) (sample_offs et 0)
[Jan 30 19:01:33] -- Channel 0/28, span 1 got hangup request, cause 16
[Jan 30 19:01:33] -- Executing [h@AOCMAINIVR:1] DeadAGI("DAHDI/28-1", "agi:/ /127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in n ew stack
[Jan 30 19:01:33] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI -----NODEBUG-----16--------------- completed, returning 0
[Jan 30 19:01:33] -- Hungup 'DAHDI/28-1'
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby williamconley » Sun Jan 30, 2011 7:25 pm

try another file that's already in the asterisk sounds folder. if format of the file is your problem, the new file will work. then you can fix your format.
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby Trying » Sun Jan 30, 2011 11:33 pm

Hi William

I have tried some of the included sound files as well. They all play fine if I use them anywhere else but not for time check. For example if I activate the same file as an "invalid prompt" it works fine but not when it is selected for "time check".
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby Trying » Mon Jan 31, 2011 3:13 pm

I have done some more tests. When I select the recordings in the after hours action of an in-group it plays just fine. Just not in the call menu.
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby Trying » Wed Feb 02, 2011 2:27 pm

Any ideas guys? I am really stuck with this.
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby Trying » Sat Feb 05, 2011 7:33 am

Let me try another angle. Is there actually somebody using it in 3.1.6 and it is working?
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby Trying » Thu Feb 10, 2011 6:19 am

Still stuck. I have measured the time of the silence until the system hangs up the call. The file is definitely playing because the time of the silence matches the time that the file will normally play - if you understand what I am talking about.

No matter what file I am choosing to play there is just no sound. So this is definitely not an issue with the playing of the file but with the files in that specific time check menu not being audible. Also, if I choose hangup with an audio file for any other option than time check, the file is audible.
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby williamconley » Thu Feb 10, 2011 11:16 am

investigate the dialplan and agi logs difference(s) between an audible success and a silent failure. something is obviously different. see if you can identify the flaw.
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

similar problem

Postby striker » Sat Feb 12, 2011 1:13 pm

hi mee too suffered the same problem

see this post http://www.vicidial.org/VICIDIALforum/v ... highlight=

and finally i write a dialplan for the timecheck and get it done
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: Call menu time check recording not playing

Postby sqlerror » Sat Aug 11, 2012 5:19 pm

We encounterd the same issue.
The answer is actually in the comments of the agi-VDAD_inbound_calltime_check.agi:

Code: Select all
# ;inbound calls check calltime:
#exten => 1234,1,Answer                  ; Answer the line
#exten => 1234,2,AGI(agi-VDAD_inbound_calltime_check.agi,INBOUND-----YES-----START-----24hours-----EXTENSION-----101-----default
 


Generated dialplan does not comply with that, the Answer command is missing: resulting in call accepted but unanswered

Code: Select all
[MyIVR]
exten => s,1,AGI(agi-VDAD_inbound_calltime_check.agi,CALLMENU-----YES-----MyIVR-----830-1700-----HANGUP-----MyIVR_afterhours_announce-----)
exten => s,n,Set(INVCOUNT=0)
...


According to the instructions, it should be:

Code: Select all
[MyIVR]
exten => s,1,Answer
exten => s,n,AGI(agi-VDAD_inbound_calltime_check.agi,CALLMENU-----YES-----MyIVR-----830-1700-----HANGUP-----MyIVR_afterhours_announce-----)
exten => s,n,Set(INVCOUNT=0)
...

As a workaround we now answer incoming calls explicitly by modifying the trunkinbound dialplan entry in /etc/asterisk/exentsions.conf by inserting an amswer command before calling the ag-DID_route extension gets called:
Code: Select all
[trunkinbound]
exten => _X.,1,Answer
exten => _X.,2,AGI(agi-DID_route.agi)


So the only answer to this problem is to Answer the line and get that into the dialplan.
Of course the solution is to update the script that generates the dialplan entries in such a way that it adds the Answer exten to the genreated ViCiDial call menu fragments.

Have a happy inbound,

Geert
Vicibox 8.1.2
Version: 2.14b0.5
SVN Version: 3058
DB Schema Version: 1561
sqlerror
 
Posts: 12
Joined: Sun Mar 04, 2012 4:29 am
Location: Netherlands


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 71 guests

cron