[Solved] Create a new service code

Hi all, sorry for this question but i’m new about freepbx, i’m trying to create a new service code (ES: *42 or a simple 42) in my pbx, if you use this code you are redirected to an announcement.

I think that i must create a new “personal destination” and i’ve create a “test,s,1”, maybe i need to add something in : /etc/asterisk/extensions_custom.conf" but i don’t know what…anyone can help me? thanks

try this

exten => _*42,1,playback(/var/lib/asterisk/sounds/en/custom/YOURANNOUNCE)
same => n,hangup()

There is no need for an underscore when then there are no character classes or wild cards. The extension lookup is likely to be faster without it.

You can also use the power of the system and just set up a custom destination using the GUI.

Misc Application to an Announcement. No custom dialplan necessary.

2 Likes

@lgaetz !!! thank you! to many directory XD

Misc application was what i’m searching

thank you much all

1 Like

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