LP#1457111 eg-pbx-allocator uses modern rpc api name
authorBill Erickson <berickxx@gmail.com>
Wed, 20 May 2015 16:24:13 +0000 (12:24 -0400)
committerBen Shum <bshum@biblio.org>
Wed, 19 Aug 2015 19:12:24 +0000 (15:12 -0400)
Replace "-" with "__" in XML-RPC method name for compatibility with
modern Perl XML-RPC libraries.

See also https://bugs.launchpad.net/bugs/1050596

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/asterisk/pbx-daemon/eg-pbx-allocator.pl

index 00f995a..2db674f 100755 (executable)
@@ -136,7 +136,7 @@ sub still_valid {
     print STDERR (Dumper($event_ids), "\n") if $self->{config}->{t};
 
     my $valid_list = $self->{client}->simple_request(
-        "open-ils.justintime.events.revalidate", $event_ids
+        "open__ils.justintime.events.revalidate", $event_ids
     );
 
     # NOTE: we require all events to be valid