Help with dialplan and parkcall error

Hi,

I am fairly new to Asterisk. We have a test system that we upgraded from Asterisk 11.4 to 14.4.0. So this was a major release upgrade. When I go to load our dialplan I get the following error:

WARNING[2569]: pbx.c:8653 ast_context_verify_includes: Context ‘default’ tries to include nonexistent context ‘parkedcalls’

Now when I make a call to the system I hit the IVR that we have setup as a call center running OrderlyStats 14.3c. When I do an agent pickup and answer the call, it immediately hangs up. I get the following error from the console using the asterisk -rvvvvv command. (Again I don’t know which switches I need to run for debug on the console)

[May 4 15:18:43] ERROR[1888][C-00000010]: bridge_basic.c:383 builtin_features_helper: Channel Local/2007@ACD-00000008;1: Requested DTMF feature parkcall not available.

From reading through the forums, it looks like I need to load some modules and create new config files to get this dialplan working again. I can provide all of my configs from the server if need be.

Thanks,

Did you look at the UPGRADE-11.txt, UPGRADE-12.txt and UPGRADE-13.txt files and make the changes needed?

I did. This is all Greek to me…Let’s put my level of knowledge of Asterisk at a 5 from a scale from 1-100. Just some quick background. The engineer who built the system left and he didn’t document any of the setups. This is a test instance…so I am not averse to reverting the VM snapshot back to its original state. That being said, from what I gather I need to work on the Call Parking piece. Where can I locate the application documents for specific details? It looks like the res_parking.so module is present in the /usr/lib/asterisk/modules folder. I also created a res_parking.conf file in /etc/asterisk

[general]

[default]
parkext => 700

parkpos => 701-720

context => parkedcalls

parkingtime => 600

findslot => next

findslot => next

My Spider sense tells me I need to send you our extensions.conf to see what is causing all the breaks…but please advise.

Thanks!

There’s a blog post[1] which may help, it gives a few different examples. The actual configuration documentation for parking is on the wiki[2] but does not include examples.

[1] http://blogs.asterisk.org/2016/03/30/setup-call-parking/
[2] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Configuration_res_parking

1 Like

I am adding some config lines…not sure they will help

[default]
include => parkedcalls

Should this be even in the extensions.conf file? As a global context?

This is the macro that is used to dial out to our Call Manager via the SIP trunk.

[macro-dialout-callmanager]
exten => s,1,ChanIsAvail(SIP/CCMTrunk2&SIP/CCMTrunk3)
exten => s,2,Dial(${CUT(AVAILCHAN,1)}/${ARG1})
exten => s,3,Hangup
exten => s,102,Congestion

It then goes to a queue, in this case our one of our queues here are the events when it dials my phone…

– Executing [s@macro-dialout-callmanager:2] Dial(“Local/2007@ACD-0000000e;2”, “SIP/CCMTrunk2/2007”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/CCMTrunk2/2007
– SIP/CCMTrunk2-00000031 is ringing
– Local/2007@ACD-0000000e;1 is ringing
– SIP/CCMTrunk2-00000031 answered Local/2007@ACD-0000000e;2
– Local/2007@ACD-0000000e;1 answered SIP/CCMTrunk2-0000002f
– Stopped music on hold on SIP/CCMTrunk2-0000002f
– Channel SIP/CCMTrunk2-00000031 joined ‘simple_bridge’ basic-bridge <2823d6b5-47e2-40d6-9c54-0583e91e6b85>
– Channel Local/2007@ACD-0000000e;2 joined ‘simple_bridge’ basic-bridge <2823d6b5-47e2-40d6-9c54-0583e91e6b85>
[May 8 11:04:35] ERROR[14491][C-00000019]: bridge_basic.c:383 builtin_features_helper: Channel Local/2007@ACD-0000000e;1: Requested DTMF feature parkcall not available.
– Channel Local/2007@ACD-0000000e;2 left ‘simple_bridge’ basic-bridge <2823d6b5-47e2-40d6-9c54-0583e91e6b85>
== Spawn extension (UnionMenu, s, 3) exited non-zero on ‘SIP/CCMTrunk2-0000002f’
– Executing [h@UnionMenu:1] Hangup(“SIP/CCMTrunk2-0000002f”, “”) in new stack
== Spawn extension (macro-dialout-callmanager, s, 2) exited non-zero on ‘Local/2007@ACD-0000000e;2’ in macro ‘dialout-callmanager’
== Spawn extension (UnionMenu, h, 1) exited non-zero on ‘SIP/CCMTrunk2-0000002f’
== Spawn extension (ACD, 2007, 2) exited non-zero on ‘Local/2007@ACD-0000000e;2’
– Channel SIP/CCMTrunk2-00000031 left ‘simple_bridge’ basic-bridge <2823d6b5-47e2-40d6-9c54-0583e91e6b85>

Is the cause of the hangup due to the parked calls not working? or is it from something else?