How to set the welcome message in asterisk

Hi,

I have one pstn line with linksys spa3102 viop gateway with router with asterisk server , i use the pstn line for incoming and for making outgoing i use asterisk pbx. Issue is that i have to put welcome message for the company.

Please let me know how to put with above setup.

Thanks,
chnsam

you want to add welcome massage on incoming call

Using the Playback application. The details depend on the dialplan you are using, so you should ask the person, or organisation, that wrote it. In particular, if you are using a GUI front end, this is not the right place to ask.

Just need to add the welcome message and not using any GUI as front end

Add a call of Playback at the appropriate point. The details depend on the existing dial plan. Unless you provide a copy, we cannot guess what that is.

[welcome-message]
exten=>s,1,Answer()
same=>n,Playback(silence/1)
same=>n,Playback(/var/lib/asterisk/sounds/custom/welcome)
same=>n,Dial(SIP/100,25)
same=>n,Hangup()