Custom dialplan

Hello,
Today i’m trying to insert some custom dialplan with “*_custom.conf” files.

Do i forget something??

Any advices will help !

Thanks by advance.
Regards,
NCNN.

Don’t use the macro-dialout-trunk-custom context for your custom dial plan, but use macro-dialout-trunk-predial-hook in extensions_custom.conf.

[macro-dialout-trunk-predial-hook]
exten => s,1,Yourdialplan
 same => n,MacroExit()
4 Likes

do a macro like
[dialout-trunk-POSTcall-hook] exist?

I want to do custom dialplan when a call end

Post call survey sounds like a good start.

1 Like

This is, but i’m using freePBX .conf files, so i need to use a macro.

I guess there is one for post-call context

Use the hangup handler

1 Like

Hello,

I just want to know : why do we have access to [macro-dialout-trunk-custom] or [crm-hangup-custom] if we can’t use them?

I want my modifications to be clear, and if i want to use thoses [*-custom], how can i do it ?

If this isn’t the good way :

what should i change to use “[macro-dialout-trunk-custom] or [crm-hangup-custom]” ??

Thanks by advance.
Regards,
NCNN.

He already told you, use [macro-dialout-trunk-predial-hook]

References:

1 Like

Most of those custom includes are unusable.
They are left over legacy configurations.

1 Like

Ok thanks i got it.

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