Hi all,

I'm using SER 0.9.3 and trying to do LDAP query but I keep getting this message:

0(17313) INFO: dont_fork turned on, living on
0(17313) exec_str: rtrim
0(17313) ERROR: exec_str: cmd /etc/ser/sipldap failed. exit_status=-1, errno=10: No child processes

can someone explain to me why is that and how can I fix it?

when I'm doing lookup with:

(!lookup("location"))
        { if (!exec_dset("/etc/ser/sipldap")) {
               sl_send_reply("404", "Not Found");
               break;
        } else {
              log(1," sipldap call");
        };
};

I’m getting  "Not Found",

but when I'm doing (transferring to PSTN route without sl_send_reply)

(!lookup("location"))

        { if (!exec_dset("/etc/ser/sipldap")) {
               #sl_send_reply("404", "Not Found");
               route(5);
               break;
        } else {
               log(1," sipldap call");
        };

};

route[5] {
    rewritehostport(xxxxxxxxxxx);

I can extract LDAP telephone number and do get call transferred to PSTN GW but still getting "ERROR: exec_str:"


thanx

davor