[OpenSIPS-Users] call_control module problem

Konstantin coxx at imarto.net
Fri Jun 19 03:30:14 CEST 2009


Hi there!

I have this piece in the config script:

...
call_control();
xlog("=== call_control: $$retcode = $retcode\n");
switch ($retcode) {
    case 2:
        xdbg("=== call_control: Call with no limit\n");
        break;
    case 1:
        xdbg("=== call_control: Call has limit and is under callcontrol management\n");
        break;
...


And something like this I have in the debug output:

Jun 19 01:03:21 [2058] ERROR:call_control:send_command: did timeout waiting for an answer
=== call_control: $retcode = 4294967291
=== call_control: Call has limit and is under callcontrol management


So why 4294967291 works like "case 1" ("under callcontrol management")  in case of timeout on
external application?

I would like to have "Internal server error" in case of timeout.







-- 
 Konstantin




More information about the Users mailing list