Include => Parkedcalls But Nonexistent Context ‘parkedcalls’

Home » Asterisk Users » Include => Parkedcalls But Nonexistent Context ‘parkedcalls’
Asterisk Users 8 Comments

Hi!

I tried to use Parking Calls

I use Asterisk 13, but I can’t park any calls and it returns me

[Feb 3 16:56:11] WARNING[1693]: pbx.c:12543
ast_context_verify_includes: Context ‘ramais’ tries to include nonexistent context ‘parkedcalls’

What is the correct code for put in extensions.conf?

Can be this example below?

[parkedcalls]
exten => 700,1,ParkedCall(701)
exten => 702,1,ParkedCall(702)
exten => 703,1,ParkedCall(703)
exten => 704,1,ParkedCall(704)

If not, somebody knows that?

Thanks

8 thoughts on - Include => Parkedcalls But Nonexistent Context ‘parkedcalls’

  • Are you loading res_parking.so?

    Does your res_parking.conf define a parkext and specify the context?
    Documented in configs/samples/res_parking.conf.sample:
    parkext => 700 ; What extension to dial to park.
    (optional; if
    ; specified, extensions will be created for parkext and
    ; the whole range of parkpos)
    context => parkedcalls ; Which context parked calls and the default park

    Once that is configured you can include the parkedcalls context into your ramais context.

    Richard

  • Humm, thanks for your reply

    But whats is the code in parkedcalls context.

    Please, can you give an example?

    Thanks very much.

    2016-02-03 17:15 GMT-02:00, Richard Mudgett :

  • Ah no, I’m asking what code I put inside of parkedcalls?

    This example works?

    [ramais]

    include => parkedcalls

    [parkedcalls]
    exten => 700,1,ParkedCall(701)
    exten => 702,1,ParkedCall(702)
    exten => 703,1,ParkedCall(703)
    exten => 704,1,ParkedCall(704)

    This exten works?

    2016-02-03 17:27 GMT-02:00, Doug Lytle :

  • Nothing,

    The context parkedcalls is generated by features.conf, you just need to include it in your dialplan

    CLI> dialplan show parkedcalls

    [ Context ‘parkedcalls’ created by ‘features’ ]
    ‘700’ => 1. Park() [features]

    Doug

  • Humm, so this context parkedcalls is inside on features.conf?

    2016-02-03 17:42 GMT-02:00, Doug Lytle :