| 7880 | | for $interno ( keys %estadoboton ) { |
|---|
| 7881 | | |
|---|
| 7882 | | if ( $estadoboton{$interno} =~ /^busy/ ) { |
|---|
| 7883 | | send_status_to_flash( $socket, "$interno|state|busy", 0 ); |
|---|
| 7884 | | if ( defined( $botonlabel{$interno} ) ) { |
|---|
| 7885 | | send_status_to_flash( $socket, "$interno|changelabel0|$botonlabel{$interno}", 0 ); |
|---|
| 7886 | | } |
|---|
| 7887 | | } |
|---|
| 7888 | | elsif ( $estadoboton{$interno} =~ /ringi/ ) { |
|---|
| 7889 | | send_status_to_flash( $socket, "$interno|state|ringing", 0 ); |
|---|
| 7890 | | } |
|---|
| 7891 | | if ( defined( $botonclid{$interno} ) ) { |
|---|
| 7892 | | my $texti = ""; |
|---|
| 7893 | | if ( $botonclid{$interno} ne "" ) { |
|---|
| 7894 | | send_status_to_flash( $socket, "$interno|settext|$botonclid{$interno}", 0 ); |
|---|
| 7895 | | } |
|---|
| 7896 | | } |
|---|
| 7897 | | |
|---|
| 7898 | | } |
|---|
| 7907 | | |
|---|
| | 7888 | for $interno ( keys %estadoboton ) { |
|---|
| | 7889 | |
|---|
| | 7890 | if ( $estadoboton{$interno} =~ /^busy/ ) { |
|---|
| | 7891 | send_status_to_flash( $socket, "$interno|state|busy", 0 ); |
|---|
| | 7892 | if ( defined( $botonlabel{$interno} ) ) { |
|---|
| | 7893 | send_status_to_flash( $socket, "$interno|changelabel0|$botonlabel{$interno}", 0 ); |
|---|
| | 7894 | } |
|---|
| | 7895 | } |
|---|
| | 7896 | elsif ( $estadoboton{$interno} =~ /ringi/ ) { |
|---|
| | 7897 | send_status_to_flash( $socket, "$interno|state|ringing", 0 ); |
|---|
| | 7898 | } |
|---|
| | 7899 | if ( defined( $botonclid{$interno} ) ) { |
|---|
| | 7900 | my $texti = ""; |
|---|
| | 7901 | if ( $botonclid{$interno} ne "" ) { |
|---|
| | 7902 | send_status_to_flash( $socket, "$interno|settext|$botonclid{$interno}", 0 ); |
|---|
| | 7903 | } |
|---|
| | 7904 | } |
|---|
| | 7905 | |
|---|
| | 7906 | } |
|---|