Hi,
when starting openserctl i get this message:
root@sip:~ # /usr/local/sbin/openserctl /usr/local/sbin/openserctl: syntax error at line 1024: `GW_IP=$' unexpected
OS is Solaris
OpenSER Version: 1.0.0 CVS
Bye
Hi Martin,
what shell are you using?
the line with problem is: GW_IP=$(($1+$2*256+$3*65536+$4*16777216)) maybe your shell is not able to interpret it. On bash and sh works.
regards, bogdan
martin@campus-merseburg.de wrote:
Hi,
when starting openserctl i get this message:
root@sip:~ # /usr/local/sbin/openserctl /usr/local/sbin/openserctl: syntax error at line 1024: `GW_IP=$' unexpected
OS is Solaris
OpenSER Version: 1.0.0 CVS
Bye
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Am 23.1.2006 schrieb "Bogdan-Andrei Iancu" bogdan@voice-system.ro:
Hi Martin,
what shell are you using?
the line with problem is: GW_IP=$(($1+$2*256+$3*65536+$4*16777216)) maybe your shell is not able to interpret it. On bash and sh works.
i'd already thought this too. but it's bash.
btw: thanks for fixing the solaris bug some weeks ago, it works fine now.