From: michael Date: Mon, 22 May 2006 12:27:16 +0000 (+0000) Subject: change identity works X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/snom-frontend/commitdiff_plain/c78daee5180666efc5a13f256b4f73c70f71dc48 change identity works --- diff --git a/snom.pl b/snom.pl index 8bf0869..da06ee5 100755 --- a/snom.pl +++ b/snom.pl @@ -1,7 +1,5 @@ #!/bin/sh -#$Id: snom.pl,v 1.38 2006-05-22 12:22:53 michael Exp $ - -# http://developer.gnome.org/doc/API/2.2/gtk/gtk-migrating-GtkComboBox.html +#$Id: snom.pl,v 1.39 2006-05-22 12:27:16 michael Exp $ PATH=/opt/csw/bin:/opt/local/bin:/usr/bin:/bin exec perl -w -x "$0" "$@" @@ -375,7 +373,8 @@ sub UpdatePhoneInfo sub SwitchIdentity { - print "TODO: Switch Identity on <".${$Config{$sections[$g_host->get_active]}}{host}."> to ".$g_identity->get_active."!\n"; + my $req = HTTP::Request->new(GET => "http://".${$Config{$sections[$g_host->get_active]}}{host}."/dummy.htm?SETTINGS=Set&active_line=".($g_identity->get_active+1)); + $ua->request($req); } sub CloseAppWindow