i was trying to set a callback function after following your instructions on a pdf i found, it works, but after every reboot thinks stop working. i tried to fix it by adding the custom dialplan in the custom.sh, but after many trial and error, custom.sh seems not to be loading on startup.
before rebooting, my custom.sh on /etc/asterisk/gw/ looks like this:
but nothing is happening. then i manually restarted the system, with:
root@Openvox-Wireless-Gateway:/etc# /etc/start
and i get this error when it comes to custom.sh
root@Openvox-Wireless-Gateway:/etc# /etc/start
.........................................
.........Wireless Gateway Start..........
.........................................
Version: 2.3.2
mount: mounting /dev/mtdblock8 on /data failed
/etc
cfg version support
insmod: cannot insert '/lib/modules/2.6.33.5/led_key.ko': File exists (-1): F exists
Starting csmencaps
insmod: cannot insert '/lib/modules/2.6.33.5/csmencaps.ko': File exists (-1):le exists
LAN:10.55.3.2
ifconfig: SIOCSIFFLAGS: Cannot assign requested address
mknod: /dev/led_key: File exists
NTPSVR is ,pool.ntp.org,64.236.96.53,time.nist.gov
sync ntp time sucess
Sun Jun 18 21:39:55 2017
return flag :0
manager.conf is OK
insmod: cannot insert '/lib/modules/2.6.33.5/dahdi.ko': File exists (-1): Filxists
Start get module type...
open file fail: /dev/dahdi/1, Device or resource busy
insert module type to redis......
module type is m35
[info]Connect to 127.0.0.1:6379 success.
Asterisk already running on /var/run/asterisk.ctl. Use 'asterisk -r' to connect.
get redis client ok
admin:Openvox-Wireless-Gateway:dbd6bc1505166e4c3ee67285af6cf8bb
Syntax OK
2017-06-18 21:40:12: (network.c.379) can't bind to port: 80 Address already in use /etc/start: /etc/start: 344: /etc/asterisk/gw/custom.sh: not found
vm.oom_kill_allocating_task = 1
vm.oom_dump_tasks = 1
Could you give me remote access for a check?I will help you to find the problem.
You can add me as your skype friend for a convenient contact.My skype: This email address is being protected from spambots. You need JavaScript enabled to view it.