[Users] Openser 1.1 and forward()

Douglas Garstang dgarstang at oneeighty.com
Mon Jun 5 20:04:29 CEST 2006


I just upgraded from 1.0.1 to the current cvs version.

Ran openser and got this:

Jun  5 11:54:47 apollo openser: parse error (156,21-24): syntax error 
Jun  5 11:54:47 apollo openser: parse error (156,39-40): bad forwardargument

Here's the relevant section of openser.cfg. Line 156 is the 
line with: forward(uri:host, uri:port);

        #
        # Outgoing PSTN Calls - Dispatch to Audiocodes
        #
        if (    src_ip == xxx.187.142.203 || 
                src_ip == xxx.187.142.204 ||
                src_ip == xxx.187.142.232 ||
                src_ip == xxx.187.142.201 ||
                src_ip == xxx.187.142.231 ) {
            sl_send_reply("100","Trying");
            xlog ("L_INFO","Outbound PSTN call. Dispatching to Audiocodes");
            ds_select_dst("2","0");
            forward(uri:host, uri:port);
            return;
        }

What's wrong with this? The example in the 1.1 documentation 
has the same use of the forward() command!

Douglas.




More information about the Users mailing list