Extension not found in context - extensions.ael

I use ubuntu 24 and asterisk 18.

[Jul 28 10:37:53] NOTICE[1024]: res_pjsip_session.c:4041 new_invite: 9001: Call (UDP:172.30.1.70:58839) to extension ‘9000’ rejected because extension not found in context ‘ael-default’.
[Jul 28 10:38:33] NOTICE[1024]: res_pjsip_session.c:4041 new_invite: 9001: Call (UDP:172.30.1.70:58839) to extension ‘1000’ rejected because extension not found in context ‘ael-default’.

An error occurs as above.

The ael file is implemented as
context ael-default{
includes {
ivr-parkgolf;
};
1000 => {
goto ivr-parkgolf|1000|1;
};
9000 => {
Dial(PJSIP/9000);
};
9001 => {
Dial(PJSIP/9001);
};
};

I don’t know why it says that extension ‘9000’ and ‘1000’ are missing.

On Sunday 28 July 2024 at 07:24:46, yuyoungtaik via Asterisk Community wrote:

I use ubuntu 24 and asterisk 18.

context ael-default{
includes {
ivr-parkgolf;
};
1000 => {
goto ivr-parkgolf|1000|1;
};
9000 => {
Dial(PJSIP/9000);
};
9001 => {
Dial(PJSIP/9001);
};
};

I don’t know why it says that extension ‘9000’ and ‘1000’ are missing.

You can use “dialplan show ael-default” to find out what Asterisk thinks that
context contains.

This may give a clue to the error messages.

Antony.


“The tofu battle I saw last weekend was quite brutal.”

  • Marija Danute Brigita Kuncaitis

                                                Please reply to the list;
                                                      please *don't* CC me.
    

I don’t understand. What kind of baby are you talking about?

I don’t understand what you mean by “baby”, but AEL is compiled into normal dialplan, so, if you look at the internal copy of that dialplan, you can understand how the AEL compiler interpreted the .ael file.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.