Hello,

could be sh (shell) constrain issue. Can you execute the script with bash?

Cheers,
Daniel

On 3/12/13 7:53 AM, Amr Elsharqawi wrote:
Hello Kamailio Community!!

I am newbie to Kamailio & SIP. And I am interested in Kamailio. I've used asterisk for some time then I heard about FreeSWITCH unfortunately FreeSWITCH was not good enough for me like Asterisk. I've found NAT problem with Asterisk Finally I've decided to work with Kamailio as SIP server & Asterisk as PBX. to be fair I need to learn more about FreeSWICH to test it well.

 My Question is about Kamailio installation; I am using FreeBSD 9 attached my uname -a

FreeBSD PBX.XXXXX 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

I've used gmake for building, compiling and installation. Everything goes smooth EXCEPT mysql db installation when I use sh /usr/local/sbin/kamdbctl create

I am getting the following error:

/usr/local/lib/kamailio//kamctl/kamdbctl.base: 36: Syntax error: Missing '}'

Thanks a lot for your valuable time and that amazing project (Kamailio).

Amr


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
 - http://conference.kamailio.com -