Needing to replace an older 2 line phone (RCA TC25250RE1-A) due to age and damage caused by liquid exposure, I decided to go for a small VoIP system. Having deployed a Yeastar MyPBX for a recent customer I decided to go for Yeastar’s new S20.
The Yeastar S20 comes with no modules installed so I added an O2 module to support two FXO ports (two analogue phone lines). This leaves me with one module port still available. As the S20 comes preset with a static IP address rather than DHCP I had to tweak my systems to get the initial setup completed. There have been two firmware upgrades since I put the unit in place.
Having gained access via SSH I have managed to get some information. However, with the S series, Yeastar decided to limit the command line access and changed the “root” access. All SSH access is done via the “support” user which is severely restricted. Root has been renamed to “ls@yf” and I have yet to find the password. The support user does not appear to belong to any groups.
The S20 is running Asterisk 13.7.0.
The S series uses an Application Plugin style. This means that all of the applications are stored under /ysdisk/ysapps/. You can add applications as needed from Yeastar’s list of available applications. The system does require the PBX Center app to be installed as this is where asterisk is loaded from.
The S20 appears to have a single flash disk that has three partitions. The third partition is mounted to /ysdisk. In my case the disk is identified as/dev/disk/by-id/mmc-004GE0_0xe20bc97c.
rootfs on / type rootfs (rw) /dev/root on / type ext4 (ro,relatime,data=ordered) devtmpfs on /dev type devtmpfs (rw,relatime,size=91884k,nr_inodes=22971,mode=755) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) none on /dev type tmpfs (rw,relatime,size=1024k,nr_inodes=8192,mode=755) tmpfs on /tmp type tmpfs (rw,relatime) tmpfs on /dev/yssystem type tmpfs (rw,relatime) /dev/mmcblk1p3 on /ysdisk type ext4 (rw,relatime,data=ordered) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620) tmpfs on /ysdisk/var/volatile type tmpfs (rw,relatime,size=16384k) tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
Custom configuration files are found in /ysdisk/support/customcfg/.
Sound files are found in /ysdisk/ysapps/pbxcenter/var/lib/asterisk/sounds/. Music on hold is in the moh/ subfolder.
The currently active asterisk configuration files are found in “/etc /asterisk/” . This is a read only directory.
Music on Hold
The S20 appears to limit the music on hold to a play list. Each play list has a limit of 8 files. There does not appear to be any support for files other than WAV. There does not appear to be any support for streaming audio nor is there any input jacks.
|drwxr-xr-x||2||7168||Nov 4 14:08||bin|
|drwxr-x—||3||1024||Nov 4 14:08||boot|
|-rwxr-x—||1||986909||Nov 1 02:51||defaults.tgz|
|drwxr-xr-x||12||2860||Nov 7 10:32||dev|
|drwxr-x–x||14||3072||Nov 4 14:08||etc|
|drwxr-xr-x||2||1024||Nov 1 02:51||home|
|lrwxrwxrwx||1||11||Nov 4 14:08||init -> bin/busybox|
|drwxr-x–x||3||8192||Nov 4 14:08||lib|
|drwxr-x–x||3||1024||Nov 4 14:08||libexec|
|lrwxrwxrwx||1||11||Nov 4 14:08||linuxrc -> bin/busybox|
|drwx——||2||12288||Nov 4 14:08||lost+found|
|drwxr-x—||2||1024||Nov 1 02:51||mnt|
|drwxr-x—||2||1024||Nov 1 02:51||opt|
|dr-xr-xr-x||81||0||Dec 31 1969||proc|
|drwxr-xr-x||3||1024||Nov 4 14:08||root|
|drwxr-xr-x||2||4096||Nov 4 14:08||sbin|
|dr-xr-xr-x||12||0||Nov 7 10:32||sys|
|drwxrwxrwx||2||520||Nov 10 10:33||tmp|
|drwxr-xr-x||8||1024||Nov 4 14:08||usr|
|lrwxrwxrwx||1||11||Nov 4 14:08||var -> /ysdisk/var|
|-rwxr-x—||1||4078026||Nov 1 02:51||www.tgz|
|drwxr-x—||2||3072||Nov 4 14:08||ysbin|
|drwxr-xr-x||18||4096||Nov 2 12:35||ysdisk|
|drwxr-xr-x||4||1024||Nov 4 14:08||yspreinstall|