Regarding this:
it is not possible to give you the whole telnel log because terminal cuts the starting lines when they are a lot!
you said that you are starting Yate like this:
yate -Df -vvvvv -l /var/log/yate.log. So you have logging to file activated to file yate.log in /var/log. You could have attached that (or the part of if that corresponds with the call). It's not needed anymore, but for future reference.
You said that you had configured in javascript.conf ;
[general]
routing=welcome.js
but looking at your attached javascript.conf, i see:
[general]
; General settings for the Javascript module
; scripts_dir: string: The absolute or relative path used by default to load
; scripts if no full path is specified
;scripts_dir=${sharedpath}/scripts
; include_dir: string: The absolute or relative path used when including other
; files via #include or #require if no full path is specified
; If the file is not found in include_dir it will be searched in scripts_dir
;include_dir=${configpath}
; routing: string: Name of the file holding the routing instructions
; Example: routing=route.js
;routing=
So you've either not attached the correct javascript.conf or the one where you've told me you made the configuration is not in the configuration path of yate.
So I will repeat this again: check that in the javascript.conf located in the configuration path of yate (path reported by yate in configpath when you give the command
status engine in telnet. The last status engine you posted said that the path is configpath=/usr/local/etc/yate, but check again) you have configured
routing=welcome.js
If after that, it still doesn't work, paste again: yate log with sniffer enabled, output of status engine, and ybts.conf and javascript.conf from the configuration path reported by yate.