[Users] Openser 1.1 and forward()
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Jun 6 16:29:36 CEST 2006
Hi Douglas,
the prototype of the forward function was changes to align it with the
TM functions.
Shortly, use forward() to do fwd based on RURI or
forward("[proto:]host[:port]"). See the wikipage also.
regard,
bogdan
Douglas Garstang wrote:
>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.
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
More information about the Users
mailing list