[Solved] Create a new service code

(Othin) #1

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

(Paperakis) #2

try this

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

(David55) #3

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.

(Dave Burgess) #4

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

(Lorne Gaetz) #5

Misc Application to an Announcement. No custom dialplan necessary.

(Othin) #6

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

Misc application was what i’m searching

thank you much all

(system) closed #7

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