[Serusers] ERROR: exec_str:

davor jovanovic davor.jovanovic at srce.hr
Wed Nov 16 15:18:13 CET 2005


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051116/e32f86e1/attachment.htm>


More information about the sr-users mailing list